Dynamic tool discovery vs loading every MCP schema upfront for agents

Pakiya09 · reddit · 2026-11-16

A developer highlights how agents waste context: hooking up 4-5 MCP servers dumps thousands of tokens of tool descriptions and JSON schemas into every turn, mostly for tools never used — hurting small-context models and long multi-step runs.

His fix: runtime tool discovery, where the agent searches a catalog and only pulls the full schema when it's about to call that tool. The monid project's CLI and MCP integration is built this way.

He asks the community whether on-demand schema loading actually saves enough tokens and improves tool selection, or whether the extra search step adds annoying latency.

Original post →

More from coding & agent

coding & agent channel →