MCP tool descriptions should say when to use the tool
Short descriptions with no when-to-use sentence leave the model guessing between tools. Add a trigger line. Info-level, warn status.
Add a short trigger sentence such as "Use this when the user asks for ..." to short tool descriptions. The rule desc.no-when-to-use is an info-level, warn-status finding for Claude and ChatGPT.
What you see
- A scan reports
desc.no-when-to-use: "Short description with no when-to-use guidance". - It only fires on servers with two or more tools, and only for descriptions between 15 and 99 characters that contain none of the trigger phrases the rule looks for (for example "use this", "when the user", "after", "before", "start here", "ideal for"). A description of 100 characters or more is assumed to state its purpose.
Why it happens
Descriptions say what the tool is but not when it applies. With several similar tools, the model has to infer the order and the trigger. The rule's fix text says OpenAI's tool-descriptor guidance and Claude policy 2.A both ask for when-to-invoke guidance.
Check it yourself
curl -s -X POST https://mcp.acme.example/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H "Authorization: Bearer $TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
| jq -r '.result.tools[] | select((.description // "" | length) >= 15 and (.description | length) < 100) | "\(.name): \(.description)"'
Fix
- Before:
Get one order by id. - After:
Get one order by id. Use after list_orders returns an id, or when the user gives an order number.
For chained tools, say what to call first.
Verify
Re-run the command and confirm each short description has a trigger, then re-scan.
Which clients care
Claude and ChatGPT, per the rule.
Source
OpenAI MCP server guidance: https://developers.openai.com/plugins/build/mcp-server
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check every rule at once
A free scan runs this check and the other 152 against your live URL.