Skip to main content
Glama

tool_convert_timezone

Convert a date and time between IANA timezones with daylight saving adjustments. Enter a datetime plus from and to zones to get the correct local time.

Instructions

Convert a date/time between IANA timezones, DST-aware.

Args: datetime_str: e.g. "2026-08-15 14:30" or "2026-08-15T14:30:00" from_timezone: IANA name, e.g. "America/New_York" to_timezone: IANA name, e.g. "Asia/Tokyo" or "UTC"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_timezoneYes
datetime_strYes
from_timezoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.5

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations the description carries the full behavioral burden. 'DST-aware' is a genuinely useful disclosure, but it omits how naive datetimes are interpreted, what happens with invalid IANA names, and what the conversion returns. Helpful but substantially incomplete for a zero-annotation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability is front-loaded in one sentence and the Args block is compact, with each example earning its place. The inline Args formatting is slightly clunky but wastes no words.

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 3-required-parameter tool with no output schema and no annotations, key gaps remain: the return shape (string vs object, timezone label, offset) and error behavior for bad input are unaddressed. The conversion semantics themselves are covered adequately.

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?

Schema description coverage is 0%, so the description must compensate, and it does: the Args block gives concrete formats for datetime_str ('2026-08-15 14:30' or ISO), names the namespace for both zones, and notes 'UTC' is acceptable. It still doesn't clarify ambiguity handling for offset-bearing inputs, so it stops short of a 5.

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 and resource ('Convert a date/time between IANA timezones') and adds a distinguishing capability ('DST-aware'). An agent can identify this as the timezone-conversion tool with no ambiguity against any sibling.

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: the parameter shapes suggest converting a timestamp from one zone to another, but there is no explicit when-to-use guidance, no statement of when not to use it, and no routing to or from alternatives. Adequate minimum viability, no more.

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