Skip to main content
Glama
tyson-swetnam

EPA Air Quality System (AQS) MCP Server

aqs_sample_data_by_box

Retrieve air quality sample measurements from EPA monitoring sites within a geographic bounding box. Specify parameters, date range, and coordinates to access raw pollution data for analysis.

Instructions

Get raw sample data for all monitoring sites within a geographic bounding box. WARNING: Sample data can be very large depending on box size. Strongly recommend limiting date ranges to one week or one month. Returns individual sample measurements from all sites within the specified coordinates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoEmail address for API authentication. Optional if AQS_EMAIL environment variable is set.
keyNoAPI key for authentication. Optional if AQS_API_KEY environment variable is set.
paramYesParameter code (e.g., 44201 for Ozone, 88101 for PM2.5, 42401 for SO2, 42101 for CO, 42602 for NO2, 81102 for PM10).
bdateYesBegin date in YYYYMMDD format. Must be in the same calendar year as edate.
edateYesEnd date in YYYYMMDD format. Must be in the same calendar year as bdate.
minlatYesMinimum latitude of bounding box (decimal degrees, e.g., "33.0").
maxlatYesMaximum latitude of bounding box (decimal degrees, e.g., "34.5").
minlonYesMinimum longitude of bounding box (decimal degrees, e.g., "-118.5").
maxlonYesMaximum longitude of bounding box (decimal degrees, e.g., "-117.0").
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 critical behavioral traits: the WARNING about potentially large data returns, the recommendation to limit date ranges, and clarification that it returns 'individual sample measurements' (not summaries). It doesn't mention rate limits or authentication requirements, but those are covered in the schema.

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 sentences with zero waste: first states purpose, second provides critical warning and recommendation, third clarifies return format. The warning is appropriately front-loaded, and every sentence adds essential information for tool selection and usage.

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 9-parameter tool with no annotations and no output schema, the description provides good contextual completeness: it explains what the tool returns, warns about data volume, and gives usage recommendations. It could improve by mentioning authentication (though covered in schema) or providing more detail about the return structure, but it's largely adequate.

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 the baseline is 3. The description adds minimal parameter semantics beyond the schema—it mentions 'bounding box' and 'coordinates' which relate to the lat/lon parameters, but doesn't provide additional context about parameter interactions or usage patterns that aren't already in the schema descriptions.

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 clearly states the verb ('Get raw sample data') and resource ('for all monitoring sites within a geographic bounding box'), distinguishing it from sibling tools like aqs_sample_data_by_cbsa or aqs_sample_data_by_site that use different geographic scopes. It specifies 'individual sample measurements' to differentiate from summary tools.

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 with a WARNING about data size and recommends limiting date ranges, offering practical guidance for when to use it cautiously. However, it doesn't explicitly mention when to choose this tool over alternatives like aqs_sample_data_by_cbsa or aqs_sample_data_by_site, missing explicit sibling differentiation.

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/tyson-swetnam/aqs-mcp'

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