What happened
Apideck introduced a Command Line Interface (CLI) as an agent interface, addressing Model Context Protocol (MCP) tool definition token consumption. MCP servers can consume 55,000 tokens for 40 tools, with individual tools costing 550–1,400 tokens, burning up to 72% of a 200,000-token window. A Scalekit benchmark showed MCP costing 4 to 32 times more tokens than CLI for identical operations, such as 44,026 tokens versus 1,365 tokens for checking a repository's language. The Apideck CLI agent prompt uses approximately 80 tokens, progressively disclosing capabilities at 50–200 tokens per step.
Why it matters
Reducing token consumption directly lowers operational costs and expands agent utility. Platform engineers and architects gain substantial context window space for complex reasoning, longer conversation histories, and richer document retrieval in agentic workflows. This mechanism shifts token expenditure from upfront tool definition loading to on-demand discovery, drastically cutting the metric of tokens per operation. Procurement teams should evaluate CLI-based agent interfaces to manage LLM operational costs and overcome context window constraints.
Subscribe for Weekly Updates
Stay ahead with our weekly AI and tech briefings, delivered every Tuesday.




