read_stat
Retrieve a single metric's latest value, time series, and summary stats (count, min, max, avg, sum) for a specified time range and rollup resolution.
Instructions
Read a single stat: latest value, recent series, and basic summary (count/min/max/avg/sum). Use this for a structured read of one metric — prefer ask_ezstat for free-form questions over many stats.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "read_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Unix-seconds upper bound (inclusive). Omit for "now". | |
| from | No | Unix-seconds lower bound (inclusive). Omit for "last 24 hours". | |
| name | Yes | Exact stat name to read. | |
| resolution | No | Optional rollup resolution. Omit for raw points. |