Skip to main content
Glama

Timezone & Local Time

timezone
Read-only

Current local time, UTC offset, DST status and abbreviation for any IANA timezone name, or resolve a place name to its timezone and local time. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletNoYour EVM wallet address (0x...). Unlocks the free tier (3 free calls per wallet).
api_keyNoOptional AMR enterprise API key.
locationNoPlace name to geocode to a timezone, e.g. 'Tokyo'. Used when timezone is omitted.
timezoneNoIANA timezone name, e.g. 'Europe/Berlin'. Optional if location is given.
x_paymentNoOptional signed x402 payment payload (base64 JSON) for USDC/USDT on Base.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
timeYes
tokenNoToken actually used for payment (USDC, USDT or FREE).USDC
is_dstYes
sourceYes
countryNo
routingYesHow the request was routed (provider, fallback, cache, latency).
datetimeYes
latitudeNo
locationNo
timezoneYes
cost_usdcYesPrice charged in stablecoin units (USDC/USDT 1:1); 0 on the free tier.
longitudeNo
unix_timeYes
fetched_atNoUTC timestamp when the data was fetched.
utc_offsetYes
day_of_weekYes
day_of_yearYes
week_numberYes
abbreviationNo
utc_datetimeYes
freshness_secondsYesAge of the underlying data in seconds (0 = fetched live).
dst_offset_secondsYes
utc_offset_secondsYes
x_payment_responseNoBase64-encoded x402 settlement receipt (mirrors the X-PAYMENT-RESPONSE header). Only present when the call was paid with `x_payment`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark the tool as read-only; the description adds per-call payment via USDC/USDT on Base, x402, and a 3-free-calls-per-wallet quota. This is meaningful behavioral context beyond the annotations, though it doesn't describe payment failure or edge cases.

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; the first front-loads the core operation and outputs, the second covers payment terms. No filler or redundancy.

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?

Given an output schema exists and annotations declare read-only behavior, the description's coverage of purpose, inputs, and payment is sufficient. Minor omissions like behavior when neither location nor timezone is supplied are edge-case details.

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 the schema already explains wallet, api_key, location, timezone, and x_payment. The description's payment sentence reinforces the wallet/x_payment purpose but adds little beyond what the schema already provides.

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 concrete outputs (local time, UTC offset, DST status, abbreviation) and two input modes: IANA timezone names and place-name resolution. This distinguishes it from sibling geocoding/weather tools by the resource and output it acts on, even though no sibling is named.

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?

Gives clear conditions for use: any IANA timezone name, or a place name to resolve to a timezone. Payment/free-tier note also informs usage, but it does not explicitly contrast with sibling tools like geocode or geo_ip.

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.