Skip to main content
Glama

timezone

Get current local time, UTC offset, DST status, and full timezone name for any IANA timezone. Convert ISO timestamps or search timezone names.

Instructions

Timezone intelligence using the IANA database (418 zones) built into Node.js. Returns current local time, UTC offset, DST status, and the long timezone name for any IANA timezone. Can also convert an ISO timestamp to one or more target timezones. Useful for scheduling agents, global operations, and time-aware data enrichment. Zero external API calls — instant response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timezoneNoIANA timezone name to look up (e.g. 'America/Chicago', 'Europe/London', 'Asia/Tokyo'). Omit to return UTC.
timezonesNoBatch: list of IANA timezone names (max 20). If provided, 'timezone' is ignored.
convert_from_isoNoISO 8601 timestamp to convert (e.g. '2026-06-06T15:00:00Z'). If omitted, uses current UTC time.
searchNoReturn a list of timezone names matching this substring (e.g. 'America', 'Paris'). Use to discover valid timezone identifiers.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool uses an embedded IANA database, returns instantly, and makes zero external API calls. It does not detail error handling (e.g., invalid timezone), but the positive behavioral traits are well communicated.

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?

The description is four sentences, front-loading the main purpose and key features. Every sentence contributes value: capability, output fields, conversion option, and performance promise. No redundant or vague language.

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?

Given no output schema, the description explains the return fields (local time, offset, DST, timezone name) and the two main operations (lookup and conversion). It also covers the search parameter for discovering timezones. Minor omissions: the exact return format (e.g., object structure) and batch result shape are not detailed, but the core functionality is sufficiently explained.

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?

The input schema already provides 100% description coverage for all four parameters, so the description does not add new meaning beyond naming the parameters. The description adds overall context (e.g., 'IANA database', 'current local time') but does not enrich individual parameter semantics beyond what the schema provides.

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 clearly states the tool returns current local time, UTC offset, DST status, and long timezone name for IANA timezones, and can convert ISO timestamps. It distinguishes itself from sibling tools by specifying the zero-external-call, instant response nature, which is unique among many API-calling tools.

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?

The description provides explicit use cases ('scheduling agents, global operations, and time-aware data enrichment'), giving clear context on when to use the tool. However, it does not mention when not to use it or suggest alternatives, which prevents a perfect score.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thebrierfox/the-stall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server