Check Data Freshness
get_data_freshnessCheck how fresh the data is for each of the 10 sources.
Returns sources with latest_observation timestamp, age_seconds, and a
status classification: "fresh" (<1h), "stale" (<24h), "offline" (>24h),
or "unreachable" (query failed for that source).
Use this to verify data availability before querying readings, or to
monitor source health. Individual source failures are reported per-source
(status: "unreachable") rather than failing the entire call.
This is also the server's health check — if this tool works, the server
is operational.
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_data_freshness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes |