Skip to main content
Glama

Agent Data Tools: Everyday data

time

The exact current date and time in any IANA time zone, 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 a meeting across time zones, or to turn a timestamp into local time. Costs $0.002 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON 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)
zoneYesIANA time zone name, e.g. Europe/Stockholm or America/New_York

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 the output fields, that DST is handled, the 10-zone conversion limit, and crucially the pricing/auth model ($0.002 USDC on Base via x402). The cost and payment mechanism are material behavior an agent must know before invoking, and the description covers them.

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?

Four sentences, front-loaded with the core capability before usage and pricing. Dense but every sentence earns its place; the pricing detail is the only element that could be perceived as slightly tacked-on, but it is necessary.

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?

With no output schema, the description compensates by listing the returned fields, and the annotations plus the explicit cost disclosure round out the picture. Nothing an agent needs to call this 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 every parameter (zone, at, to) is already documented in the schema, including the ISO 8601 format and the max-10 constraint. The description restates 'any IANA time zone' and 'up to 10 other time zones' without adding format or edge-case detail, so it is the baseline 3.

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 a specific verb (get current date/time, or convert a moment) and resource (time in an IANA zone), and enumerates the returned fields (UTC offset, weekday, abbreviation, Unix timestamp). It is trivially distinguishable from siblings like weather or fx, so an agent knows exactly what it gets.

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?

Explicitly names three triggering scenarios: needing to know the time, scheduling across time zones, and converting a timestamp to local time. That is strong context, but it offers no exclusions or alternative tools for the closest cases, so it stops short of a 5.

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