Skip to main content
Glama

Aqs Sample Data

aqs_sample_data
Read-onlyIdempotent

Raw measured air-pollutant sample values from EPA AQS for a date range — the regulatory record, by site, county, state or CBSA. AUTHORITATIVE for "what was the actual ozone/PM2.5/lead concentration here on these dates"; this is the quality-assured archive, not the provisional real-time AQI. Sourced from the EPA Air Quality System. Requires an EPA AQS email + key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNoGeography: "state" (default), "county", "site", "cbsa", "box"
bboxNoFor by=box: "minLon,minLat,maxLon,maxLat"
cbsaNoFive-digit CBSA code — required for by=cbsa
siteNoFour-digit site number — required for by=site
bdateYesStart date YYYY-MM-DD (converted to the AQS YYYYMMDD form for you)
edateYesEnd date YYYY-MM-DD — must be in the SAME calendar year as bdate
emailNoThe email the AQS key was issued to, if not folded into _apiKey
limitNoMax sample rows to return (default 200, max 2000)
paramYesPollutant parameter code(s), comma-separated, max 5. e.g. "44201" (ozone), "88101" (PM2.5), "42401" (SO2), "14129" (lead)
stateNoTwo-digit state FIPS — required for by=state/county/site
countyNoThree-digit county FIPS — required for by=county/site
_apiKeyNoEPA AQS credential as "<email>:<key>", or just "<key>" with email= set. Register at https://aqs.epa.gov/data/api/signup?email=<your-email>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered. The description still adds non-obvious context: the EPA AQS credential requirement, the data provenance, and the important distinction that this is the quality-assured archive rather than live AQI. It stops short of describing pagination or return row shape.

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

Conciseness5/5

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

Three tight sentences, front-loaded with what the tool returns, then why it is authoritative, then the auth prerequisite. Every sentence earns its place; no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter read tool with no output schema, the description covers provenance, authority, auth requirements, and geographies; pagination/limit behavior is the only mild gap, and limit semantics are documented in the schema.

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 parameter meaning is fully carried by the schema (including the same-calendar-year constraint and param code examples). The description adds no parameter-level detail beyond what the schema already states, which is the expected baseline when the schema does the heavy lifting.

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 specific verb+resource and scope: 'Raw measured air-pollutant sample values from EPA AQS for a date range', plus the geographic grouping (site/county/state/CBSA). It also carves out a clear identity versus a sibling concern ('not the provisional real-time AQI'), so an agent can distinguish it from aqs_annual_summary/aqs_monitors without opening schemas.

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?

Gives an explicit selection rule: use this as the AUTHORITATIVE, quality-assured archive when you need actual concentrations on specific dates, as opposed to provisional real-time AQI. It does not, however, name the sibling tools (aqs_annual_summary, aqs_monitors) or say when to prefer them, so routing among the AQS family is left to inference.

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.