get_recent_results
Returns recent publishable results as a time series for one or more (index, time range) queries, served from an in-memory cache rather than Trino. Covers roughly the last year for daily RR indices and the last hour for RTI indices; prefer this tool over get_historical_results for any range it covers, to keep load off Trino, and fall back to get_historical_results only for older history or exact-point lookups outside this window. Maximum 4 queries per call — make multiple calls for larger batches. All datetimes must be in UTC (ISO 8601, e.g. 2025-09-01T00:00:00Z). Returned timestamps are also UTC.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
queries | array<object> | Yes | One entry per index/time-range to fetch. Maximum 4 entries per call. Maximum 4 items. |
queries[] item
| Field | Type | Required | Description |
|---|---|---|---|
indexId | string | Yes | e.g. BRTI, BRR, BRRNY |
from | string | Yes | Start of range (inclusive), ISO 8601 UTC, e.g. 2025-09-01T00:00:00Z |
to | string | Yes | End of range (inclusive), ISO 8601 UTC, e.g. 2025-09-02T00:00:00Z |
Example request
{
"method": "tools/call",
"params": {
"name": "get_recent_results",
"arguments": {
"queries": [
{
"indexId": "<indexId>",
"from": "<from>",
"to": "<to>"
}
]
}
}
}