Skip to main content
Glama

GeoNames Timezone Lookup

geonames.place.timezone
Read-onlyIdempotent

Look up the timezone for any coordinates on Earth using the GeoNames database. Returns IANA timezone ID (e.g. "America/New_York", "Europe/London"), GMT offset, DST offset, raw (winter) offset, current local time, today's sunrise and sunset times (local), and the country at those coordinates. Useful for scheduling tasks across time zones, converting UTC timestamps, or annotating location data with timezone context. CC BY 4.0 open data, no upstream cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoISO 639-1 language code for the country name in the response (e.g. "en", "de")
latitudeYesLatitude of the location to look up (-90 to 90, e.g. 40.7128 for New York City)
longitudeYesLongitude of the location to look up (-180 to 180, e.g. -74.0060 for New York City)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description doesn't need to restate safety. It adds context about the data source (GeoNames), licensing (CC BY 4.0), and the specific fields returned, which goes beyond the annotations. It doesn't mention edge cases (e.g., ocean coordinates), but it has an openWorldHint, so the 'any coordinates' claim is consistent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a compact paragraph of three sentences that front-loads the main action and return values, followed by use cases and a licensing note. Every clause adds value, though the list of returned fields is a bit dense. It is appropriately sized for the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (2-3 params), rich annotations, and presence of an output schema, the description sufficiently covers what the tool does, common use cases, and data characteristics. It doesn't discuss error handling or rare edge cases, but nothing essential is missing for an agent to select and call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description does not elaborate on the parameters (latitude, longitude, language), but the input schema has 100% description coverage, with each field clearly documented (e.g., examples and ranges). Per the rubric, high schema coverage warrants a baseline of 3; the description adds nothing further to parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Look up'), a clear resource ('timezone for any coordinates on Earth using the GeoNames database'), and enumerates the returned data (IANA timezone ID, offsets, local time, etc.). This distinguishes it from sibling tools like geonames.place.search or geo.places.search, which serve different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly lists use cases: 'scheduling tasks across time zones, converting UTC timestamps, or annotating location data with timezone context.' This gives an agent a clear sense of when to invoke it of the alternatives, but it does not name alternative sibling tools or state when not to use it (e.g., if only country-level data is needed).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.