Skip to main content
Glama

Air Quality API - Europe AQI, PM2.5, NO2, No API Key

air_quality_api
Read-onlyIdempotent

Live air quality for any place in Europe, no API key: newest hourly PM2.5, PM10, NO2, ozone and SO2 measured by official EEA monitoring stations (3,700+ active stations in 38 countries incl. UK), the nearest stations to a lat/lon with distance, European Air Quality Index band, data age, hourly history up to 30 days and station lists. Only-new mode returns each new hour once. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/air-quality-api.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": 52.52,
      "lon": 13.405,
      "mode": "latest",
      "radius_km": 25
    },
    "name": "air_quality_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude of the place, e.g. 52.52 (Berlin). Europe only (EEA member and cooperating countries, plus UK).
lonNoLongitude of the place, e.g. 13.405 (Berlin).
modeNolatest = newest hourly values at the stations nearest to a place (with European Air Quality Index band); history = hourly values of one station for the last N hours; stations = list all stations of a country.
hoursNoFor history: how many past hours to return (default 24, max 720 = 30 days).
limitNoFor latest: how many nearest stations to return per place (default 3, max 20). For stations mode: max rows (default 500).
countryNoFor stations: ISO 2-letter country code, e.g. DE, FR, BG, PL.
stationNoEEA station EoI code, e.g. DEBE068 or FR04055. Required for history unless lat/lon is given (then the nearest station is used).
locationsNoFor latest: up to 25 places as 'lat,lon', e.g. 48.8566,2.3522. Each place returns its nearest stations; rows carry query_location.
radius_kmNoFor latest: search radius around the place. Default 25, max 200. If no station is inside, the nearest ones are returned with a note.
pollutantsNoAny of PM2.5, PM10, NO2, O3, SO2. Empty = all five.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld and idempotent, so the safety profile is covered; the description goes further by disclosing station counts, data freshness/age, free-tier rate limit (5 calls/day per IP), and both paid paths including the X-API-Key header and x402 URL. The mention of an 'only-new mode' that returns each new hour once sits in mild tension with idempotentHint and is absent from the schema's mode documentation, and nothing is said about failure behavior when no station lies within radius.

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?

The capability, coverage and freshness claims are front-loaded in the first sentence, with commercial terms last, which is the right ordering. The single dense sentence plus a pricing tail carries a little promotional weight (two URLs, euro price) that an agent does not need in order to invoke the tool.

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?

For a 10-parameter, zero-required, open-world data tool with no output schema, the description supplies the essentials: source, geography, granularity, history horizon, rate limits and auth. It leaves the response shape implicit (it never says what a row contains beyond distance and AQI band), which matters slightly more because no output schema 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 description coverage is 100%, so the schema already explains lat/lon, mode, hours, limit, country, station, locations, radius_km and pollutants with examples and defaults; the baseline of 3 applies. The description reinforces a few of these (nearest-station distance, 30-day history, station lists) but adds no syntax, units or constraints beyond what the schema already supplies.

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 ('live air quality'), the exact measurement set (hourly PM2.5, PM10, NO2, ozone, SO2 from EEA stations), the geographic scope (Europe, 38 countries incl. UK), and the three query shapes (nearest stations to lat/lon, hourly history, station lists). An agent can tell instantly this is not the weather-alerts or fuel-price sibling.

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?

It gives clear context for choosing the tool: Europe-only coverage, official EEA measurement source, 30-day history ceiling, and a free 5-calls/day-per-IP tier versus paid key/x402 routes, which lets an agent judge budget feasibility before calling. It does not explicitly say when to prefer a different tool, and the 'only-new mode' it advertises is not represented in the mode parameter's enumerated description, leaving a small routing gap.

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