Skip to main content
Glama

SmogRank

Most (or least) polluted cities

rankings
Read-only

The ranking of measured cities by average PM2.5, worst first: a rolling window (24h, 7d, 30d, year to date) or a past period (a day 2026-09-30, a week 2026-W40, a month 2026-09, a year 2025). Optionally one country.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
orderNoworst
periodNoA past period instead of a window: YYYY-MM-DD, YYYY-Www, YYYY-MM or YYYY.
windowNo24h
countryNoISO country code, e.g. IN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/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 usefully adds that only 'measured' cities appear in the ranking and that results are ordered worst-first by default, but says nothing about result size (limit) or what a ranking entry contains. With annotations in place, that is adequate but not rich.

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?

A single dense sentence with a colon-delimited list; the core purpose and ordering are front-loaded before the parameter details. Efficient for the amount of information carried, though the embedded examples make it slightly heavy.

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?

For a five-parameter tool with no output schema, the description covers time modes, ordering, and country filtering, but never addresses the limit parameter or what a ranking entry looks like (city plus PM2.5 value?). An agent can call it, but not fully predict the result shape.

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 only 40% (limit, order, and window carry no schema descriptions), so the description must compensate. It partially does: it gives example formats for period (2026-09-30, 2026-W40, 2026-09, 2025) and country, and states the worst-first default, but it never mentions the limit parameter or the cleanest option. The 'year to date' phrasing also sits awkwardly against the schema's 'year' enum value.

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?

The description names a specific resource (measured cities) and a specific metric (average PM2.5), and states the default ordering ('worst first'). This is clearly distinct from the ranking-free siblings city_air and city_history, though those siblings are never named to confirm the contrast.

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?

It sets out the two time-selection modes (rolling window vs. past period) and the optional country filter, which implies usage but never states when to prefer this tool over city_air or city_history. No exclusions or prerequisites are given.

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