Skip to main content
Glama

prayer-times

Find a city

search_city
Read-only

Search cities and towns by name (any spelling, e.g. "Makkah" or "Mecca"). Returns candidates with their country, region, coordinates, time zone and GeoNames id; pass the id as place_id to get_prayer_times. Optional two-letter country code to narrow the search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results, default 8
queryYesCity name, at least two characters
countryNoISO 3166-1 alpha-2 country code, e.g. PK

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds the substantive behavioral detail that spelling variants are accepted ("Makkah"/"Mecca") and enumerates what each candidate carries (country, region, coordinates, time zone, GeoNames id). No rate limits or result-count behavior beyond the schema's limit are described, which keeps this short of a 5.

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?

Two tight sentences with the core purpose front-loaded and no filler. The final sentence fragment about the country code reads slightly tacked-on, but nothing is wasted.

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?

With no output schema, the description carries the return-shape burden and does so (candidate fields plus the downstream place_id usage), while annotations cover the read-only/open-world profile. Nothing an agent needs to call or chain this tool 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 query, limit, and country are already fully documented in the schema; the description only restates country's two-letter form and gives a spelling example. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource ("Search cities and towns by name") and immediately distinguishes itself from the only sibling by explaining that the returned id is the place_id input for get_prayer_times. An agent can tell exactly what this tool is for and where its output feeds without opening any schema.

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 a concrete when-to-use path (search here, then pass the id to get_prayer_times) and names the narrowing condition (optional two-letter country code). It lacks an explicit when-not-to-use or a disambiguation note about repeated calls, but the routing guidance is clear.

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