Get Usage Stats
get_usage_statsRetrieves local tool-call counters—calls, errors, time per tool/client, daily calls, and longest call bursts—over a chosen lookback period to help diagnose lost assistants and usage patterns.
Instructions
Local tool-call counters (on by default; set_usage_stats turns them off): calls, errors and time per tool and client, calls per day, and the longest bursts of calls (dozens in a row means a lost assistant).
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_usage_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look back this many days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||