range_query
Run a PromQL range query over a time window and get evidence-based reliability checks. If sample coverage is low, the response flags trends as unreliable, so you can trust or question the results.
Instructions
Run a PromQL range query over a time window. The response includes an evidence block with sample coverage; if samples per series are low the evidence will say trends are unreliable, and that warning must be surfaced to the user.
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": {
"promql": "<promql>",
"start": "<start>",
"end": "<end>"
},
"name": "range_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Window end, RFC3339 or unix timestamp | |
| step | No | Resolution step, e.g. 30s, 5m | 60s |
| start | Yes | Window start, RFC3339 or unix timestamp | |
| promql | Yes | The PromQL expression to evaluate |