Skip to main content
Glama

Search cities

search_cities
Read-onlyIdempotent

Find the cities with an Atmy air-quality summary by name (any language) or country. Returns slugs to pass to the other tools.

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of city and country names and of the page link; default en.
limitNo
queryNoPart of the city name in any site language.
countryNoCountry name or ISO code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds that matching works across any language and that the payload is a list of slugs, but says nothing about match semantics (prefix vs substring), empty-result behavior, or how limit truncation works.

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 with zero filler, and the capability statement is front-loaded ahead of the return-value hint. Nothing repeats the tool title verbatim.

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?

With no output schema, the description usefully states what comes back (slugs for other tools), which is the single most important thing an agent needs to chain calls. Minor gap: no mention of result limits/pagination even though a limit parameter exists.

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 coverage is 75% and lang, query and country each carry their own descriptions; only limit is undocumented. The description restates the query/country dimensions but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 concrete verb and resource ("Find the cities with an Atmy air-quality summary") plus the lookup dimensions (name in any language, or country). The closing clause "Returns slugs to pass to the other tools" positions it as the discovery step feeding the other tools, which implicitly separates it from get_air_quality and siblings, though no sibling is named explicitly.

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?

"Returns slugs to pass to the other tools" gives clear workflow context: call this first to resolve a city slug, then call the retrieval tools. There are no explicit exclusions (e.g. when to use get_country_ranking instead), so it stops short of the 5 band.

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