Skip to main content
Glama

Convert Time Zone

convert_time_zone
Read-onlyIdempotent

Convert datetime between zones.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dateTime": "2024-01-15 14:30:00",
      "toTimeZone": "Europe/London",
      "fromTimeZone": "America/New_York"
    },
    "name": "convert_time_zone"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateTimeYes
toTimeZoneYes
dstAmbiguityNo
fromTimeZoneYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "dateTime": "2024-01-15T14:30:00",
      -    "fromTimeZone": "America/New_York",
      -    "toTimeZone": "Europe/London"
      -  },
      -  {
      -    "dateTime": "2024-06-20T10:00:00",
      -    "dstAmbiguity": "PICK_EARLIER",
      -    "fromTimeZone": "Asia/Tokyo",
      -    "toTimeZone": "America/Chicago"
      -  }
      -]New value: +[
      +  {
      +    "dateTime": "2024-01-15 14:30:00",
      +    "fromTimeZone": "America/New_York",
      +    "toTimeZone": "Europe/London"
      +  },
      +  {
      +    "dateTime": "2024-06-20 10:00:00",
      +    "dstAmbiguity": "PICK_EARLIER",
      +    "fromTimeZone": "Asia/Tokyo",
      +    "toTimeZone": "America/Chicago"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "dateTime": "2024-01-15T14:30:00",
      +    "fromTimeZone": "America/New_York",
      +    "toTimeZone": "Europe/London"
      +  },
      +  {
      +    "dateTime": "2024-06-20T10:00:00",
      +    "dstAmbiguity": "PICK_EARLIER",
      +    "fromTimeZone": "Asia/Tokyo",
      +    "toTimeZone": "America/Chicago"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Converted datetime between timezones",
      +  "type": "object"
      +}
  3. First observed

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds nothing beyond that: it does not explain accepted datetime formats, how DST-ambiguous or nonexistent local times are handled, or time zone identifier conventions (IANA names, offsets), despite openWorldHint implying arbitrary zone inputs.

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

Conciseness3/5

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

The single sentence is front-loaded and contains no filler, so it is concise. However, brevity here comes at the cost of under-specification rather than efficient communication, so it is only minimally adequate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, but the input side is incomplete: datetime format, time zone identifier format, and the meaning of dstAmbiguity are all unstated for a tool with three required parameters. Relative to its complexity, the description leaves too much for the agent to infer.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining the four parameters, but it only gestures at 'datetime' and 'zones'. The dstAmbiguity parameter, its allowed values, and its default are never mentioned, and the expected dateTime string format is left to guesswork from the examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource (convert a datetime between time zones), which is enough for an agent to understand the operation. It does not distinguish itself from time-adjacent siblings such as list_zones or current_time, but the purpose itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no mention of alternatives such as the sibling tools that return the current time in a zone rather than converting an arbitrary datetime. The agent gets context only from the tool name and title.

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.