Skip to main content
Glama

Time-zone conversion: one instant in many zones, DST-aware, offsets, business hours

time_convert
Read-onlyIdempotent

Use when scheduling across time zones or turning a local time into UTC without guessing DST. Input: to (IANA zones or KST, PST, CET...), optional from (zone of a local time, default UTC), time (ISO 8601, Unix seconds, or now). Output: JSON UTC instant, Unix time, and per zone: local ISO time with offset, weekday, abbreviation, DST and business-hours flags, day difference. Use instead: time_overlap for meeting slots; time_business_days for working-day math. Example: ?time=2026-10-12T09:00&from=Asia/Seoul&to=America/New_York,Europe/London Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

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": {
      "to": "<to>"
    },
    "name": "time_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes1–25 target zones, comma-separated (IANA names like Asia/Seoul, UTC, or abbreviations like KST, PST, CET)
fromNoZone of the input local time (default UTC; ignored when time has an offset)
timeNoISO 8601 date-time (2026-10-12T09:00, 2026-10-12T09:00:00+09:00), Unix seconds/ms, or now

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Changed2 schema fields changed
    • changedInput schema / properties / time / description
      Previous value: -"ISO 8601 date-time, Unix seconds/ms, or now (default now)"New value: +"ISO 8601 date-time (2026-10-12T09:00, 2026-10-12T09:00:00+09:00), Unix seconds/ms, or now"
    • changedInput schema / properties / to / description
      Previous value: -"Target zones, comma-separated (IANA names, UTC, or common abbreviations like KST, PST)"New value: +"1–25 target zones, comma-separated (IANA names like Asia/Seoul, UTC, or abbreviations like KST, PST, CET)"
  5. Added

TDQS

A4.4/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 the safety profile is covered. The description adds genuine context beyond that: the exact shape of the returned data (per-zone offset, weekday, abbreviation, DST and business-hours flags, day difference) and a concrete per-call price with payment chains. It stops short of stating rate limits or failure behavior for invalid zones, so it is not quite 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the trigger, then structured into Input, Output, Use instead, and Example blocks, which makes it fast to scan. The price and payment-chain sentence is wedged onto the end of the example line, which slightly muddies the structure, and a few format restatements could be trimmed given the schema.

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?

There is no output schema, so the description must carry the return-value burden itself — and it does, enumerating every per-zone field an agent would need. Combined with the input format list, the DST caveat, and the sibling routing, nothing needed to call this correctly 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?

Schema coverage is already 100%, with all three parameters documented including the 'ignored when time has an offset' caveat for `from`. The description largely restates those definitions (IANA zones, abbreviations, ISO 8601/Unix/now) and the worked example mostly echoes the schema's comma-separated multi-zone hint, so it adds little meaning beyond what the schema already supplies.

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 and resource — converting one instant across many zones, DST-aware — and spells out the direction of the conversion (local time to UTC instant). It names the sibling tools it is not (time_overlap for meeting slots, time_business_days for working-day math), so an agent can distinguish it without opening the schema.

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?

It leads with an explicit trigger ('Use when scheduling across time zones or turning a local time into UTC without guessing DST') and then gives explicit alternatives for the neighboring cases. The 'Use instead' clause routes the agent away from this tool for overlap and business-day math, which is exactly the when-not guidance expected at this level.

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