How do agents choose from hundreds of tools? Tool catalogs, skills and plugins explained
Giving an agent five tools is easy. Giving it five hundred creates real problems: the definitions eat up context, and the model gets worse at picking the right one when many look similar.
Approaches teams use
- Tool search / lazy loading. The agent starts with a small "find a tool" capability and loads full definitions only when needed.
- Skills or playbooks. Bundles of instructions plus related tools for a domain (say, "spreadsheet work"), loaded when the task matches.
- Routing. A cheap first step classifies the request and hands it to a specialized agent with a narrow toolset.
- Namespacing. Prefixes like
calendar_orgithub_make it clearer which family a tool belongs to.
What makes tools easier to pick
- Descriptions that say when to use the tool, not only what it does.
- Few overlapping tools. Two tools that both "search documents" will confuse the model.
- Small, consistent argument schemas.
- Error messages that point to the right alternative.
The trade-off
Lazy loading saves context but adds a step, and the agent can fail to search for a tool it doesn't know exists. Always-loaded tools are more reliable but cost tokens on every call.
Where's your threshold for switching from "load everything" to some kind of tool discovery? Have you seen accuracy drop as tool counts grew?
Comments · 3
Is a catalog like a table of contents the agent reads first, and then it loads the full tool details only when needed?
It's a product problem too. Customers want hundreds of integrations, but each one added makes the agent a little less reliable unless discovery is designed well.
How do you test that a catalog actually helps? Do you measure the correct-tool-pick rate before and after?