Skip to main content
Glama

Duo Data Utilities: IBAN, VAT, ISIN Validation API

Timezone converter: instant to local time in an IANA time zone and back, with UTC offset and DST state

timezone_convert
Read-onlyIdempotent

Timezone converter: convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant. Returns the local date and time, the UTC offset in ±HH:MM and seconds, the zone abbreviation, whether DST is in effect, the ISO week date, and the day of year. Handles the ambiguous and skipped local times at DST boundaries explicitly rather than guessing. Price: $0.05 per successful call, paid over x402 (USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
zoneYesIANA time zone id, e.g. Europe/Amsterdam. Accepted: an IANA time zone id, e.g. Europe/Amsterdam.
localNoWall-clock time YYYY-MM-DDTHH:MM[:SS] in zone, converted back to an instant. Mutually exclusive with instant. Accepted: YYYY-MM-DDTHH:MM[:SS].
instantNoRFC 3339 timestamp or integer Unix seconds/milliseconds. Defaults to now. Mutually exclusive with local. Accepted: RFC 3339 timestamp or integer epoch.
ambiguousNoOnly with local: which instant a repeated local time maps to. Default earlier. Accepted: earlier, later, reject.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the safety profile is covered; the description goes beyond that by disclosing the return payload fields, the explicit handling of ambiguous and skipped local times at DST boundaries, and the $0.05 x402-per-call pricing. That pricing/cost disclosure is especially useful for an agent deciding whether to call. It stops short of saying what a 'reject' outcome looks like.

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 core conversion purpose is front-loaded in the first sentence, followed by return shape, then the DST edge case, then pricing — a sensible order with little wasted wording. The enumeration of every return field (ISO week date, day of year) is slightly listy but justified by the absence of an output 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?

For a four-parameter, no-output-schema tool, the description covers the input modes, the return payload, DST-boundary semantics, and cost — enough for an agent to call it correctly. Minor gaps remain around error behavior for ambiguous='reject' and the large return surface, but nothing critical is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that the ambiguous/skipped-time handling is explicit rather than guessed, which is precisely the behavior the 'ambiguous' enum parameter controls. It doesn't restate the mutually-exclusive instant/local constraint, but the schema already does that clearly.

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?

States a specific verb and resource ('convert an instant to wall-clock time in a named IANA time zone, or a wall-clock time in a zone back to an instant') with both directions and the scope (IANA zones) spelled out. An agent can distinguish this from calendar_convert or dst_transitions purely from this sentence.

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?

The bidirectional framing implies when each mode (instant vs. local) applies, and the DST-boundary sentence signals the edge cases it is built for. However, it never names an alternative tool or states when NOT to use this one (e.g., versus dst_transitions for transition tables), so routing guidance is left to inference.

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.