A fat agent sends every tool name, description, and schema with each request. Shaikh says this can confuse the model and increase latency as the catalog grows: in their examples, accuracy falls from about 78% with 10 tools to 40% with nearly 100 and 13.6% with 741.
The 100-Tool Agent Is a Trap
Speakers
Sohail Shaikh, data scientist, and Ankush Rastogi, senior data solutions engineer, at Prosodica explain how semantic routing can help AI agents handle large tool catalogs at AI Engineer.
Shaikh describes indexing tool descriptions in a vector database, then embedding each user query and retrieving the three to five closest tools. Only those schemas are sent to the model. Rastogi says catalogs under 20 tools may not need routing, while routing becomes more compelling beyond 50 in production.
Rastogi says they compared fat-agent and routed setups using the same model, queries, answer key, and catalog, varying tool counts and retrieval K values. They measured tool-selection accuracy, time to first token, input tokens, and estimated cost per thousand calls. In their reported results, routing stayed above 83% accuracy, while fat-agent accuracy reached about 13% at 1,041 tools.
The implementation has an offline step to catalog and embed tool descriptions, followed by runtime query embedding, vector search, and schema injection for the top K tools. The speakers recommend logging selections, calls, failures, and fallbacks, and testing K values such as 3, 5, and 10. They flag retrieval misses, weak descriptions, and rare tools as issues to monitor.
Rastogi advises keeping static loading for small systems and using routing when prompt size, latency, or tool confusion becomes a production problem. He suggests starting with K of 5, evaluating against a real test set, and improving descriptions when the router misses tools.
Takeaways
- Send the model only the tool schemas relevant to the current request as catalogs grow.
- Benchmark routing and static loading on the same queries, model, and answer key.
- Treat tool descriptions as retrieval data: write them in users’ language and include intent, action, and key entities.
- Log router selections, final calls, failures, and fallback use to find misses.
- Start with K = 5, then test smaller values that still meet your accuracy target.
Mentioned in this talk
Search inside this talk
What was claimed 8
- works atAnkush Rastogi works at
ProsodicaSenior Data Solutions Engineer“I work as a senior data solutions engineer at Prosodica.”
YouTube Verified2 sources· Talk, Web· archived
- role atSohail Shaikh is data scientist at
Prosodica“I'm currently working as a data scientist with Prosodica.”
YouTube Unverified1 source· Talk
- metricFat agent: Accuracy fell from around 78% at 10 tools to around 13.6% at 741 tools
“At almost 100 tools, accuracy drops to around 40%... at 741 tools, accuracy is a mere 13.6%.”
YouTube Unverified1 source· Talk
- metricSemantic routing: Accuracy stayed above 83% across the tested catalog sizes
“It stays above 83% across the same catalog sizes.”
YouTube Unverified1 source· Talk
- metricSemantic routing: Tool context reduced by roughly 99%, from up to 127,000 tokens to about 1,000 tokens
“With just-in-time routing, the prompt may include only three to five relevant schemas, closer to about 1,000 tokens. That is roughly a 99% reduction.”
YouTube Unverified1 source· Talk
- featureSemantic routing: Retrieves the top K relevant tools and injects only their schemas into the model call
“only those selected schemas get injected into the model call.”
YouTube Unverified1 source· Talk
- metric
Anthropic: Reported token usage reduction from 150,000 to 2,000 tokens (98.7%) for on-demand tool loading
“token usage went from 150,000 tokens down to 2,000, a 98.7% reduction.”
YouTube Unverified1 source· Talk
- metricSemantic routing: K = 5 is presented as a strong default starting point
“In practice, K = 5 is a strong default starting point.”
YouTube Unverified1 source· Talk










