Skip to main content
Glama

reference-data-mcp-server

Timezone Conversion

ref_timezone_convert
Read-only

Convert a local datetime from one timezone to another. Takes a local time string (no UTC offset, e.g., "2026-05-24T15:30:00") interpreted as local time in the source timezone, returns the equivalent local time in the target timezone. Shows both UTC offsets so DST transitions are visible. Accepts full IANA IDs (e.g., "Asia/Tokyo") or unambiguous city names (e.g., "Tokyo").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_tzYesTarget IANA timezone ID or unambiguous city name (e.g., "America/New_York" or "New York").
from_tzYesSource IANA timezone ID or unambiguous city name (e.g., "Asia/Tokyo" or "Tokyo").
datetimeYesLocal datetime in ISO 8601 format without timezone offset (e.g., "2026-05-24T15:30:00"). Do not include "Z" or an offset suffix.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
sourceNoSource datetime details.
targetNoTarget datetime details.
utc_equivalentNoThe UTC equivalent of the input datetime (ISO 8601 with Z suffix).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=false, covering the safety profile. The description adds valuable behavioral context beyond annotations: it explains that the input is interpreted as local time in the source timezone, that the output shows both UTC offsets to make DST transitions visible, and that it accepts IANA IDs or city names. This exceeds the minimal disclosure required and does not contradict annotations.

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 three sentences, front-loaded with the core verb and purpose. It efficiently conveys input format, output behavior, and accepted timezone formats without redundancy. It could be slightly tightened, but every sentence carries meaningful information and there is no fluff.

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 has an output schema (indicated by context signals), so return values are already covered. The description fully explains the input contract (local datetime, source/target timezones), the interpretation rule (local time without offset), and the output behavior (equivalent local time with UTC offsets for DST visibility). No critical information needed for correct invocation is missing.

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 schema description coverage is 100%, so all three parameters (datetime, from_tz, to_tz) are already documented with descriptions. The description reinforces the datetime format (no offset) but does not add substantive meaning beyond the schema. It mentions accepted formats for timezones (IANA IDs or city names), which is also present in the schema. Thus, baseline 3 is appropriate; the description adds no critical param semantics beyond what the schema provides.

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 precise resource (local datetime from one timezone to another), and explicitly defines input/output semantics. It distinguishes itself from the sibling ref_timezone_lookup (which implies lookup, not conversion) by describing the conversion action and output format.

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?

The description clearly conveys when to use the tool (converting local datetimes between timezones) and provides usage context (input is local time without offset, output shows both UTC offsets). It does not explicitly mention when not to use it or name the lookup sibling as an alternative, but the conversion purpose is unambiguous enough to imply selection over a lookup tool.

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.