Skip to main content
Glama

Geo Get Timezone

geo_get_timezone
Read-onlyIdempotent

Look up the IANA timezone name, current local time, and UTC offset (hours) for a given latitude and longitude via TimeAPI.io. Requires coordinates, does not accept city names.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "latitude": 40.7128,
      "longitude": -74.006
    },
    "name": "geo_get_timezone"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude
longitudeYesLongitude

Output Schema

NameRequiredDescriptionDefault
timezoneYesIANA timezone name
local_timeYesCurrent local time in ISO format
utc_offset_hoursYesUTC offset in hours (may include decimal for minutes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description usefully discloses the third-party dependency (TimeAPI.io) and what fields come back, but says nothing about invalid/out-of-range coordinates, rate limits, or failure behavior for the external API.

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

Conciseness5/5

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

Two tight sentences with the return fields and the input constraint front-loaded; every clause carries information and there is no filler.

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?

An output schema exists, so return values need not be explained, and the description still summarizes them. For a two-parameter read-only lookup it is nearly complete, lacking only expected coordinate ranges (e.g., -90..90, -180..180) and error behavior.

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?

Schema description coverage is 100% and the schema includes examples, so the baseline is 3. The description adds only that the pair must be coordinates rather than place names, which is a modest clarification beyond the schema.

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?

Names a specific verb (look up) and precise resources: IANA timezone name, current local time, and UTC offset (hours) for a latitude/longitude pair. The clause 'does not accept city names' separates it from the geocoding siblings that take place names.

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?

States the precondition clearly ('Requires coordinates') and rules out a plausible-but-wrong usage ('does not accept city names'), implicitly telling the agent to geocode first. It stops short of explicitly naming geo_geocode/geo_reverse_geocode as the alternatives for name-based input.

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.