get_token_stats
Display estimated MCP token usage with per-tool counts, session totals, and top large calls. Switch to detail mode for hot queries, content-hash duplicates, chunking adoption, and cache-bypass rate.
Instructions
Show estimated MCP token usage. Default mode: "summary" returns per-tool counts, session totals, and top-5 historical large calls (~250-400 tok). mode: "detail" adds hot queries, content-hash dupes, chunking adoption, and cache-bypass rate (~1-1.5K tok). Itself cache-exempt and not token-logged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_token_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | summary (default) or detail |