Check which review dates are overdue
check_freshnessClassifies review dates as fresh, aging, or stale against a required as-of date and day thresholds, so you can identify time-sensitive records and the worst freshness level in a dataset.
Instructions
Classifies each supplied review date as fresh, aging or stale at the caller's required as-of date. The whole-day age must exceed a threshold to reach the next level. The dataset level is the worst record's level. This measures time since the supplied dates. It cannot tell whether a review happened or whether the data is accurate. As of 2026-08-02T12:00:00Z with thresholds of 14 and 45 days, a 2026-07-20 review is fresh at 13 days and a 2026-06-01 review is stale at 62 days.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"records": "<records>",
"config": "<config>",
"now": "<now>"
},
"name": "check_freshness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | Yes | Required as-of date (YYYY-MM-DD at UTC midnight) or zoned ISO timestamp with seconds. | |
| config | Yes | ||
| records | Yes | Records with review dates. An empty array has no dates to check. |