Two MCP tools with identical descriptions: how to tell them apart
Tools that share the same description text give the model no way to choose between them. Write a distinct description for each. Minor, warn-level.
Give every tool its own description that says how it differs from its siblings. The rule desc.duplicate is a minor, warn-level finding for Claude and ChatGPT.
What you see
- A scan reports
desc.duplicate:Same description on: get_order, get_shipment. - The check compares descriptions longer than 10 characters, case-insensitively, and groups tools with the same text.
Why it happens
Tools generated from a template or copied from one another keep the original text. The rule's fix text says identical text makes models choose at random, and cites Claude policy 2.C.
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[] | {name, d: (.description // "" | ascii_downcase)}] | group_by(.d) | .[] | select(length > 1 and (.[0].d | length) > 10) | map(.name) | join(", ")'
Fix
- Before: both tools say
Get details. - After:
Get one order by id with line items and totals.andGet one shipment by id with carrier, tracking number and delivery estimate.
If two tools do the same thing, merge them. See desc.title-only for descriptions that only restate the name.
Verify
The jq command prints nothing, then re-scan.
Which clients care
Claude and ChatGPT, per the rule.
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.