Skip to main content
Glama

Official Records Hub (UK & US): property, company, sanctions, health, vehicle & travel checks

uk_air_quality

UK air quality by postcode for AI agents. Send a GB postcode and get annual PM2.5, NO2 and PM10 levels for its 1 km area (DEFRA model) compared with WHO guidelines and UK legal limits, how it ranks nationally, and the latest hourly readings from the nearest official monitoring station, with plain-English highlights, as JSON. For home-buying, renting, relocation and health tools. Official open data (OGL). Errors never charged. Use this when the user asks about air pollution or air quality for a UK postcode (PM2.5, NO2 vs WHO guidelines, nearest live readings). Not for: pollen or weather forecasts. Price: $0.02 USDC per call (x402).

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": {
      "q": "<q>"
    },
    "name": "uk_air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesUK postcode (England, Scotland or Wales), e.g. L1 8JQ. Example: L1 8JQ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load and does so well: it discloses pricing ($0.02 USDC per call via x402), the billing guarantee that errors are never charged, licensing (OGL), and the JSON response contents. It does not cover rate limits, caching, or behavior for an invalid/non-GB postcode.

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 core action and result, then progressively adds payload contents, audience, licensing, and pricing. Some marketing-flavored fragments ('For home-buying, renting, relocation and health tools', 'Official open data (OGL)') are lower value but short enough not to bloat the text.

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 steps in to enumerate the return contents (annual pollutant levels, WHO/UK limit comparison, national rank, latest hourly station readings, plain-English highlights, JSON). The only real gap for a one-parameter tool is unspecified error behavior for malformed or non-GB postcodes.

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% for the single 'q' parameter, so the baseline is 3. The description's 'GB postcode' phrasing adds only mild corroboration of the geographic scope already stated in the schema; no format or validation detail is added beyond the schema's own example.

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 concrete verb and resource ('Send a GB postcode and get annual PM2.5, NO2 and PM10 levels') plus the exact data sources and scope (1 km area, DEFRA model, nearest monitoring station). An agent can distinguish this from weather or flood siblings without opening the 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?

Explicit when-to-use clause ('Use this when the user asks about air pollution or air quality for a UK postcode') and an explicit exclusion ('Not for: pollen or weather forecasts'). It stops short of naming a concrete alternative tool to route to, which keeps it below a 5.

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