Skip to main content
Glama

time_api_current_by_zone

Read-onlyIdempotent

Retrieve the current date and time for any IANA timezone, defaulting to UTC, via timeapi.io.

Instructions

Get the current date and time for an IANA timezone via timeapi.io.

Input Schema

NameRequiredDescriptionDefault
timezoneNoIANA timezone name (default: UTC). E.g. America/New_York.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds only the upstream provider name (timeapi.io), which duplicates the openWorldHint already present and says nothing about freshness, failure modes, or what is returned.

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?

One short sentence with the action and the resource front-loaded and zero filler. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read there is no output schema and the description does not indicate the shape of the returned time (ISO string? offset? zone abbreviation?), which is the only remaining thing an agent could need. Adequate but with a clear gap.

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% and the single parameter is fully documented in the schema including the IANA format, default of UTC and an example. The description's mention of 'IANA timezone' restates the schema rather than adding format or edge-case detail, so 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?

States a specific verb and resource (get the current date and time) and scopes it to an IANA timezone, which is clear in isolation. However, the sibling list contains worldtime_by_timezone, datetime_current_time, epoch_now and timezone_info, and the description does nothing to distinguish this tool from those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this over worldtime_by_timezone or datetime_current_time, no mention of prerequisites or exclusions. The agent must infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools