Check how current the data is
get_data_statusCheck if your local data is current and complete before analyzing it. Reports latest date, gaps, and status like CURRENT or STALE.
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.
Use this tool when:
the user asks how up to date their data is, or whether an import is needed.
you are about to interpret recent data and want to know whether it is fresh enough to trust.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale_after_days | No | How many days the latest data may trail today before the status becomes STALE. Defaults to 2. |
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 | ||
| days_with_data | Yes | ||
| stale_after_days | Yes | ||
| last_successful_import | No |