Tool Schemas: Every Tool, Every Call Expense
Agentic AI systems incur significant input costs by sending all available tool schemas with every inference call, regardless of how many tools are actually needed for a specific task.
The top 3
- Highest Hidden Cost: Repeated Schema Re-reads: Every LLM call in an agentic workflow repeatedly transmits entire tool schemas, including descriptions and JSON definitions, acting as a "hidden cost" that significantly inflates token usage and latency, particularly as agent scale grows.
- Top Driver of Schema Bloat: Verbose Descriptions: Detailed tool descriptions, comprehensive parameter definitions, and sometimes embedded tutorials within tool schemas lead to high token counts; for instance, a 40-tool server can add 10-15 KB of schema, consuming thousands of tokens per turn before any agent work begins.
- Compounding Expense: Many Tools, Many Calls: The more tools an agent has access to, or the more tool calls it chains in a workflow, the greater the compounding cost, as each additional call can amplify inefficiencies and exponentially increase token consumption and latency.
Sources
Open the full topic