Skip to main content
Glama

ClockCrest time tools

Search cities

search_city
Read-onlyIdempotent

Searches about 34,000 world cities by name (any case, accents optional, Arabic and local names understood) and returns each match's country, IANA time zone, coordinates and population. Use the coordinates and zone with get_sunrise_sunset or get_prayer_times.

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": {
      "q": "<q>"
    },
    "name": "search_city"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCity name or the beginning of one, e.g. cairo, münchen, القاهرة
limitNoMaximum number of results (1–25). Default 8.
countryNoOnly cities of this country (ISO 3166-1 alpha-2), e.g. EG

Output Schema

NameRequiredDescriptionDefault
countYes
notesYesCaveats and conventions that apply to this response.
queryYes
sourceYesWhere the data or the algorithm comes from.
countryYes
licenseYes
resultsYes
sourceUrlYes
lastUpdatedYesDate the underlying data set was last generated or checked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds genuine value beyond that: match normalization (case-insensitive, accents optional, Arabic and local names), approximate corpus size (~34,000 cities), and the shape of each result. It does not say what happens on zero matches or how results are ordered.

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, both load-bearing: the first defines the search and its output, the second routes the result into follow-on tools. No filler, no restatement of the title, and the most important content leads.

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 the description need not document return values in detail, and the annotations fully cover the read-only safety profile. What remains unexplained is edge behavior — empty result sets and result ordering/ranking — which is minor for a straightforward lookup but would help an agent handle a miss gracefully.

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%, and each of q, limit, and country is well documented with examples and constraints, so the baseline is 3. The description adds matching semantics for q (accents optional, Arabic and local names understood) that the schema does not state, but says nothing about limit or country beyond what the schema already 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 ("Searches about 34,000 world cities by name") and enumerates the returned fields — country, IANA time zone, coordinates, population — so the agent knows exactly what it gets back. It also names downstream consumers (get_sunrise_sunset, get_prayer_times), which implicitly separates it from pure timezone/holiday lookups, though it never explicitly contrasts with find_timezone.

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?

The second sentence gives a chaining hint ("Use the coordinates and zone with get_sunrise_sunset or get_prayer_times"), which tells the agent when this tool is a useful first step. However, it offers no when-not guidance and does not address the nearest ambiguous alternative, find_timezone, leaving the agent to infer which one to call for a city-name query.

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