Platform Health
get_backup_statusVerify whether DC Hub's database is backed up and its data feeds are current by returning backup, restore-test, and feed-health details.
Instructions
Use this when the user asks whether DC Hub's database is backed up or its data feeds are current. It returns what /api/health/data-freshness serves, in two parts. First, backup: the latest database backup, a pg_dump stored in Cloudflare R2 (last_backup_at, age_hours, size_mb, health, object_key, storage), and restore_test, the latest restore test (at = when it ran, object_key = which dump it restored, result = passed or failed). Second, one row per feed (deals, facilities, news, substations, fiber_routes, transactions, construction_permits, pipeline, markets) carrying health (healthy/stale/error/unknown), record_count, refresh_interval and scheduler, plus a summary rollup {healthy, stale, error, unknown, total_feeds, overall_health}. Read the health of each row before trusting a figure drawn from it — a feed reporting "unknown" has NOT been measured, which is not the same as healthy. Answers "is DC Hub's data backed up" and "are any of your sources stale right now". Try: get_backup_status. Do NOT use for the freshness of one dataset (use get_changes); this is backup and ingest health, not content. For multi-step data center or energy questions, start with execute_plan.
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_backup_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||