Skip to main content
Glama

Base on-chain reads and pay-per-call feeds (x402/MPP)

Time zone facts and conversion in one call: local time, UTC offset, abbreviation, whether the zone observes DST and whet

time_zone
Read-onlyIdempotent

Time zone facts and conversion in one call: local time, UTC offset, abbreviation, whether the zone observes DST and whether it is active, for one IANA zone or two for conversion (zone=Europe/Berlin, to=America/New_York, at=ISO time optional). Computed from IANA rules, exact for any past or future instant. Pay per call $0.002 USDC on Base via x402.

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_zone"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNooptional ISO time, default now
toNooptional second zone for conversion
zoneNoIANA zone, e.g. Europe/Berlin
x_paymentNosigned x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, so the description's real contribution is the payment model: '$0.002 USDC on Base via x402' pay-per-call, which an agent must know before invoking. It also asserts correctness properties ('Computed from IANA rules, exact for any past or future instant'), adding trust context the annotations do not carry.

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?

Two dense sentences: capability and return fields first, then the input example, then correctness and pricing. There is no filler, though the opening enumeration is a cramped comma-chain that is harder to scan than a short bulleted list would be.

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 simple 4-param lookup with no output schema, the description covers inputs, returned fields, computational guarantees, and the x402 payment flow. Remaining gaps are edge behavior: what a paramless call returns, and how the second call with `x_payment` differs from the first.

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 the schema already defines `zone`, `to`, `at`, and `x_payment`. The description adds only a worked example of combining `zone`/`to`/`at`, plus the implicit default of 'now' for `at`; it adds no new constraint or format detail, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource (IANA time zone) and a concrete verb set (facts + conversion), and enumerates the returned facts: local time, UTC offset, abbreviation, DST observance and activity. It is unmistakable what the tool produces, though it never contrasts itself with lookalike date tools such as `holidays`.

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?

Usage is shown only by example ('zone=Europe/Berlin, to=America/New_York, at=ISO time optional'), which implies facts-mode vs conversion-mode. There is no explicit when-to-use/when-not, and no guidance for the degenerate case where all 4 params are optional and the caller supplies none.

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