Skip to main content
Glama

SmogRank

Find a city

find_city
Read-only

Search SmogRank's cities by name, or find the nearest ones to a point. Returns each city's path for the other tools, whether it is measured by ground monitors (ranked) or only estimated from a model, and its page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude, with lon, instead of a name.
lonNo
limitNo
queryNoCity name, optionally with region or country: "Springfield, Illinois".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real substance beyond that: it discloses the returned provenance flag distinguishing ground-monitor (ranked) cities from model-only estimates, plus the page link. No output schema exists, so this disclosure carries extra weight.

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 tight sentences: the first front-loads the two search modes, the second enumerates return contents. No filler, no restatement of the title or 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?

With no output schema and four loosely-documented parameters, the description does the necessary work of explaining what comes back and why (path, ranked-vs-estimated, page). Minor gaps remain around ambiguous name matches and the default limit of 8, but nothing essential to correct invocation 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 coverage is 50% — lat and query are documented but lon and limit rely on type/default bounds alone. The description partially compensates by explaining the query-vs-coordinates dichotomy and hinting that lat/lon supply "instead of a name," but it adds no format, limit, or ambiguity-resolution detail beyond the schema.

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 ("Search SmogRank's cities") and covers both operating modes: name lookup and nearest-to-point. It also frames the tool as the discovery entry point by noting it returns each city's path "for the other tools," which implicitly separates it from siblings like city_air and city_history, though it never names them 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?

The description clearly lays out the two selection modes — query by name vs. supply lat/lon for nearest cities — and signals that this is the lookup step preceding the per-city tools. It stops short of explicit when-not guidance or naming alternatives (e.g., "use rankings for score order").

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