Skip to main content
Glama

Convert time

time_convert
Read-onlyIdempotent

Convert a date and time between two places. Each place is a country, city, IANA timezone, abbreviation (EST) or offset (UTC+1). A clock time alone means today in the source place. A time that is skipped or repeated at a clock change is explained in the error.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "time_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination place, e.g. America/New_York, Tokyo, Japan, EST.
foldNoFirst (0) or second (1) occurrence during a backward clock change.
fromYesSource place, e.g. Europe/Copenhagen, Copenhagen, Denmark, CET.
timeNonow (default), a clock time such as 15:00, 9:30 or 3pm, or a dated time such as 2026-11-20 15:00.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Source IANA timezone, supported city or country."New value: +"Source place, e.g. Europe/Copenhagen, Copenhagen, Denmark, CET."
    • changedInput schema / properties / time / description
      Previous value: -"ISO datetime, YYYY-MM-DD HH:MM, HH:MM or now (default)."New value: +"now (default), a clock time such as 15:00, 9:30 or 3pm, or a dated time such as 2026-11-20 15:00."
    • changedInput schema / properties / to / description
      Previous value: -"Destination IANA timezone, supported city or country."New value: +"Destination place, e.g. America/New_York, Tokyo, Japan, EST."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and open-world behavior, so the bar is lower. The description still adds real value by disclosing error behavior: skipped or repeated times at a clock change are explained rather than silently resolved, and the fold parameter's role in that ambiguity is contextualized.

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?

Three tight sentences, front-loaded with the core action, then input notation, then the default-time rule and edge-case behavior. No filler or restatement of the title.

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 tool with no output schema, the description explains inputs and error cases well but never says what a successful result looks like — converted time, target offset, DST flag, or both places. That return-shape gap leaves the agent guessing what to expect from a call.

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 coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema — the breadth of accepted place notations (country, city, IANA, abbreviation, offset) and the rule that a bare clock time is interpreted as today in the source place. The fold parameter itself is only explained in the schema, not the description.

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 states a specific verb and resource — converting a date and time between two places — and immediately spells out the accepted place formats. It is clear enough to distinguish from a sibling like time_now, though it never names an alternative explicitly.

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 implied by the conversion purpose and the input semantics (clock time means today in the source place). There is no explicit when-to-use/when-not-to-use guidance and no routing to time_now or currency_convert for related needs.

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.

Resources