MCP tool description too long: trim it under about 2,000 characters
Tool descriptions over 2,000 characters warn. Every definition loads into context each turn, so move reference text to docs or server instructions.
Trim any tool description over about 2,000 characters to the essentials and move long reference material to your docs or the server instructions. The rule desc.too-long is a minor, warn-level finding for Claude and general clients. No directory states a character limit; the 2,000 figure is the rule's own threshold.
What you see
- A scan reports
desc.too-longper tool with the raw length, for example2431 characters. - It never fails. The status is always a warning.
Why it happens
Descriptions grow by accretion: parameter notes, pricing tables, changelogs and examples pasted in over time. The rule's fix text points to Claude policy 5.B, which asks for token use proportionate to the task. Every tool definition is sent to the model on each turn, so a long description costs context for every conversation, not just the ones that use the tool. For the combined size of all tools see count.definition-tokens.
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) > 2000) | "\(.name)\t\(.description | length)"'
Fix
Keep what the model needs to choose and call the tool: what it returns, when to use it, limits. Move the rest.
- Before: a 2,400 character description for
get_orderthat includes every status code, a changelog and a pricing note. - After:
Get one order by id with line items and shipping status. Use after list_orders returns an id. Statuses and error codes are listed in the server instructions.
Put per-field detail in the parameter descriptions (schema.param-undescribed covers missing ones) and long guidance in server instructions, which have their own size rule (server.instructions-long).
Verify
The jq command prints nothing, then re-scan.
Which clients care
Claude and general, per the rule's platform tags.
Source
Anthropic Software Directory Policy: https://support.claude.com/en/articles/13145358-anthropic-software-directory-policy
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.