Skip to main content
Glama

convert

Convert a specific date/time from one IANA timezone to another (single or batch). Accepts ISO 8601 or natural language ('next Tuesday 3pm'). Returns the converted datetime with UTC offset, zone abbreviation and DST flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget IANA timezone.
fromYesSource IANA timezone.
datetimeYesISO 8601 or natural language, e.g. "2026-07-09T15:30" or "next Tuesday 3pm".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It transparently states accepted input types (ISO 8601, natural language), batch capability, and the exact return fields (converted datetime, UTC offset, zone abbreviation, DST flag). This goes beyond a bare functional statement, though it does not cover edge cases like invalid timezone names or DST transition ambiguities.

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 compact: two sentences front-load the core action, then list accepted input formats and return fields. Every phrase earns its place, with no filler or redundancy.

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 the tool's moderate complexity, the lack of annotations, and the absence of an output schema, the description covers the essentials: input formats, timezone type, batch mode, and output components. It is complete enough for an agent to make a first correct call, though the 'batch' feature is underspecified and would benefit from clarification.

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 has 100% parameter coverage, so the baseline is 3. The description adds little beyond the schema: it reiterates the datetime format and introduces 'batch', which is not reflected in the schema's single datetime string and could even cause slight ambiguity. It does not deepen understanding of the from/to parameter semantics beyond what the descriptions already provide.

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 a specific verb ('Convert') and resource (date/time between IANA timezones), and immediately distinguishes it from sibling conversion tools like convert_units and currency_convert by emphasizing timezone conversion. The mention of 'single or batch' further clarifies its scope.

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?

The description implies the tool's use case—timezone conversion—but provides no explicit guidance on when to prefer it over alternatives like offset, timezones, or convert_units. It does not name alternatives or exclusion criteria, leaving the agent to infer the appropriate selection context from the description alone.

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.