Skip to main content
Glama

Timezone, current time converter: time zone conversion

time
Read-only

The exact current date and time in any IANA time zone (UTC when none is given), with UTC offset, weekday, abbreviation and Unix timestamp, daylight saving time handled. Optionally convert a given moment into up to 10 other time zones in the same call. Use when an agent needs to know what time it is, to schedule across time zones or to turn a timestamp into local time. A bare GET is the smallest paid end-to-end test of an x402 or MPP client. Example: zone=Europe/Stockholm. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
atNoOptional moment to convert, as ISO 8601 with an offset (default: now)
toNoOptional comma-separated time zones to convert the same moment into (max 10)
zoneNoIANA time zone name, e.g. Europe/Stockholm or America/New_York (default UTC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / zone / description
      Previous value: -"IANA time zone name, e.g. Europe/Stockholm or America/New_York"New value: +"IANA time zone name, e.g. Europe/Stockholm or America/New_York (default UTC)"
    • removedInput schema / required
      Removed value: -[
      -  "zone"
      -]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses DST handling, the 10-zone conversion cap, per-call pricing ($0.01 via x402 USDC or card key), the 25 free calls, and that failed calls are free. It also explains why repeats cost money, which is exactly the context an agent needs to interpret idempotentHint=false on an otherwise read-only tool.

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?

Core capability, usage triggers, example and pricing are front-loaded in a logical order. The x402/MPP client-test sentence and the /credits parenthetical lean promotional and dilute focus, though they do carry payment-relevant information.

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?

For a 3-optional-parameter read tool with no output schema, the definition covers defaults, limits, DST behavior, billing, and failure cost. An agent has everything needed to call it correctly and to anticipate the cost of repeating a call.

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%, so zone, at and to are already fully documented, and the description mostly restates them (UTC default, max 10 zones). It adds only a concrete example (zone=Europe/Stockholm) and the framing that 'to' converts the same moment. That is marginal added meaning over the schema.

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 first sentence names a specific resource and verb: exact current date and time in any IANA time zone, plus UTC offset, weekday, abbreviation and Unix timestamp, with optional multi-zone conversion. This is unmistakably distinct from siblings like sun, moon, or holidays, which share the temporal domain but not the function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use triggers: knowing the current time, scheduling across time zones, and turning a timestamp into local time. It also flags a secondary use case (paid end-to-end client test). No when-not guidance or named alternative is offered, but no sibling actually overlaps enough to require one.

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