Skip to main content
Glama

Running Cat Geo

Air quality

air_quality
Read-only

Air quality at one point, two ways: air is the model forecast hour by hour (PM2.5, PM10, NO2, ozone, SO2, CO in µg/m³, dust, UV index, European and US AQI, and in Europe ammonia and pollen of alder, birch, grass, mugwort, olive and ragweed in grains/m³); airStations are up to 5 official measuring stations within radiusKm, nearest first, with what they measured in the latest hour. The forecast covers the whole world; stations exist only where agencies publish them. Use point_report for air together with weather and place, area_report for a grid over a region. Counts as one request.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lon": "<lon>",
      "lat": "<lat>"
    },
    "name": "air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude
lonYesLongitude
hoursNoForecast hours from now
radiusKmNoSearch radius in km for stations; it does not change the forecast
pastHoursNoModel hours before the current one added in front of the forecast, to set the forecast against what stations measured; 0 to 48

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description is not burdened with the safety profile; instead it adds real behavioral context: units per quantity, the hard cap of 5 stations, 'nearest first' ordering, one-hour station data, and 'Counts as one request' (a quota/cost signal). It does not describe error behavior or what happens when no station falls inside radiusKm.

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?

Front-loaded with the two-result framing, and every sentence carries information; the long pollutant parenthetical is dense but is the actual payload vocabulary an agent needs. Minor cost is that it reads as a single sprawling sentence with heavy nesting.

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?

No output schema exists, yet the description names the two response blocks and their contents, which is the key thing needed to interpret results. Remaining gaps are small (AQI scale, forecast step granularity, response when no stations match) for a read-only 5-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema lacks: radiusKm caps station results at 5 and orders them nearest-first, and hours is framed as an hourly forecast step. pastHours is only implicitly explained via station comparison.

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?

Names the resource and both result blocks explicitly ('air' = hourly model forecast with a full pollutant list and units; 'airStations' = up to 5 official stations within radiusKm), and states the worldwide-vs-published-stations coverage split. An agent can tell it apart from area_report and point_report without opening either schema.

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?

Gives explicit routing: point_report when air is wanted together with weather and place, area_report for a grid over a region, implying this tool is for air alone at a point. It also flags the availability limit ('stations exist only where agencies publish them'), though there is no explicit when-not-to-use statement beyond that.

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