Skip to main content
Glama

Convert a time between time zones (DST-aware)

timezone_convert
Read-onlyIdempotent

Convert a date/time from one IANA time zone to one or more others with correct daylight-saving rules. Returns local times, UTC offsets, abbreviations and the UTC instant.

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": {
      "time": "<time>",
      "to_tz": "<to_tz>"
    },
    "name": "timezone_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesTime: ISO datetime, 'YYYY-MM-DD HH:mm', or 'now'
to_tzYesTarget IANA zone(s), comma-separated, e.g. America/New_York,Asia/Tokyo
from_tzNoIANA zone of the input wall time (default UTC; ignored if time has an offset)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the description's marginal job is mostly return shape, which it does well: local times, UTC offsets, abbreviations and the UTC instant. It also discloses that DST rules are applied, which the annotations cannot convey. It stops short of explaining behavior for ambiguous or nonexistent local times during transitions.

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, zero filler, with the core operation and DST guarantee front-loaded and the return payload following. Every clause carries information.

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?

With no output schema, the description correctly compensates by enumerating the returned fields, and the fully documented schema covers inputs. The remaining gap is edge-case behavior for DST transition times (ambiguous or skipped hours), which matters for a DST-aware converter but is not addressed.

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 coverage is 100% with each of the three parameters described, so the baseline is 3. The description restates multi-target support ('one or more others') but adds no syntax or format detail beyond what the schema already provides, such as comma-separated to_tz or 'now' as a time value.

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 names a specific verb (convert) and resource (date/time between IANA time zones), adds the scope of 'one or more' targets, and flags DST correctness. No sibling tool handles time zones, so it is unambiguous against currency_convert, unit_convert, and the rest.

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 implied rather than stated: the agent can infer this is the tool for shifting a wall-clock time into other zones, but there is no explicit when-to-use/when-not guidance (for example, converting between offsets vs. wall times, or handling ambiguous DST-transition times). For a single-purpose utility that may be sufficient, but it is not spelled out.

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.

Resources