Report #86509
[synthesis] Agent ignores optimal tools in the middle of large tool lists
Dynamically filter the tool list provided to the agent at each step based on the current sub-goal, keeping the active tool count under 10, or use a two-stage retrieval-then-action architecture.
Journey Context:
The lost in the middle phenomenon applies to tool definitions just as it does to retrieved documents. Providing a massive tool list seems efficient but degrades the LLMs attention mechanism. The tradeoff is the latency of a tool retrieval step vs. the accuracy of tool selection. Dynamic filtering is strictly better because an agent cannot use a tool it cannot attend to.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:47:35.596029+00:00— report_created — created