Skip to main content
Glama
lzinga

US Government Open Data MCP

epa_air_quality

Access EPA air quality data to monitor pollution levels across U.S. states and counties. Retrieve annual, daily, quarterly, or raw sample data for criteria pollutants like PM2.5, ozone, and carbon monoxide.

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
stateYes2-digit state FIPS code with leading zero: '06' (CA), '48' (TX), '37' (NC)
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.
bdateYesBegin date YYYYMMDD: '20240101'
edateYesEnd date YYYYMMDD (must be same year as bdate): '20241231'
countyNo3-digit county FIPS code within the state: '183' (Wake Co, NC), '037' (Los Angeles)
serviceNoData service: 'annualData', 'dailyData', 'quarterlyData', 'sampleData'. Default: annualData
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: authentication requirements ('Requires AQS_API_KEY and AQS_EMAIL'), data source ('EPA's Air Quality System'), signup information, and format constraints ('YYYYMMDD format'). It doesn't mention rate limits, pagination, or error handling, but covers essential operational context beyond basic functionality.

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 efficiently structured with purpose first, followed by parameter details, service options, state codes, constraints, and authentication requirements. Each sentence serves a clear purpose, though the parameter listing is somewhat dense. It could be slightly more front-loaded by moving authentication requirements earlier, but overall it's well-organized with minimal waste.

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 tool with 6 parameters, no annotations, and no output schema, the description provides substantial context: purpose, parameter semantics, service options, format constraints, authentication requirements, and even signup information. The main gap is lack of output format description, but given the tool's complexity and absence of structured metadata, the description does a commendable job of making the tool usable.

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%, providing detailed parameter documentation. The description adds value by explaining parameter code meanings (e.g., '14129' = 'Lead (Pb)'), listing all service options with explanations, and providing state code examples. However, it doesn't add significant semantic context beyond what's already well-documented in the schema descriptions, meeting the baseline for high schema coverage.

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 explicitly states the tool's purpose: 'Get air quality data from EPA's Air Quality System (AQS).' It specifies the data type ('annual summary data by state'), granularity ('county-level monitor readings'), and scope ('criteria pollutants'), making the verb+resource combination highly specific. It clearly distinguishes this tool from its sibling 'epa_aqs_daily' by mentioning multiple service types including 'dailyData', implying this tool is more comprehensive.

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?

The description provides clear context for when to use the tool by listing available parameters, services, and state codes, and specifying date constraints ('bdate/edate must be in same year'). However, it doesn't explicitly state when NOT to use this tool or name specific alternatives among the many sibling tools, though it implies differentiation from 'epa_aqs_daily' by including it as a service option.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lzinga/us-government-open-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server