New Analysis on MCP Tool Selection Bottlenecks
Inevitable_Fee1895 · reddit · 2026-07-13
This discussion focuses on why MCP tool selection degrades as the number of tools increases. The core conclusion is that retrieval-based pre-filtering only fixes part of the problem; the real bottleneck likely lies in the model's readout phase.
Key Points:
- Industry experience shows agent tool selection accuracy drops significantly when the tool count exceeds 20.
- A common fix uses RAG to retrieve a tool catalog shortlist for the model, which papers confirm significantly boosts accuracy and cuts prompt tokens.
- However, new research indicates that input-side fixes hit an early ceiling:
- In real BFCL failure cases, models mostly focus on the correct tool anyway.
- Input-side interventions like reordering or repeating tools fix only about 23% of failures.
- Readout-side interventions like attention bias or residual steering fix 59%–91% of failures.
- The author also introduces a label-free, gold tool-free selector using segmented attention as a confidence gate, improving function name accuracy on both BFCL and Seal-Tools.
The original post concludes that retrieval remains worthwhile for reducing costs and latency, but relying solely on retrieval and prompt optimization likely caps out here. The next step is exploring the readout layer, logit processors, constrained decoding, or external rescoring.
More from coding & agent
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22
- oMLX 0.5.2 adds Mac menu-bar stats, low-bit decode kernels, and faster downloads — awnihannun · 2026-07-22
- GitHub review bot hits its PR limit and forces a 39-minute cooldown — DanielLockyer · 2026-07-22
- Max reasoning effort appears to be mobile-only in Codex Remote, not desktop — GabGarrett · 2026-07-22
- A Reddit demo argues online stores should expose carts and pricing through MCP — gelembjuk · 2026-07-22
- Open-source AI SDK provider routes Vercel apps through a local Codex subscription — lgrammel · 2026-07-22