source_status
Check reachability and latency of upstream data sources to distinguish between 'no data' and 'source down', ensuring reliable queries.
Instructions
Report reachability and latency of both upstream sources.
Health check before a batch of queries, or to distinguish 'no data' from 'source down' — always returns an evaluable status.
Always returns an evaluable status rather than an empty result set, so that "no data" can be distinguished from "source down".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Human-readable caveat, set when provenance is 'degraded'. | |
| source | Yes | Attribution string of the upstream source. | |
| sources | Yes | ||
| provenance | Yes | live_api = freshly fetched, cached = in-memory cache, degraded = upstream unreachable, stale or empty payload. | |
| all_healthy | Yes | ||
| retrieved_at | Yes | ISO-8601 UTC timestamp of the underlying fetch. | |
| mcp_protocol_version | Yes | MCP wire protocol version this server is built and tested against. |