Featured image of post Progressive Tool Loading: Alleviating Token Pressure and Accuracy Drop in Large Model Tool Invocation

Progressive Tool Loading: Alleviating Token Pressure and Accuracy Drop in Large Model Tool Invocation

Anthropic and OpenAI now support progressive tool loading to reduce token consumption and mis-selection in multi-tool scenarios.

Core Development

Large model platforms are adopting progressive tool loading to alleviate token consumption and accuracy degradation in multi-tool scenarios. Anthropic and OpenAI now offer native support for this capability, making it the preferred solution;与此同时, Agent frameworks like Qwen Code and WorkBuddy have also implemented custom variants. This is not tied to a specific release date or version—developers can adopt it immediately in new projects.

  • Technical Trigger: Tool descriptions and schemas consume significant tokens when many tools are available, compressing context space
  • Primary Use Case: MCP integration, complex Agents, multi-domain tool combinations
  • Platform Support: Anthropic and OpenAI provide built-in support
  • Framework Implementations: Qwen Code uses dynamic tool injection; WorkBuddy uses a unified deferred execution interface

Implementation Patterns

Progressive tool loading reduces initial token usage by loading only immediate tools plus a lightweight tool_search at startup. New tools are discovered dynamically and injected into context only when needed.

Two primary implementation patterns exist:

  1. Dynamic Tool Injection (Qwen Code): Discovered tools enter the tools list in subsequent calls. This offers higher precision, suitable for domain-specific MCP switching, but increases state machine complexity.
  2. Unified Deferred Execution (WorkBuddy): tool_search returns tool name and schema; all tools execute via DeferExecuteTool(toolname, params). This avoids changing the initial tools list, simplifying implementation but introducing extra schema wrapping and error risk.

A key counterintuitive data point: initial tools’ descriptions and schemas can occupy 30%-50% of total tokens when >50 tools exist, while progressive loading reduces initial token usage to below 10%. This aligns with industry observations—Tool schemas typically consume more token budget than execution logic.

Trade-off Considerations

Choice depends on scenario-specific priorities:

DimensionDynamic Injection (Qwen Code)Unified Deferred Execution (WorkBuddy)
Implementation ComplexityHigh (state management)Low (fixed interface)
Tool PrecisionHigh (native integration)Medium (wrapper overhead)
Bloat RiskHigh (unrelated tools accumulate)Low (controlleable boundary)
Suitable Schema ComplexityComplex schemasSimple schemas

When tool schemas are relatively simple, unified deferred execution is less error-prone. For domain-specific MCP calls, dynamic injection is advantageous. Both approaches achieve comparable token savings—the difference lies in engineering complexity and fault tolerance.

Implementation Recommendations

  • Adopt now if: Designing multi-tool Agents; integrating multiple MCP services; token cost is a priority
  • Wait if: Tool set is fixed and small (<20); team lacks capacity for complex state management

Final Thoughts

Progressive tool loading marks the shift from “monolithic tool invocation” to “dynamic tool orchestration” in LLM applications. This reflects not just technical optimization, but the necessity of layering Agent architectures—decoupling tool discovery from execution to enable more sophisticated coordination mechanisms in the future.