Skip to main content
Glama

Hermes — Air Quality Intelligence

regulatory_stats

Get LAQM Annual Status Report-style statistics for a location.

Returns annual means, percentiles, exceedance counts, data capture percentages, and compliance assessment against UK legal limits and WHO guidelines.

Args: location: Postcode, place name, or "lat,lon". year: Calendar year to report on (default: most recent complete year). pollutants: Optional filter, e.g. ["NO2", "PM2.5"]. Default: all available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo
locationYes
pollutantsNo

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses default behaviors for year and pollutants, and lists the returned metrics. This goes beyond a simple 'Get statistics' statement, though it does not discuss edge cases like invalid locations or data completeness.

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 compact, front-loaded with the main purpose, then lists return values and parameters in a clean inherited Argparse style. Every sentence adds value, and the parameter details are organized effectively without unnecessary fluff.

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 tool with no output schema and three parameters, the description covers the key inputs and outputs: it spells out parameter formats/defaults and enumerates the metrics returned. It does not specify the exact structure of the compliance assessment (e.g., boolean, string), but the information is sufficient for an agent to understand the tool's scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides only titles and types (0% description coverage), so the description must compensate. It defines location as 'Postcode, place name, or "lat,lon"', explains the year default as 'most recent complete year', and clarifies pollutants as an optional filter with an example. This is highly informative and goes well beyond the schema.

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 starts with a specific verb 'Get' and a clear resource: 'LAQM Annual Status Report-style statistics for a location.' It enumerates the exact outputs (annual means, percentiles, exceedance counts, data capture percentages, compliance assessment) and distinguishes itself from siblings like get_aqi_summary or chart_aq_trend, which focus on different aspects of air quality data.

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 implies usage context by detailing the statistical outputs and compliance assessment, making it clear this tool is for regulatory-style reporting. However, it does not explicitly mention when_not to use it or name alternative tools, so it falls short of a 5.

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.

TDQS

A4/5.0
Disambiguation3/5

Three tools (assess_location_aq, get_current_aq, get_aqi_summary) all provide current air quality and health context, creating potential misselection. The assess tool is positioned as the default entry point, but the boundaries between detailed readings, AQI summary, and comprehensive assessment could confuse an agent. Other tools are more clearly distinct.

Naming Consistency4/5

Most tools follow a verb_noun pattern (get_current_aq, list_monitors, chart_aq_trend), but three use noun phrases (regulatory_stats, time_patterns, trend_analysis). The kb_ prefix is used consistently for knowledge base lookups. Overall conventions are mostly consistent with minor deviations.

Tool Count5/5

15 tools is at the upper end of the ideal range and each serves a distinct function within the air quality domain, from current conditions to historical trends, comparisons, and regulatory compliance. No tool feels redundant, and the count is appropriate for the server's stated purpose.

Completeness5/5

The tool set covers current conditions, historical data, trend analysis, temporal patterns, location comparisons, regulatory statistics, monitor discovery, and a knowledge base for guidelines, health effects, and practical advice. This is a comprehensive surface with no glaring missing operations for the domain.

Resources