Skip to main content
Glama

US EPA Air Quality System certified monitor data

gov_epa_aqs_air_quality
Read-only

US EPA Air Quality System certified monitor data for a county: daily values per monitor (mean, daily max, AQI, method, site) or annual summaries (mean, 98th/99th percentiles, exceedance counts) for PM2.5, PM10, ozone, NO2, SO2, CO or lead. County by name or FIPS code. Official quality-assured data, published about six months after measurement. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "state": "<state>",
      "county": "<county>"
    },
    "name": "gov_epa_aqs_air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoDaily mode end date YYYY-MM-DD, same calendar year, max 31 days after from
fromNoDaily mode start date YYYY-MM-DD (data lags ~6 months)
yearNoAnnual mode: a year such as 2025 (returns annual summaries instead of daily values)
limitNoMax rows 1-500 (default 100)
stateYes2-letter state, e.g. CA
countyYesCounty name (Los Angeles) or 3-digit FIPS code (037)
pollutantNopm25 (default), pm10, ozone, no2, so2, co, lead

Output Schema

NameRequiredDescriptionDefault
toNo
fromNo
modeNo
noteNo
rowsNo
countNo
stateNo
totalNo
countyNo
sourceNo
checkedAtNo
pollutantNo
countyFipsNo
parameterCodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnly and openWorld; the description adds the operationally critical facts an agent needs — the data is quality-assured and lags roughly six months, and each successful call costs $0.002 via x402 while failed calls are free. The cost and latency disclosures are exactly the kind of context structured fields cannot carry.

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 resource and the two modes, then geography, then data-quality caveat, then price — a sensible information hierarchy in four sentences. The pollutant list is repeated between the first and last clause, a minor redundancy, but every element otherwise earns its place.

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?

An output schema exists, so return values need not be spelled out, and the description still characterizes both modes' contents. With seven parameters at full schema coverage, read-only annotations, and pricing/lag disclosed, the definition is nearly complete; only rate limiting or error behavior is unaddressed.

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 100%, so parameter meaning is already fully documented in the tool schema. The description mostly restates that structure (county by name or FIPS, the pollutant set, the annual-vs-daily switch) and adds only the six-month lag caveat, so it sits at the baseline.

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?

The description names a specific agency dataset (EPA AQS certified monitor data), the geographic unit (a county), and the two output modes (per-monitor daily values vs. annual summaries) with the pollutants covered. Nothing in the sibling list covers air quality, and the verb/resource pairing is unambiguous.

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?

Mode selection is clear: supply 'year' for annual summaries, 'from'/'to' for daily values, and 'county' accepts either a name or a 3-digit FIPS code. What's missing is any explicit when-not or alternative routing, though the tool's domain is narrow enough that few alternatives exist.

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