Skip to main content
Glama

Time of Meeting

Convert a local time

convert_time
Read-onlyIdempotent

Convert a local time in one city into one or more other cities' time zones, e.g. 3pm in Warsaw in New York and Bangalore. Use when the user names a time in one place and asks what it is elsewhere, or whether it falls in work hours there. Each city has its IANA time zone and says whether the converted time is in work hours. Each city says whether that local date is a public holiday. The result includes a https://timeofmeeting.com link for a 60-minute meeting. A different length can be set when the invitation is built. status is unique when that clock time happens once, gap when the clocks skip it, or overlap when it happens twice. wall.utc is the chosen instant. When no offset is given, that is the compatible reading: the later side of a gap and the earlier side of an overlap.

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

Input Schema

NameRequiredDescriptionDefault
toYesCities to convert into. A list of strings. Each item is one city. A comma in an item adds a region, state or country to that city; it is not a second city. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example "Paris, France", "Paris, TX" or "Munich, Bavaria"; it is not a second city. Multiple cities must be separate list items, for example ["Berlin","Rome"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives.
fromYesThe city the clock time belongs to. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example "Paris, France", "Paris, TX" or "Munich, Bavaria"; it is not a second city. Multiple cities must be separate list items, for example ["Berlin","Rome"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives.
timeYesLocal time in the from city, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM. An offset such as 2027-10-31T02:30+02:00 selects that instant when the clock time happens twice. A time alone, such as 09:00, 9:00, or 09:00:00, is that time today in the from city.

Output Schema

NameRequiredDescriptionDefault
toYes
utcYes
fromYes
linkYes
wallYes
errorNo
linksYes
weeksYesISO week (Monday start; week 1 contains the year's first Thursday) and US week (Sunday start; 1 January is week 1 of that calendar year).
candidatesNo
zone_notesNoPresent when a city argument was a time zone abbreviation or fixed offset such as EST or UTC+2. Says which time zone it was read as, and what else the abbreviation can mean.
alternativesNoOther cities that matched the same name, after the best-ranked city was chosen. The order is the site search order: match, then priority, then population.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"The city the clock time belongs to. City name, a city id from a city search, or an IANA time zone such as Europe/Copenhagen. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."New value: +"The city the clock time belongs to. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example \"Paris, France\", \"Paris, TX\" or \"Munich, Bavaria\"; it is not a second city. Multiple cities must be separate list items, for example [\"Berlin\",\"Rome\"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
    • changedInput schema / properties / to / description
      Previous value: -"Cities to convert into. An array, or one comma-separated string. City name, a city id from a city search, or an IANA time zone such as Europe/Copenhagen. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."New value: +"Cities to convert into. A list of strings. Each item is one city. A comma in an item adds a region, state or country to that city; it is not a second city. One city: a name, a city id from a city search, an IANA time zone such as Europe/Copenhagen, or a zone abbreviation or fixed offset such as EST, CET, UTC or UTC+2. A comma adds a region, state or country to that one city, for example \"Paris, France\", \"Paris, TX\" or \"Munich, Bavaria\"; it is not a second city. Multiple cities must be separate list items, for example [\"Berlin\",\"Rome\"]. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
    • addedOutput schema / properties / zone_notes
      Added value: +{
      +  "description": "Present when a city argument was a time zone abbreviation or fixed offset such as EST or UTC+2. Says which time zone it was read as, and what else the abbreviation can mean.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / time / description
      Previous value: -"Local time in the from city, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM. A time alone, such as 09:00, 9:00, or 09:00:00, is that time today in the from city."New value: +"Local time in the from city, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM. An offset such as 2027-10-31T02:30+02:00 selects that instant when the clock time happens twice. A time alone, such as 09:00, 9:00, or 09:00:00, is that time today in the from city."
    • changedInput schema / properties / time / pattern
      Previous value: -"^(\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}|\\d{1,2}:\\d{2}(?::\\d{2})?)$"New value: +"^(\\d{4}-\\d{2}-\\d{2}[T ]\\d{1,2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:Z|[+-]\\d{2}:\\d{2})?|\\d{1,2}:\\d{2}(?::\\d{2})?)$"
    • addedOutput schema / properties / wall
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "earlier": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "local": {
      +          "type": "string"
      +        },
      +        "offset": {
      +          "type": "string"
      +        },
      +        "utc": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "utc",
      +        "local",
      +        "offset"
      +      ],
      +      "type": "object"
      +    },
      +    "later": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "local": {
      +          "type": "string"
      +        },
      +        "offset": {
      +          "type": "string"
      +        },
      +        "utc": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "utc",
      +        "local",
      +        "offset"
      +      ],
      +      "type": "object"
      +    },
      +    "local": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "offset": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "shifted": {
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "enum": [
      +        "unique",
      +        "gap",
      +        "overlap"
      +      ],
      +      "type": "string"
      +    },
      +    "time": {
      +      "type": "string"
      +    },
      +    "utc": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "time",
      +    "status",
      +    "shifted",
      +    "note",
      +    "offset",
      +    "utc",
      +    "local",
      +    "earlier",
      +    "later"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "link",
      -  "utc",
      -  "weeks",
      -  "from",
      -  "to",
      -  "links"
      -]New value: +[
      +  "link",
      +  "utc",
      +  "weeks",
      +  "from",
      +  "to",
      +  "links",
      +  "wall"
      +]
  3. Changed4 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"The city the clock time belongs to. City name or a city id from a city search. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."New value: +"The city the clock time belongs to. City name, a city id from a city search, or an IANA time zone such as Europe/Copenhagen. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
    • changedInput schema / properties / time / description
      Previous value: -"Local time in the from city, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM."New value: +"Local time in the from city, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM. A time alone, such as 09:00, 9:00, or 09:00:00, is that time today in the from city."
    • changedInput schema / properties / time / pattern
      Previous value: -"^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}$"New value: +"^(\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}|\\d{1,2}:\\d{2}(?::\\d{2})?)$"
    • changedInput schema / properties / to / description
      Previous value: -"Cities to convert into. An array, or one comma-separated string. City name or a city id from a city search. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."New value: +"Cities to convert into. An array, or one comma-separated string. City name, a city id from a city search, or an IANA time zone such as Europe/Copenhagen. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
  4. Changed2 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"The city the clock time belongs to. City name or a city id from search_cities. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."New value: +"The city the clock time belongs to. City name or a city id from a city search. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
    • changedInput schema / properties / to / description
      Previous value: -"Cities to convert into. An array, or one comma-separated string. City name or a city id from search_cities. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."New value: +"Cities to convert into. An array, or one comma-separated string. City name or a city id from a city search. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
  5. Changed2 schema fields changed
    • addedOutput schema / properties / weeks
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "ISO week (Monday start; week 1 contains the year's first Thursday) and US week (Sunday start; 1 January is week 1 of that calendar year).",
      +  "properties": {
      +    "iso_week": {
      +      "maximum": 53,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "us_week": {
      +      "maximum": 54,
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "iso_week",
      +    "us_week"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "link",
      -  "utc",
      -  "from",
      -  "to",
      -  "links"
      -]New value: +[
      +  "link",
      +  "utc",
      +  "weeks",
      +  "from",
      +  "to",
      +  "links"
      +]
  6. Changed7 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"The city the clock time belongs to. City name or a city id from search_cities. Spelling and accents are flexible."New value: +"The city the clock time belongs to. City name or a city id from search_cities. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
    • changedInput schema / properties / to / description
      Previous value: -"Cities to convert into. An array, or one comma-separated string. City name or a city id from search_cities. Spelling and accents are flexible."New value: +"Cities to convert into. An array, or one comma-separated string. City name or a city id from search_cities. Spelling and accents are flexible. When several cities share a name, the best match from the site search is used and the others come back in alternatives."
    • addedOutput schema / properties / alternatives
      Added value: +{
      +  "description": "Other cities that matched the same name, after the best-ranked city was chosen. The order is the site search order: match, then priority, then population.",
      +  "items": {
      +    "properties": {
      +      "country": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "region": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / from / properties / holiday
      Added value: +{
      +  "properties": {
      +    "date": {
      +      "type": "string"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "name_en": {
      +      "type": "string"
      +    },
      +    "regional": {
      +      "type": "boolean"
      +    },
      +    "regions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "scope": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "name",
      +    "name_en",
      +    "regional",
      +    "regions",
      +    "label",
      +    "source"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / from / required
      Previous value: -[
      -  "name",
      -  "zone",
      -  "local",
      -  "offset",
      -  "kind",
      -  "link"
      -]New value: +[
      +  "name",
      +  "zone",
      +  "local",
      +  "offset",
      +  "kind",
      +  "holiday",
      +  "link"
      +]
    • addedOutput schema / properties / to / items / properties / holiday
      Added value: +{
      +  "properties": {
      +    "date": {
      +      "type": "string"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "name_en": {
      +      "type": "string"
      +    },
      +    "regional": {
      +      "type": "boolean"
      +    },
      +    "regions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "scope": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "name",
      +    "name_en",
      +    "regional",
      +    "regions",
      +    "label",
      +    "source"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / to / items / required
      Previous value: -[
      -  "name",
      -  "zone",
      -  "local",
      -  "offset",
      -  "kind",
      -  "link"
      -]New value: +[
      +  "name",
      +  "zone",
      +  "local",
      +  "offset",
      +  "kind",
      +  "holiday",
      +  "link"
      +]
  7. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "candidates": {
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "region": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "from": {
      +      "properties": {
      +        "country": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "link": {
      +          "type": "string"
      +        },
      +        "local": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "offset": {
      +          "type": "string"
      +        },
      +        "region": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "weekend": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "zone": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "zone",
      +        "local",
      +        "offset",
      +        "kind",
      +        "link"
      +      ],
      +      "type": "object"
      +    },
      +    "link": {
      +      "type": "string"
      +    },
      +    "links": {
      +      "properties": {
      +        "google": {
      +          "type": "string"
      +        },
      +        "ics": {
      +          "type": "string"
      +        },
      +        "meeting": {
      +          "type": "string"
      +        },
      +        "planner": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "meeting",
      +        "planner",
      +        "ics",
      +        "google"
      +      ],
      +      "type": "object"
      +    },
      +    "to": {
      +      "items": {
      +        "properties": {
      +          "country": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "link": {
      +            "type": "string"
      +          },
      +          "local": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "offset": {
      +            "type": "string"
      +          },
      +          "region": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "weekend": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "zone": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "zone",
      +          "local",
      +          "offset",
      +          "kind",
      +          "link"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "utc": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "link",
      +    "utc",
      +    "from",
      +    "to",
      +    "links"
      +  ],
      +  "type": "object"
      +}
  8. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantial unprompted behavior: the response includes IANA zone resolution, a work-hours flag, a public-holiday flag, and a meeting link for a 60-minute meeting. The gap/overlap/unique status semantics and the 'compatible reading' default rule disclose DST edge-case handling that nothing in the annotations conveys.

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?

Front-loaded correctly, with the purpose and example first and return-value mechanics after. The closing sentences on status and 'wall.utc' are dense with site-specific jargon and could be tightened, but no sentence is idle.

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 three-parameter, fully documented read-only tool with an output schema, the description covers what an agent needs: triggering condition, example, and the nuances of DST ambiguity resolution. Return-field meaning is sketched beyond what's strictly required, leaving no material gap.

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 schema already defines all three parameters in depth; the description's marginal value is the disambiguation rule that with no offset the earlier side of an overlap and later side of a gap is chosen. That resolves genuine ambiguity about how the 'time' parameter is interpreted, though the per-city string formats are left entirely to the 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?

Opens with a specific verb and resource ('Convert a local time in one city into one or more other cities' time zones') and immediately grounds it with a concrete example ('3pm in Warsaw in New York and Bangalore'). This is clearly distinguishable from the sibling 'current_time_in_cities' or 'find_best_meeting_time', which do different jobs.

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?

Gives an explicit triggering condition: when the user names a time in one place and asks what it is elsewhere, or whether it falls in work hours there. It does not explicitly name a competing sibling (e.g. find_best_meeting_time or business_hours_overlap) or state when NOT to use it, so it stops short of full routing guidance.

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