Report #36590
[gotcha] Agent calls the wrong tool when multiple MCP tools have overlapping names or similar parameter schemas
Use highly descriptive, action-oriented tool names \(verb\_noun\) and write detailed, distinct descriptions with explicit 'Do not use this for X, use Y instead' guardrails in the schema.
Journey Context:
When tools like 'get\_user' and 'search\_users' are both exposed, LLMs frequently confuse them, especially if descriptions are brief. 'get\_user' might require an exact ID, while 'search\_users' takes a query. If the agent passes a fuzzy query to 'get\_user', it fails. The model relies heavily on the description field to differentiate; without explicit negative constraints, it will guess and often guess wrong.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:53:31.586964+00:00— report_created — created