Skip to main content
Glama

Science Get Air Quality

science_get_air_quality
Read-onlyIdempotent

Check current air quality at a latitude/longitude. Returns US AQI score and category plus PM2.5, PM10, ozone, NO2, and CO levels.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "latitude": 40.7128,
      "longitude": -74.006
    },
    "name": "science_get_air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude in decimal degrees, e.g. 40.7128. Required, this tool does not geocode city names.
longitudeYesLongitude in decimal degrees, e.g. -74.006.

Output Schema

NameRequiredDescriptionDefault
pm10No
ozoneNo
pm2_5No
unitsNo
sourceNo
us_aqiNo
latitudeNo
longitudeNo
observed_atNo
aqi_categoryNo
carbon_monoxideNo
nitrogen_dioxideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / latitude / description
      Previous value: -"Latitude in decimal degrees, e.g. 40.7128. Required — this tool does not geocode city names."New value: +"Latitude in decimal degrees, e.g. 40.7128. Required, this tool does not geocode city names."
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered. The description adds that results are 'current' (not historical/forecast) and lists the returned pollutants, but omits data source, spatial resolution, and latency, which matter for an open-world data lookup.

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?

Two sentences, zero filler: the first defines the operation and its input, the second defines the output. Nothing is redundant or buried.

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 an output schema present, the description need not detail return structure, and both parameters are fully documented. The remaining gap is modest: no mention of data source, refresh cadence, or geographic coverage limits for a read-only open-world lookup.

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 already states decimal degrees with examples and the no-geocoding constraint. The description only restates 'latitude/longitude' without adding format, range, or precision guidance, so the baseline of 3 applies.

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?

States a specific verb ('Check'), resource ('current air quality'), and scope ('at a latitude/longitude'), then enumerates exactly what comes back (US AQI score and category plus five pollutants). No sibling tool in the list covers air quality, so no disambiguation is needed and an agent can select this unambiguously.

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 by the 'current air quality' phrasing and the coordinate requirement, but the description never says when to prefer this tool, what its coverage limits are, or that city names are not accepted (that constraint lives only in the schema). It is adequate rather than instructive.

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.