Skip to main content
Glama

Find a city (coordinates, population, country)

city_search
Read-only

Find a city (coordinates, population, country). Search places by name. Fast city-level geocoding for 171,000 places worldwide: reverse geocoding (coordinates to nearest town, region, country and time zone), place search by name and nearby places within a radius. No rate-limited upstream.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesCity or town name (e.g. Salamanca)
limitNo1-50 (e.g. 10)
countryNoOptional ISO country code filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the bar is lower, and the description still adds useful context: scale of coverage (171,000 places) and the fact that there is no rate-limited upstream. It also discloses the returned fields. It does not contradict any annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded but redundant: the parenthetical restates the title, and 'Search places by name' repeats the opening sentence. The capability list is packed into one long clause, and the parenthetical output list is repeated again later.

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

Completeness3/5

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

It lists returned fields, which partly compensates for the missing output schema, but it claims reverse geocoding even though the only required parameter is a name query (q), so an agent cannot tell how coordinates-in would be supplied. No pagination or response-shape detail.

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 documents q, limit and country; the description adds no syntax, format, or defaults beyond it. Baseline 3 is appropriate.

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+resource (find/search a city) and enumerates what comes back (coordinates, population, country, time zone). However, it bundles in reverse geocoding and nearby-radius search, overlapping the reverse_geocode and distance_between_places siblings without naming or differentiating them, which muddies the tool's actual scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no named alternative. The agent is not told to prefer reverse_geocode for coordinate lookups or distance_between_places for radii, even though the description claims those capabilities.

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.