Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

epa_air_quality

Read-only

Retrieve EPA air quality measurements for any state: ozone, PM2.5, CO, and more. Select annual, daily, quarterly, or raw data summaries by date range.

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
Behavior4/5

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

Annotations already provide readOnlyHint=true, and the description is consistent with that (no contradiction). Beyond the annotation, it adds valuable behavioral context: mandatory auth credentials with signup URL, the same-year date constraint, zero-padded FIPS codes, and what kind of data is returned. It does not cover pagination, rate limits, or error modes, but with the read-only annotation covering the safety profile, the added context earns a 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense, front-loaded paragraph with no filler, but roughly half of it duplicates the input schema: the parameter code list, the service list, and the FIPS examples all appear again in the property descriptions. The auth and date-constraint sentences earn their place, but the redundancy keeps it from being zero-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?

With 6 parameters, no output schema, and nontrivial service options, the description covers all major decision points: which service to select, which pollutant code to pass, date formatting and same-year restriction, and required credentials. It partially states what is returned ('county-level monitor readings') but omits pagination, response structure, and failure behavior, leaving it just short of a 5.

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% and each property is already richly documented — param codes with pollutant names, date format and same-year rule, FIPS examples, service list with defaults, and county examples. The description largely restates this schema content rather than adding new meaning, so it stays at the baseline 3; the only genuinely new information (API key/email requirement) is tool-level, not parameter-level.

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 opens with a specific verb+resource pair — 'Get air quality data from EPA's Air Quality System (AQS)' — and further clarifies scope with 'county-level monitor readings for criteria pollutants' plus the service list. It does not explicitly distinguish itself from sibling `epa_aqs_daily`, and the first sentence's 'annual summary data' slightly undercuts the wider service range (daily/quarterly/sample), so it misses the top score.

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 gives concrete when/how-to-use guidance: it explains how to choose among annual, daily, quarterly, and raw sample services; states that bdate/edate must be in the same year in YYYYMMDD format; documents 2-digit FIPS state codes with named examples; and flags the AQS_API_KEY/AQS_EMAIL credential requirement with a signup link. It does not mention when NOT to use it or name alternatives, so it lacks explicit exclusions.

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/cyntrica/gov-data-mcp'

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