Report #67526
[gotcha] Tool selection failure and hallucinated parameters when presenting 50\+ similarly named MCP tools
Group tools by domain and only expose the relevant subset to the LLM per turn, or use a two-step retrieval: an LLM call to select the tool, followed by the actual execution call with the full schema.
Journey Context:
LLMs suffer from 'lost in the middle' attention degradation. When 50\+ tools are in the prompt, the model struggles to differentiate between similar tools \(e.g., db\_query\_user vs db\_query\_admin\). It will often default to the tools at the beginning/end of the list or hallucinate parameters that bridge two similar schemas. Progressive disclosure fixes this by shrinking the decision space to only relevant tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T19:49:20.077291+00:00— report_created — created