AI Agents Pick Tools Blind
Dev.to AI
•
Generative AI
I connected my AI agent to 3 MCP servers. It picked one at random. It timed out. Then retried a different one. Then finally hit one that worked. $ node without-xaip.js → Trying: unknown-server. ✗ error - package not found (8.2s) → Trying: sequential-thinking. ✓ connected - but wrong tool for docs task → Trying: context7. ✓ success (3.1s) Total: 11.3 seconds, 2 wasted calls There are over 1,000 MCP servers now. Your agent has no way to tell which ones are reliable, which ones are broken, and which ones are the right fit. So I built a fix: one API call that picks the right server first.