Skip to main content
Glama

ClockCrest time tools

Convert a time between zones

convert_timezone
Read-onlyIdempotent

Converts a wall-clock time from one IANA time zone to another. Says explicitly how a non-existent (daylight-saving gap) or repeated (overlap) time was resolved.

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": {
      "from": "<from>",
      "to": "<to>",
      "time": "<time>"
    },
    "name": "convert_timezone"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget IANA time zone, e.g. Asia/Tokyo
fromYesSource IANA time zone, e.g. America/New_York
timeYesWall-clock time in the source zone, YYYY-MM-DDTHH:MM or YYYY-MM-DDTHH:MM:SS, without a UTC offset (1970–2100)
overlapNoWhich occurrence to use when the time happens twice. Default: earlier.earlier

Output Schema

NameRequiredDescriptionDefault
toYesOne instant as it reads on the clocks of a time zone.
utcYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
fromYesOne instant as it reads on the clocks of a time zone.
noteYes
inputYes
sourceYesWhere the data or the algorithm comes from.
resolutionYesHow the source wall-clock time was resolved
occurrencesNoBoth occurrences, when the source time happens twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds genuinely useful behavior beyond that: it commits to reporting how DST gap (non-existent) and overlap (repeated) times were resolved, which is exactly the ambiguity an agent needs warned about for this operation. It does not cover error behavior for invalid zones, keeping it below a 5.

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 purpose front-loaded and the DST-resolution guarantee immediately after. Every clause earns its place and nothing is repeated from the schema or annotations.

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?

An output schema exists, so return-value structure needn't be explained, and annotations carry the safety profile; the description fills the remaining conceptual gap around DST edge cases. Minor omissions (accepted time range 1970–2100, invalid-zone error behavior) are already covered by schema patterns and constraints.

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 all four parameters including the overlap enum and its default are already fully documented in the schema. The description's parenthetical '(overlap)' loosely ties the DST repeated-time concept to the overlap parameter, but adds no format, constraints, or examples beyond the schema. Baseline 3 is appropriate.

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?

The description states a specific verb and resource ('Converts a wall-clock time') plus the exact domain ('from one IANA time zone to another'), which is precise enough to separate it from siblings like convert_calendar or add_duration. It stops short of explicitly contrasting itself with any named alternative, so it lands at 4 rather than 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 only implied by the scope: an agent can infer this is the tool for timezone-to-timezone conversion of a given wall-clock instant. There is no explicit when-to-use vs. when-not guidance, no mention of prerequisites (e.g., IANA zone names required), and no routing to siblings such as convert_calendar or get_current_time.

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