Skip to main content
Glama

elci.dev developer tools

Time Zone Converter

timezone_convert
Read-only

Convert a date and time from one IANA time zone to another, accounting for daylight saving time.

Returns: Object with utc (ISO), source and target: { timeZone, formatted }.

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

Input Schema

NameRequiredDescriptionDefault
dateTimeYesLocal date and time in sourceZone, as "YYYY-MM-DDTHH:mm".
sourceZoneNoIANA time zone of dateTime.UTC
targetZoneNoIANA time zone to convert to.UTC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value with the DST-accounting behavior and the return shape, but says nothing about invalid IANA zone handling or how ambiguous/nonexistent local times during DST transitions are resolved — a notable gap for this specific 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?

Two short sentences, purpose front-loaded, return shape second. No filler, nothing redundant with the schema.

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?

No output schema exists, and the description compensates by naming the returned utc, source, and target fields, while all three parameters are fully documented in the schema. It is close to complete for a low-complexity tool; only DST edge-case behavior is left unspecified.

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 description coverage is 100% and each parameter is documented in the schema, so the baseline would be 3. The description adds a small amount beyond that by clarifying that dateTime is interpreted as local time in sourceZone and by naming the utc/formatted output fields.

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?

States a specific verb and resource: convert a date/time between two IANA zones, with the DST caveat named explicitly. It does not distinguish itself from the sibling timestamp_convert, which an agent could plausibly pick for the same intent, so it falls short of a 5.

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 strongly implied by the described inputs (local dateTime plus source and target zones), but there is no explicit when-to-use, when-not-to-use, or pointer to timestamp_convert as the alternative for epoch-based work. The guidance is inferable 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.

Resources