Skip to main content
Glama

Get Timezone Information

get_timezone_info
Read-only

Retrieves current time, UTC offset, and DST status for any location. Accepts country names, codes, cities, airport codes, or IANA timezone IDs to resolve local timezone details.

Instructions

Get timezone information for a location including current time, UTC offset, and DST status. Supports country names, country codes, city names, airport codes, and IANA timezone identifiers.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "location": "<location>"
    },
    "name": "get_timezone_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationYesLocation identifier. Can be: country name (e.g., 'South Korea'), country code (e.g., 'KR'), city name (e.g., 'Seoul'), airport code (e.g., 'ICN'), or IANA timezone (e.g., 'Asia/Seoul').

Output Schema

NameRequiredDescriptionDefault
dataNo
sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's job is smaller. It usefully discloses the scope of the returned data (time, UTC offset, DST) and the range of accepted identifiers, but says nothing about failure behavior for unrecognized or ambiguous locations. Since an output schema exists, restating returned fields earns limited additional credit.

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?

Two sentences with no wasted words, and the core purpose is front-loaded before the accepted-input detail. The input-format sentence is largely duplicative of the schema but is short enough that the redundancy costs little.

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?

For a one-parameter read-only lookup with an output schema and annotations, this covers what the agent needs to invoke it correctly. The remaining gap is disambiguation from timezone-related siblings, which is a routing concern rather than a completeness failure.

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 parameter description already lists country name, country code, city, airport code, and IANA identifier with examples. The description's second sentence merely restates that list in condensed form, adding no parsing rules, precedence between identifier types, or ambiguity handling. Baseline 3 applies.

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

Purpose4/5

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

Names a specific verb and resource ('Get timezone information for a location') and enumerates what comes back: current time, UTC offset, and DST status. It stops short of distinguishing itself from siblings like convert_timezone or get_world_clock, which an agent could plausibly confuse with this tool.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'for a location' — the agent can infer this is a lookup, not a conversion. There is no explicit when-to-use versus convert_timezone, nor any note on what to do for ambiguous locations. Sibling names alone are not enough to close that gap.

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