Skip to main content
Glama

timezone_convert

Convert an ISO-8601 datetime from one IANA timezone to another while preserving the same instant, including daylight-saving-aware wall times such as Toronto to Tokyo.

Use when:

  • What time is 3pm Toronto in Tokyo?

  • Convert an ISO-8601 datetime from America/New_York to Europe/London

  • Show the same instant in another IANA timezone with DST-aware offsets

Do not use when:

  • Only convert between Unix epoch and ISO-8601 without changing timezone (use timestamp_convert)

  • Convert length, mass, or temperature units (use unit_convert)

  • Guess a city timezone from a postal address without an IANA zone id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datetimeYesISO-8601 datetime, with or without offset
to_timezoneYesIANA timezone for output
from_timezoneYesIANA timezone for interpreting naive datetimes

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the conversion preserves the same instant and is DST-aware, which is critical context beyond the schema. However, it does not mention potential edge cases like ambiguous/nonexistent times, error handling for invalid timezone IDs, or the exact output structure, leaving a small gap for a timezone conversion tool.

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?

The description is well-structured and front-loaded with the core action in the opening sentence. The 'Use when' and 'Do not use when' sections are concise, scannable, and each bullet adds direct value. No superfluous sentences; the length is justified by the clarity it provides for tool selection.

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?

The tool has moderate complexity with DST awareness and three required parameters. The description covers purpose, usage guidelines, and key behavioral traits, and the schema covers parameter semantics. There is no output schema, but the description does not explicitly state the return format (e.g., does it return the converted ISO string with an offset?), which would enhance completeness. Overall, it is nearly complete but leaves a minor gap.

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%, so the schema already thoroughly documents each parameter (datetime, from_timezone, to_timezone). The description adds example usage and clarifies the role of from_timezone for naive datetimes, but this largely mirrors the schema descriptions. It does not introduce new parameter-level semantics beyond what the schema provides, so the baseline of 3 is appropriate.

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 ('Convert'), a clear resource ('ISO-8601 datetime'), and the exact transformation ('from one IANA timezone to another while preserving the same instant'). It also highlights DST-aware behavior and gives a concrete example (Toronto to Tokyo), which clearly distinguishes it from sibling tools like timestamp_convert and unit_convert.

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

Usage Guidelines5/5

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

The description provides explicit 'Use when' examples (e.g., 'What time is 3pm Toronto in Tokyo?') and explicit 'Do not use when' exclusions with named alternatives (timestamp_convert, unit_convert). This gives an agent clear decision criteria for selecting this tool over siblings.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct data format and operation, with explicit 'Do not use when' cross-references to prevent confusion. For example, base64_encode/decode, url_encode/decode, and timestamp_convert/timezone_convert are clearly separated, and the various validators (ISBN, Luhn, UUID, JSON) apply to different identifiers.

Naming Consistency4/5

Most tool names follow an object_operation pattern (e.g., base64_decode, country_lookup, timestamp_convert), using lowercase with underscores. The main deviation is countries_bulk, which uses a noun+adjective form without an explicit operation, making it inconsistent with the verb-like operations used elsewhere.

Tool Count3/5

With 18 tools, the server falls into the 16-25 range which feels heavy for a utility collection. While each tool is individually useful and the scope is broad, the count is higher than typical for a well-focused server and may overwhelm agents scanning the available options.

Completeness4/5

The set provides solid coverage of encoding/decoding, validation, lookups, and conversions, with paired encode/decode and convert functions. However, some common utilities such as hashing, HTML entity encoding, UUID generation, or email validation are absent, leaving minor gaps for agents that need those operations.

Resources