Skip to main content
Glama
tyson-swetnam

EPA Air Quality System (AQS) MCP Server

aqs_sample_data_by_site

Retrieve raw air quality measurements from a specific monitoring site, including time, values, units, and quality flags for parameters like ozone or PM2.5. Limit date ranges to manage data size effectively.

Instructions

Get raw sample data for a specific monitoring site. WARNING: Sample data can be very large. Strongly recommend limiting date ranges to one week or one month. Returns individual sample measurements including time, value, units, and quality flags.

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.
stateYesTwo-digit FIPS state code (e.g., "06" for California, "36" for New York).
countyYesThree-digit FIPS county code (e.g., "037" for Los Angeles County).
siteYesFour-digit site code identifying the specific monitoring location.
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 warning about potential large data volumes and recommending date range limits. It also describes the return format (time, value, units, quality flags). However, it doesn't mention authentication requirements, rate limits, or error handling, which would be helpful for a data retrieval tool.

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?

The description is perfectly structured with a clear purpose statement, important warning, practical recommendation, and return format description - all in three efficient sentences. Every sentence adds value and the warning is appropriately front-loaded.

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 data retrieval tool with 8 parameters and no output schema, the description provides good context about data volume concerns and return format. However, it could benefit from mentioning authentication (implied by email/key parameters) and providing more guidance on when to use this versus aggregated summary tools. The schema documentation is excellent, which helps compensate.

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?

With 100% schema description coverage, the baseline is 3. The description doesn't add any parameter-specific information beyond what's already documented in the schema. It mentions date ranges generally but doesn't provide additional context about parameter relationships or constraints beyond the schema's excellent documentation.

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 a specific monitoring site'), distinguishing it from sibling tools like aqs_sample_data_by_box or aqs_sample_data_by_county that aggregate by different geographic boundaries. It specifies this returns individual sample measurements rather than summaries.

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 strong guidance on when to use this tool with the WARNING about data size and recommendation to limit date ranges to one week or one month. However, it doesn't explicitly mention when to choose this tool versus sibling tools like aqs_daily_summary_by_site or aqs_annual_summary_by_site that provide aggregated data.

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