Skip to main content
Glama

Agent Data Hub

Current time in any time zone + converter

util_time
Read-onlyIdempotent

Accurate current time (or a given ISO/unix time) as UTC ISO, unix seconds and ms, ISO week, day of year, plus local date/time, UTC offset, abbreviation and weekday in up to 20 IANA time zones (e.g. Asia/Dubai, America/New_York). DST-correct. Use when an agent needs the real date/time or to convert between zones. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are 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": "util_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoOptional time to convert: ISO 8601 or unix seconds/ms (default now)
tzNoComma-separated IANA time zones, e.g. Asia/Dubai,America/New_York (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: DST correctness, a hard ceiling of 20 time zones, and the billing model ($0.001/call via x402, first 10 free daily), which materially affects an agent's decision to call. It does not say how invalid zone names or malformed 'at' values are handled.

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?

Front-loaded with the capability and output shape, then usage, then pricing — a sensible order with little waste. Some redundancy between the title and the first clause, and the pricing sentence could be tightened, but every sentence carries information.

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?

With no output schema, the description helpfully enumerates return fields, and both optional parameters are covered. For a simple, fully-optional two-parameter utility this is close to complete; only error and fallback behavior for bad zone/time inputs is left unstated.

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 both parameters are already documented in structured data. The description adds only the 'up to 20 zones' capacity constraint and example zone strings, and its 'given ISO/unix time' phrasing restates the 'at' schema text rather than adding syntax or edge-case meaning.

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 states a concrete verb and resource (return current time or convert a given time) and enumerates the exact output fields: UTC ISO, unix seconds/ms, ISO week, day of year, local time, offset, abbreviation and weekday. It also bounds the scope ('up to 20 IANA time zones'), so an agent can tell it apart from siblings like util_date_calc and util_cron without opening a schema.

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?

'Use when an agent needs the real date/time or to convert between zones' gives a clear selection trigger. It stops short of explicit exclusions, e.g. when a date-arithmetic question should go to util_date_calc or a scheduling question to util_cron, so the routing guidance is clear but not complete.

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