Past ~40 tools, AI coding agents start picking the wrong one silently

sandeepK1125 · reddit · 2026-11-20

After stacking tools and MCP servers onto a coding agent, the author hit an unexpected failure mode: not context limits, but tool selection. Problems appeared around 40-50 tools, long before the context window filled — the agent would call a similar tool, get a plausible answer, and move on with no error, making it easy to miss.

Practices that work, gathered from Cursor, Claude Code, Codex and custom-agent users:

Open questions: merge similar tools into one with a parameter (does the confusion just move into arguments?), and does anyone run 100+ tools without issues?

Original post →

More from coding & agent

coding & agent channel →