Report #90142
[synthesis] High tool count causes models to ignore available tools or hallucinate their parameters
Dynamically filter the tool list passed to the model to only those relevant to the current step, using a retrieval step. For Claude, ensure the most critical tools are at the top or bottom of the list.
Journey Context:
Passing all available tools to a model seems efficient, but lost in the middle affects tool selection. Claude 3.5 Sonnet will simply fail to see tools buried in a long JSON schema, acting as if they don't exist. GPT-4o will find the tool but might invent parameters because it lost the specific schema details in the long context. RAG over tool definitions is necessary for both, but for Claude, positional bias must also be actively managed by the agent framework.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:53:50.905423+00:00— report_created — created