Skip to main content
Glama

Timezone current time, local to UTC: 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 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "time"
  }
}

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 daylight saving time handling, the cost model ($0.01/call via x402 USDC or a card key, first 10 free, failed calls free), and that each call is charged so repeats are not free — which usefully explains the idempotentHint=false annotation. It also confirms that the tool only reads or computes and changes nothing, consistent with readOnlyHint=true.

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?

Purpose and defaults are front-loaded and the example is helpful, but the tail of the definition mixes in payment mechanics and pricing that are only loosely tied to how the tool is invoked. It is well organized overall, with some meta-information that could be trimmed.

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 three-parameter, zero-required tool with no output schema, the description covers behavior (DST), defaults, batch conversion limits, return fields, and pricing side effects. Nothing an agent needs in order to call it 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 100%, so all three parameters are already documented in the schema, including defaults and the max-10 limit. The description largely restates these (default UTC, up to 10 zones) and adds only the illustrative example zone=Europe/Stockholm, so it does not meaningfully extend parameter meaning beyond the structured data.

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 opens with a specific verb-and-resource statement: the exact current date and time in any IANA time zone, with a clear default of UTC. It enumerates return fields (UTC offset, weekday, abbreviation, Unix timestamp) and the optional multi-zone conversion, so an agent knows precisely what it gets and can distinguish it from any sibling.

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 triggering conditions: when an agent needs to know the current time, schedule across time zones, or convert a timestamp to local time. It also explains the bare-GET case as a minimal paid endpoint test. There is no explicit exclusion or named alternative, but the usage context is unambiguous.

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