Tool usage and response-size accounting
statsIdentify which MCP tool consumes context by tracking per-tool call counts and response sizes. Checkpoints let you isolate a single task's usage.
Instructions
Per-tool call counts and response sizes recorded to /.slimdex/stats.json. Reported in characters, not tokens — char/4 estimates are unreliable across tokenizers, so this measures what it can measure honestly. Use it to see which tool is actually producing your context, and to tune limits. Counters are CUMULATIVE across every session on this repo until reset. To measure ONE task: call checkpoint:true when you start, then session:true when you finish — the server is long-lived, so session:true alone means 'since the server booted', which can span several chats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | Clear ALL counters, including the repo's all-time history. | |
| session | No | Report what this process recorded since it started, or since the last checkpoint. | |
| checkpoint | No | Zero the session tally only (all-time history untouched). Call at the start of a task. |