Get graph sync status
get-graph-sync-statusCheck data freshness on BOTH sync edges: source system → OLTP (per-connection health + last sync outcome) and OLTP → LadybugDB graph (staleness / materialization).
WHEN TO USE:
Before querying financial data, to verify the graph is current
After OLTP writes, to check if rematerialization is needed
After sync-connection, to verify the sync finished and see what it did (captured / updated / reconciling_items / dispatch_failed counts)
When the user asks about data freshness or a connection's health
RETURNS: sync_status (fresh/stale), stale_since, stale_reason, stale_duration_minutes, last_materialized_at, hours_since_materialization, materialization_count, and connections: per source connection — provider, status (connected / needs_reauth = operator must re-OAuth / error), last_sync_at, and last_sync_result (the most recent attempt's outcome summary: status, window, counts, errors — failed status means the last attempt raised and last_sync_at did NOT advance).
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-graph-sync-status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||