Skip to content

Feature: show token overhead from unused MCP tool definitions #2

@TorukMakto1406

Description

@TorukMakto1406

MCP tool definitions load into the system prompt on every turn, even for tools that barely get called.

Example: 12 MCP invocations across 14,000+ turns, but the tool defs are in the system prompt the entire time. That's a lot of input tokens for tools that almost never fire.

Would be useful to show:

  • which MCP tools are installed vs actually invoked
  • estimated token cost of carrying unused tool definitions per session

The JSONL files only give total input/output per turn, not per-tool system prompt breakdown. Might need to estimate based on tool definition size.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions