TLDR Tech / Data
Stop Calling Tools, Start Writing Code (Mode)
The code mode pattern improves MCP tool usage by enabling the LLM to write and execute a script that composes multiple tools within a sandbox, instead of calling them sequentially. This approach reduces context window bloat and round-trip overhead, making large tool catalogs more scalable and efficient for LLMs.
Read the full story