Health Snapshot
opendata_health_snapshotRetrieve current health scores for open-data providers to display live reliability badges. Scores reflect recent failures and recover automatically.
Instructions
Snapshot the in-memory provider health registry. Returns a score in [0.0, 1.0] for each requested provider (or every registered provider when called without arguments). Health degrades on recent 5xx / 429 / network failures and decays back toward 1.0 over ~5 minutes; 401/403 are excluded as caller misconfig. The discovery app uses this to paint live health badges next to each search result.
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": "opendata_health_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider_ids | No | Optional list of provider ids to query. When omitted, returns snapshots for every provider in the static + dynamic registry. Providers with no recorded failures default to a fully-healthy baseline (score 1.0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | No | ||
| generated_at | No |