server_stats
Get usage metrics for this server session: calls, latency, errors, payload size.
Per tool: call count, p50/p95/max latency, average and peak response size,
and how many responses exceeded the payload budget. Plus cache hit rate and
a breakdown of errors by type.
Counters are per-process and reset when the client restarts the server.
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": "server_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||