Skip to main content
Glama

time_convert

Read-only

Time zone converter — Convert a time between IANA time zones (one to many, up to 10) with weekday and UTC offsets, or get the current time anywhere. Pass optional ?time= (ISO or YYYY-MM-DD HH:MM), ?from= and ?to= (comma-separated). Price: $0.001 USDC (Base, via x402).

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": {
      "to": "<to>"
    },
    "name": "time_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYescomma-separated IANA zones
fromNoIANA zone of the given time, default UTC
timeNooptional time to convert, default now

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?

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description does add useful non-annotation context: the cost of $0.001 USDC on Base via x402, the up-to-10 zone cap, and that results include weekday and UTC offsets. However, it says nothing about error behavior for invalid IANA zones or how a multi-zone result is structured, keeping this at an adequate rather than rich level.

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 dense, front-loaded sentences: the core capability and its limits come first, the parameter contract second, and the price last. Nothing is redundant; even the pricing detail is operationally relevant for an agent deciding to call.

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 three-parameter tool with no output schema, the description covers both modes, formats, defaults, the zone cap, and the cost. What remains under-specified is the shape of the returned offsets/weekday data and failure modes for bad zone strings, which matters slightly given the one-to-many capability.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage the baseline is 3, and the description exceeds it by specifying the accepted time formats (ISO or YYYY-MM-DD HH:MM) and the up-to-10 limit on comma-separated zones, neither of which the schema states. Defaults for from/time are repeated from the schema but the format and cap details add real meaning.

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?

Names a specific verb and resource ("Convert a time between IANA time zones"), gives the scope limit (one to many, up to 10), and covers the second mode ("get the current time anywhere"). It does not distinguish itself from the sibling time_business_days/time_holidays tools, so it stops short of a 5.

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 implied through parameter behavior: pass ?time= to convert a specific moment, omit it to get the current time, and provide ?from=/?to= for zones. There is no explicit when-to-use-this-vs-alternatives statement or exclusion, so the agent must infer the two operating modes.

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