Report #73826
[synthesis] Agent ignores the correct tool for the job because it is defined in the middle of a long tools list
Dynamically filter and reorder the tools list provided to the agent based on the current sub-goal. Only expose the top 3-5 most relevant tools for the current step, moving the correct tool to the top or bottom of the dynamically generated list.
Journey Context:
Research shows LLMs suffer from 'lost in the middle' attention bias. If an agent has 20 tools, it will disproportionately select tools defined at the beginning or end of the schema list, even if a middle tool is the exact right fit. This leads to suboptimal tool chaining and eventual failure when the wrong tool's output doesn't match expectations. Static tool definitions fail in large environments; dynamic tool curation is required to guide the attention mechanism.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:30:46.260532+00:00— report_created — created