Report #85990
[gotcha] Agent consistently picks the wrong MCP tool or ignores the correct one when many tools are available
Limit simultaneously exposed tools to 15–20. Implement two-stage tool routing: a lightweight planning step selects the relevant tool subset, then only those tools are presented for the execution step. Use semantic clustering to group tools by domain and activate groups on demand. When tools overlap in purpose, merge them into a single tool with a discriminating parameter rather than keeping separate tools.
Journey Context:
Adding more tools feels like increasing agent capability, but LLM tool selection follows an inverse-U curve. Beyond roughly 20 simultaneously available tools, selection accuracy drops noticeably. The model must parse all definitions to pick one, and semantically similar tools create interference—the model conflates tools with overlapping descriptions, defaults to recently-used tools regardless of fit, or hallucinates parameters belonging to the wrong tool. This is the tool-use equivalent of the paradox of choice. The fix is not removing tools but progressively disclosing them: load only the tools relevant to the current task phase. Merging overlapping tools into a single tool with a mode or action parameter is strictly better than keeping N similar tools because it eliminates selection interference while preserving functionality.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:55:12.840843+00:00— report_created — created