Skip to main content
Glama

Timezone at a point

timezone_at
Read-onlyIdempotent

IANA timezone and current local time at a point, fully offline.

Instructions

IANA timezone and current local time at a point, fully offline.

Looks up the tzdb zone containing (lat, lon) from timezone-boundary-
builder polygons (via tzfpy, bundled — no network, no third-party
timezone API) and derives the rest from stdlib zoneinfo against the
current instant.

Returns {"tzid": "America/Los_Angeles", "utc_offset": "-07:00",
"dst_active": true, "local_time": "2026-08-30T14:05:00-07:00",
"abbreviation": "PDT"}. Open ocean generally still resolves — to a
fixed-offset, no-DST "Etc/GMT±N" nautical zone rather than a named
tzdb zone — but a point with no resolvable zone at all is a real,
non-error answer: {"tzid": null, "note": "..."}. Returns a structured
{"error": ...} for an out-of-range coordinate.

Attribution: IANA tzdb via tzfpy / timezone-boundary-builder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYes
lonYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

Score is being calculated.