Skip to main content
Glama
IBM

chuk-mcp-time

by IBM

convert_time

Convert datetime between timezones using IANA tzdata to handle DST transitions, historical changes, and political boundaries with ISO 8601 input.

Instructions

Convert a datetime from one timezone to another using IANA rules.

Performs timezone conversion independent of system clock. Uses IANA tzdata
to handle all DST transitions, historical changes, and political boundaries.

Args:
    datetime_str: ISO 8601 datetime string (naive, will be interpreted in from_timezone)
    from_timezone: Source IANA timezone identifier
    to_timezone: Target IANA timezone identifier

Returns:
    TimezoneConversionResponse with conversion details and explanation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datetime_strYes
from_timezoneYes
to_timezoneYes
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 and does well by disclosing key behavioral traits: it performs conversion independent of system clock, uses IANA tzdata to handle DST transitions, historical changes, and political boundaries, and explains the return format. However, it lacks details on error handling or rate limits.

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 appropriately sized and front-loaded, with the core purpose in the first sentence, followed by behavioral details and a well-structured parameter explanation. Every sentence adds value without 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, no annotations, and no output schema, the description is largely complete, covering purpose, behavior, and parameters. However, it could improve by detailing the 'TimezoneConversionResponse' structure or error cases, which would enhance completeness for a conversion tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must compensate, which it does excellently by explaining all three parameters: 'datetime_str' as an ISO 8601 string interpreted in 'from_timezone', and 'from_timezone'/'to_timezone' as IANA identifiers, adding crucial meaning beyond the bare schema.

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 specific verb ('convert') and resource ('datetime from one timezone to another'), and distinguishes it from siblings by specifying it uses IANA rules for timezone conversion, unlike tools like 'get_local_time' or 'list_timezones' which serve different purposes.

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 clear context for when to use this tool (for timezone conversion with IANA rules), but does not explicitly state when not to use it or name alternatives among siblings, such as 'compare_system_clock' for system-dependent comparisons.

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/IBM/chuk-mcp-time'

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