Skip to main content
Glama

Crypto & Web Data API for Agents

Local time and UTC offset for IANA time zones

world_time
Read-only

Local time and UTC offset for IANA time zones. Returns current local time, UTC offset, abbreviation and weekday for a time zone, optionally with a second zone and the hour difference between them. Uses the IANA tz database, no external source. Price $0.005 per call (x402: USDC on Base or Solana).

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": {
      "tz": "<tz>"
    },
    "name": "world_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoSecond IANA time zone for comparison
txNoAlternative to the X-Payment-Tx header
tzYesIANA time zone, e.g. Europe/Berlin

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Read-only annotations already cover the safety profile, and the description adds genuinely useful context: data comes from the IANA tz database with no external source (implying accuracy/offline freshness), and it discloses the $0.005 per-call price plus x402 payment options (USDC on Base or Solana). It does not say whether the response is cached or how errors on invalid zones are surfaced, so it sits at adequate rather than rich.

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?

Three tight sentences, front-loaded with the purpose and return shape before payment details. Nothing is wasted, though the pricing sentence could be deferred or split for cleaner scanning.

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 read-only lookup with no output schema and fully documented parameters, the description is nearly complete: it covers return fields, optional comparison, data source and pricing. Missing only minor operational detail such as response format or invalid-zone error behavior.

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%, with patterns, examples and per-parameter descriptions already present, so the baseline is 3. The description adds only that the second zone yields the hour difference between the two — a small but real semantic gain over the schema's 'Second IANA time zone for comparison'.

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?

Names the specific resource (local time and UTC offset for IANA time zones) and enumerates exactly what is returned — local time, offset, abbreviation, weekday — plus the optional second-zone comparison. This is clearly distinguishable from siblings like world_sun or world_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?

The description implies usage (get current time for a zone, optionally compare two zones) but never states when to prefer this over a sibling such as world_sun or world_alerts, nor any preconditions. The optional-comparison behavior is the closest thing to routing guidance.

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