Report #52627
[gotcha] Agent selects wrong MCP tool when tools have similar names or vague descriptions
Make tool names uniquely identifiable with domain prefixes \(e.g., github\_issue\_create not create\); write descriptions that include when NOT to use the tool alongside when to use it; add disambiguation examples in descriptions; keep descriptions under 200 tokens but highly specific.
Journey Context:
LLMs select tools primarily based on name and description matching. When two tools have overlapping descriptions \(e.g., 'search files' vs 'find documents'\), the model picks semi-randomly. Adding negative examples \('Use this for code search, NOT for document retrieval'\) dramatically improves selection accuracy. The MCP spec allows arbitrary description length, but shorter precise descriptions outperform long ones because the model attends to them more consistently. Many MCP server authors write descriptions for humans, not for LLM selection—this is the wrong audience.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:49:41.193859+00:00— report_created — created