date_tz_ambiguity
Does this LOCAL wall clock exist — and how many times? Give a zone and a wall clock (no offset; the offset is what is ambiguous) and get the named verdict: single (one UTC instant), fold (the wall clock happens TWICE — both instants with offset and abbreviation, PEP 495 fold rule stated), or gap (it NEVER happens — last valid and first valid wall clocks named). Transition minute, affected window and direction computed live from the installed IANA tzdata via zoneinfo — no embedded table, no fetch. Built for cron/scheduler questions the Nov 2026 incidents made concrete: K8s CronJob double-ran '30 1 * * *', cron 4.4.0 re-fired the hour AFTER the repeat, wildcard entries fire once per wall pass. Free.
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": "date_tz_ambiguity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | IANA zone, e.g. America/New_York (never guessed) | |
| local | No | wall clock with no offset: '2026-11-01 01:30' or ISO with T |