Skip to main content
Glama

sensors_air_near

Read-only

Air quality monitors near a point with latest readings (PM2.5, PM10, O3, NO2, SO2, CO) and AQI, nearest first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "sensors_air_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
radius_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful behavioral detail beyond that -- it returns latest readings plus AQI, sorted nearest first -- but says nothing about how many monitors are returned, how radius affects results, or rate limits.

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?

A single compact sentence that front-loads the core resource and then lists returned fields and ordering. Nothing is wasted, though the pollutant enumeration consumes space that could have gone to parameter or scope detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description helpfully names the return fields and ordering. However, for a geospatial query tool it omits result-count limits and the meaning of radius_km, so an agent cannot fully predict the call's behavior from the definition.

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

Parameters2/5

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

Schema description coverage is 0% for three parameters, so the description must carry the burden and largely does not. 'Near a point' weakly implies lat/lon, but radius_km is never mentioned, nor its units, default (25 km), or 500 km cap, leaving the key search-scope parameter semantically unexplained.

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?

The description names a specific verb-resource pair ('Air quality monitors near a point') and enumerates the returned measurements (PM2.5, PM10, O3, NO2, SO2, CO, AQI). The words 'near a point' distinguish it from a general air-quality sibling such as sensors_air, 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit statement of when to use this versus alternatives like sensors_air or sensors_stations_near, and no prerequisites or exclusions. Usage is only implied by the geospatial phrasing 'near a point'.

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.

Resources