Skip to main content
Glama
World Time MCP Server

World Time MCP Server

get_time

Read-only

Look up the current local time in a city or IANA time zone, including city names qualified by country or US state.

Instructions

Get the current local time in a city (or IANA time zone).

Args: city: City name, optionally with a country or US state, e.g. "Colombo", "London, Canada", "Portland, OR", or an IANA zone like "Asia/Tokyo".

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": {
      "city": "<city>"
    },
    "name": "get_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds the accepted input domain (city names or IANA zones). It does not disclose behavior for ambiguous or unknown city names, duplicate names, or how DST/local offset is resolved — useful context for a lookup tool but not critical given annotations.

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?

Two sentences plus a three-line example list; the core action is front-loaded and every example demonstrates a distinct accepted format. No redundant restatement of the tool name.

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?

An output schema exists, so return values need not be explained, and the sole required parameter is well illustrated. The remaining gap is ambiguity handling ("Colombo" vs multiple Springfields, invalid zone behavior), which a caller would want to know before invoking.

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 description coverage is 0%, so the description carries the burden, and it does: it explains the single 'city' parameter accepts a bare city, a city with country or US state qualifier, or an IANA zone, with four concrete examples. Only the disambiguation rule for identical city names is left unstated.

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 ("Get the current local time") and scopes it to a single city or IANA zone, which implicitly distinguishes it from convert_time and compare_times without naming them. Clear enough for selection, though the sibling differentiation is only implicit.

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 singular 'current local time in a city' framing, but there is no explicit when-to-use versus convert_time/compare_times/find_cities, and no note about prerequisites or when a lookup will fail.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools