Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

epa_air_quality

Read-onlyIdempotent

Retrieve EPA air quality monitoring data for criteria pollutants by state and county. Choose annual, daily, quarterly summaries, or raw sample data for lead, CO, SO2, NO2, ozone, PM10, and PM2.5.

Instructions

Get air quality data from EPA's Air Quality System (AQS). Returns annual summary data by state (county-level monitor readings for criteria pollutants). Parameters: '14129' (Lead (Pb)), '42101' (CO (Carbon Monoxide)), '42401' (SO2 (Sulfur Dioxide)), '42602' (NO2 (Nitrogen Dioxide)), '44201' (Ozone), '81102' (PM10), '88101' (PM2.5 (FRM/FEM)), '88502' (PM2.5 (non-FRM, e.g. continuous)). Services: 'annualData' (Annual summaries (yearly statistics per monitor)), 'dailyData' (Daily summaries (daily mean, max, etc.)), 'quarterlyData' (Quarterly summaries (quarterly statistics)), 'sampleData' (Raw sample data (hourly or finer grain)). States use 2-digit FIPS codes: '01'=AL, '06'=CA, '37'=NC, '48'=TX. bdate/edate must be in same year (YYYYMMDD format). Requires AQS_API_KEY and AQS_EMAIL. Signup: https://aqs.epa.gov/data/api/signup

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bdateYesBegin date YYYYMMDD: '20240101'
edateYesEnd date YYYYMMDD (must be same year as bdate): '20241231'
paramYesAQS parameter code: '14129' (Lead (Pb)), '42101' (CO (Carbon Monoxide)), '42401' (SO2 (Sulfur Dioxide)), '42602' (NO2 (Nitrogen Dioxide)), '44201' (Ozone), '81102' (PM10), '88101' (PM2.5 (FRM/FEM)), '88502' (PM2.5 (non-FRM, e.g. continuous)). Up to 5 comma-separated.
stateYes2-digit state FIPS code with leading zero: '06' (CA), '48' (TX), '37' (NC)
countyNo3-digit county FIPS code within the state: '183' (Wake Co, NC), '037' (Los Angeles)
serviceNoData service: 'annualData', 'dailyData', 'quarterlyData', 'sampleData'. Default: annualData

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2026.3.9

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds valuable behavioral context: the requirement for AQS_API_KEY and AQS_EMAIL, a signup link, and the constraint that bdate/edate must be in the same year. These go beyond the annotations and help the agent understand authentication and date-boundary behavior.

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 description is structured into clear sections (overview, parameters, services, states, date constraint, authentication). It is front-loaded with the main purpose and readable. It is somewhat long due to enumerating all parameter codes and services, but these are necessary for usability. It avoids fluff and is appropriately organized.

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?

Given the tool has 6 parameters (4 required) and no output schema, the description covers essential usage details: parameter codes, service options, state FIPS codes, date constraints, and authentication. It does not describe return structure or pagination, but since no output schema exists, some ambiguity remains. Overall it is sufficiently complete for an agent to call the tool correctly, though return format details would improve it.

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 documents every parameter including the parameter codes, service choices, state examples, and the same-year constraint. The description largely duplicates this information, adding only the API key/email requirement, which is not parameter-specific. Thus it adds little value beyond the schema, warranting the baseline score.

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 clearly states the verb ('Get') and resource ('air quality data from EPA's Air Quality System (AQS)'). It also mentions the return type ('annual summary data by state') and lists available services. However, it does not explicitly differentiate itself from sibling tools like epa_aqs_daily or epa_aqs_monitors, which reduces sibling differentiation slightly.

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?

The description provides clear context on how to use the tool (parameters, services, date constraints) but does not explain when to prefer this tool over the sibling epa_aqs_daily or epa_aqs_monitors. It omits any when-not-to-use guidance, so an agent must infer the appropriate selection from the sibling list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools