Skip to main content
Glama

Get current time in IANA zone

get_current_time_in_zone
Read-onlyIdempotent

Retrieve live local date, time, day of week, UTC offset, and DST status for any valid IANA timezone, so you can check the current time in a specific zone.

Instructions

Retrieve live local date, time, day of week, UTC offset, and DST status for any valid IANA timezone.

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": "get_current_time_in_zone"
  }
}

Input Schema

NameRequiredDescriptionDefault
time_zoneNoIANA timezone identifier (default "UTC", e.g. "America/New_York", "Asia/Tokyo").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower. The description adds real value by enumerating the returned fields (date, time, day of week, UTC offset, DST status) in the absence of an output schema, and 'live' signals a real-time fetch. It stops short of stating failure behavior for invalid zone identifiers.

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 dense sentence with no filler, front-loaded with the verb and the full list of returned values. Nothing could be cut without losing 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?

For a single-optional-parameter read tool, the description covers purpose, input domain, and return contents adequately. Minor gaps remain around invalid-zone error behavior and default-to-UTC handling, though the latter is already in the schema.

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 UTC default and examples. The description only adds the validity constraint ('any valid IANA timezone'), so the baseline of 3 applies.

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 (Retrieve) and resource (live local date, time, day of week, UTC offset, DST status) scoped to 'any valid IANA timezone'. The emphasis on 'live/current' distinguishes it from conversion or DST-schedule siblings without needing to name them.

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 only implied: 'current' and 'live' signal this is for fetching the present moment in one zone, not converting between zones or looking up DST transitions. No explicit when-to-use or when-not-to-use statement, and no alternative tool is named.

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