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/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, and the description is fully consistent with them. It adds value beyond the annotations by disclosing the third-party dependency (TimeAPI.io, consistent with openWorldHint) and naming what the call yields: timezone name, local time, and UTC offset.

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 sentences, no filler, with the output content front-loaded and the input constraint immediately after. Every clause carries information the agent needs or that corrects a likely mistake.

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

Completeness5/5

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

The tool takes two required scalars, an output schema exists so return shape needs no further explanation, and annotations cover the safety profile. The description covers inputs, outputs in brief, external dependency, and the non-accepted input form — nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3, but the bare schema labels ('Latitude', 'Longitude') do not convey format or constraints. The description adds real meaning by insisting the inputs be actual coordinates rather than place names, which prevents a common wrong invocation.

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?

States a specific verb and resource set: IANA timezone name, current local time, and UTC offset for a latitude/longitude pair, plus the backing provider TimeAPI.io. The clause 'does not accept city names' implicitly separates it from the geocoding siblings in the catalog, so an agent can route without opening a schema.

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?

Gives clear preconditions ('Requires coordinates') and one explicit exclusion (no city names), which tells the agent to geocode first when it only has a place name. It stops short of naming geo_geocode as the alternative, so the routing is inferred rather than stated.

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.