Check how current the data is
get_data_statusCheck database freshness and completeness before analysis: see latest data date, coverage gaps, last import, and overall status (CURRENT, STALE, INCOMPLETE, NO_DATA, IMPORT_FAILED).
Instructions
Report how current and complete the database is: latest data date, coverage window, gaps, last successful import, and an overall status of CURRENT, STALE, INCOMPLETE, NO_DATA or IMPORT_FAILED. Check this before drawing conclusions from any analysis, and say so when the status is anything other than CURRENT. The status and latest_data describe the database as a whole, so one metric still arriving keeps them current while another has stopped: read "stale_metrics" too (each metric's own latest day vs. its threshold, most behind first; it's when the data is for, not when imported) before presenting a listed metric as current.
Privacy note: this server and its SQLite file are entirely local, but the data returned by this tool becomes part of the conversation sent to whatever model the calling client is configured with. If that model runs in the cloud rather than on your machine, treat this the same as pasting the data into a chat with that provider.
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale_after_days | No | How many days the latest data may trail today before the status becomes STALE (30 days for weight and workouts). Defaults to 2. Metrics in HEALTH_PRIVATE_FIELDS are ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | Yes | ||
| as_of | Yes | ||
| action | No | ||
| reason | No | ||
| source | No | ||
| status | Yes | ||
| coverage | Yes | ||
| gap_count | Yes | ||
| days_behind | No | ||
| latest_data | No | ||
| missing_days | Yes | ||
| latest_import | No | ||
| stale_metrics | No | ||
| days_with_data | Yes | ||
| stale_after_days | Yes | ||
| last_successful_import | No |