Skip to main content
Glama

Aqs Annual Summary

aqs_annual_summary
Read-onlyIdempotent

EPA AQS annual summary statistics for a pollutant and area — arithmetic mean, maximum, 98th/99th percentile, exceedance counts, observation completeness and the certification status behind each. This is what attainment and trend statements are built on. 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
siteNoFour-digit site number
bdateYesStart date YYYY-MM-DD
edateYesEnd date YYYY-MM-DD — same calendar year as bdate
emailNoThe email the AQS key was issued to, if not folded into _apiKey
limitNoMax summary rows to return (default 200, max 2000)
paramYesPollutant parameter code(s), comma-separated, max 5, e.g. "44201"
stateNoTwo-digit state FIPS
countyNoThree-digit county FIPS
_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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds value by disclosing the auth prerequisite (EPA AQS email + key) and the nature of the returned content (certification status behind each statistic). It stops short of pagination/rate-limit behavior, but the auth requirement is genuinely useful context not present in the annotations.

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?

Four short sentences, front-loaded with the resource and its outputs, then context and the auth requirement. Slight redundancy between 'EPA AQS annual summary' and 'Sourced from the EPA Air Quality System', but no real 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 12-parameter, no-output-schema read tool, the description covers what is returned, the analytical purpose, and the auth requirement. The return-value enumeration compensates for the missing output schema; only routing among sibling AQS tools is left implicit.

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 coverage is 100% with rich per-parameter descriptions (by, bbox, cbsa, site, bdate/edate, limit, param, _apiKey), so the schema does the heavy lifting. The description only references 'a pollutant and area' generically and adds no syntax or constraint detail beyond the schema.

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?

States a specific verb+resource: annual summary statistics for a pollutant and area, and even enumerates the statistics returned (mean, max, percentiles, exceedance counts, completeness, certification). An agent can distinguish it from aqs_sample_data and aqs_monitors by the 'annual summary' framing, though no sibling is named explicitly.

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 implied rather than stated: 'This is what attainment and trend statements are built on' hints at the analytical context, but there is no explicit when-to-use, when-not, or alternative (e.g., aqs_sample_data for raw observations). An agent must infer the routing.

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.