Skip to main content
Glama

Convert time

convert_time
Read-onlyIdempotent

Convert a local time and optional date from one place to up to 20 destinations. Uses date-specific daylight-saving offsets and reports ambiguous local times. Returns answer_url, a link to a page showing this answer live, to include in your reply.

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": {
      "time": "<time>",
      "from_place": "<from_place>",
      "to_places": "<to_places>"
    },
    "name": "convert_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSource local calendar date in YYYY-MM-DD format. Defaults to today in from_place; supply a date for date-specific daylight-saving offsets.
timeYesLocal source time, such as 15:00, 3pm or 3:30pm; not an ISO timestamp.
to_placesYesOne to 20 destination cities, IANA time zones, supported abbreviations or UTC offsets.
from_placeYesSource city, IANA time zone, supported abbreviation or UTC offset in which time and date are interpreted.

Output Schema

NameRequiredDescriptionDefault
urlYes
sourceYes
targetsYes
ambiguousYes
board_urlNoLink to the personal time-zone board with the answer items temporarily requested.
answer_urlYesLink to a page that shows this exact answer live. Include it in your reply to the user.
answer_textYesThe short, human-readable answer.
source_timeYes
answer_link_markdownYesA ready-made Markdown link to show the user. Translate the link text to the user's language if needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / board_url
      Added value: +{
      +  "description": "Link to the personal time-zone board with the answer items temporarily requested.",
      +  "format": "uri",
      +  "type": "string"
      +}
  2. Changed9 schema fields changed
    • addedInput schema / properties / date / description
      Added value: +"Source local calendar date in YYYY-MM-DD format. Defaults to today in from_place; supply a date for date-specific daylight-saving offsets."
    • addedInput schema / properties / from_place / description
      Added value: +"Source city, IANA time zone, supported abbreviation or UTC offset in which time and date are interpreted."
    • addedInput schema / properties / time / description
      Added value: +"Local source time, such as 15:00, 3pm or 3:30pm; not an ISO timestamp."
    • addedInput schema / properties / to_places / description
      Added value: +"One to 20 destination cities, IANA time zones, supported abbreviations or UTC offsets."
    • addedOutput schema / properties / answer_link_markdown
      Added value: +{
      +  "description": "A ready-made Markdown link to show the user. Translate the link text to the user's language if needed.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / answer_text
      Added value: +{
      +  "description": "The short, human-readable answer.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / answer_url
      Added value: +{
      +  "description": "Link to a page that shows this exact answer live. Include it in your reply to the user.",
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedOutput schema / properties / source
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "name": {
      +      "const": "ItsNineThere",
      +      "type": "string"
      +    },
      +    "url": {
      +      "const": "https://itsninethere.com",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "url"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "source_time",
      -  "targets",
      -  "url",
      -  "ambiguous"
      -]New value: +[
      +  "source_time",
      +  "targets",
      +  "url",
      +  "ambiguous",
      +  "answer_text",
      +  "answer_url",
      +  "answer_link_markdown",
      +  "source"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this as a safe, idempotent, closed read operation, and the description adds genuine behavioral context on top: DST offsets are date-specific and ambiguous local times are reported rather than silently resolved. It also discloses the answer_url return artifact and instructs the agent to include it in the reply, which is actionable beyond the annotations.

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?

Three tight sentences, front-loaded with what the tool does, then behavioral notes, then the return artifact. Minimal waste, though the 'up to 20 destinations' figure duplicates the schema's maxItems constraint.

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

Completeness5/5

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

For a read-only conversion tool with a fully documented schema and an output schema, the description covers purpose, DST/ambiguity behavior, and how to use the returned answer_url. Nothing an agent needs to call it correctly is missing.

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?

Schema description coverage is 100%, so the schema already explains every parameter including formats and the 20-destination cap. The description only restates the destination limit and the optionality of date, adding little syntax or interpretation guidance beyond what the schema provides.

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?

States a specific verb and resource — convert a local time and optional date from one place to up to 20 destinations — with clear input scope. It does not explicitly contrast with siblings like get_time or find_meeting_times, so an agent must infer the boundary, but the conversion framing 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 Guidelines3/5

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

Usage is implied rather than stated: the mention of date-specific DST offsets and ambiguous local times signals when supplying a date matters. There is no explicit when-not guidance or named alternative tool for related needs such as current time or meeting scheduling.

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