Skip to main content
Glama

EPA AQS Annual Air Quality

epa_aqs.air_quality.get_annual_data
Read-onlyIdempotent

Annual summary air quality statistics (mean, percentiles, exceedances, completeness) per EPA monitor in a US county for a calendar year and pollutant(s). Source: US EPA AQS.

Input Schema

NameRequiredDescriptionDefault
stateYes2-digit state FIPS code (e.g. "06" California, "36" New York)
countyYes3-digit county FIPS code (e.g. "037" Los Angeles County; see epa-aqs.list_counties)
end_dateYesEnd date (must be in the same calendar year as begin_date) as YYYYMMDD (e.g. "20240101")
max_rowsNoMaximum number of rows to return (1-1000, default 200)
begin_dateYesBegin date as YYYYMMDD (e.g. "20240101")
parameter_codesYesAQS parameter code(s), comma-separated, max 5 (e.g. "88101" PM2.5, "44201" ozone, "42101" CO; see epa-aqs.list_parameters)

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds that the payload is aggregated statistics (mean/percentiles/exceedances/completeness) and names the source system, but says nothing about data latency, coverage limits, or the 1000-row cap 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?

A single front-loaded sentence with no filler: resource first, then scope, then source attribution. The parenthetical statistics list is dense but all of it earns its place by telling the agent what the rows contain.

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 six parameters, a required set of five, a full output schema, and rich annotations, the description covers what is returned and the geographic/temporal scope adequately. What is missing is minor: guidance on obtaining FIPS/parameter codes and any note on result caps or data freshness.

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 the schema documents FIPS formats, YYYYMMDD dates, the same-calendar-year constraint, the comma-separated parameter-code list, and the max_rows bound. The description only restates county, calendar year, and pollutants at a high level, adding no syntax or format detail beyond the schema — the expected baseline of 3.

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 names a specific resource ('Annual summary air quality statistics') with an explicit scope — per EPA monitor, US county, calendar year, pollutant(s) — and lists the statistics produced (mean, percentiles, exceedances, completeness). It does not explicitly contrast itself with the sibling get_daily_data, though the annual/daily distinction is inferable.

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?

Usage is only implied: 'annual' versus the sibling daily endpoint, and 'per EPA monitor in a US county' implies the county-scoped use case. There is no explicit when-to-use statement, no prerequisite note (e.g. obtain FIPS via list_counties, codes via list_parameters), and no exclusion of alternatives.

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.