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
latYesLatitude in decimal degrees, e.g. -33.87
lonYesLongitude in decimal degrees, e.g. 151.21
radius_kmNoSearch radius in km, default 25, max 500

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / lat / description
      Added value: +"Latitude in decimal degrees, e.g. -33.87"
    • addedInput schema / properties / lon / description
      Added value: +"Longitude in decimal degrees, e.g. 151.21"
    • addedInput schema / properties / radius_km / description
      Added value: +"Search radius in km, default 25, max 500"
  2. First observed

TDQS

A3.6/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 the safety profile is covered. The description adds genuine behavioral detail beyond that — which pollutants are returned and that results are ordered nearest first — but says nothing about empty results when no monitor is within radius, coverage gaps, or result limits for a mutation-free but spatially bounded query.

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?

A single sentence that front-loads the operation and resource, then the returned measurements, then the ordering guarantee. No filler and no restatement of the tool name.

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 no output schema, the description usefully enumerates the returned fields and their ordering, which is exactly what an agent needs to decide whether to call it. The remaining gap is edge-case behavior (no monitors in radius, pagination or result caps) for a 3-parameter geospatial query.

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 coverage is 100%, with lat/lon ranges, examples, and the radius default (25 km) and max (500 km) all documented in the schema. The description contributes no additional parameter meaning such as whether radius is a hard cutoff or a ranking bound, so the baseline 3 applies.

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 states a specific resource (air quality monitors) and scope (near a point), plus what data comes back (PM2.5, PM10, O3, NO2, SO2, CO and AQI). It implicitly differentiates itself from the plain 'sensors_air' sibling through the proximity constraint, but never names that alternative, so an agent must infer the split.

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 only implied by 'near a point' — the agent can infer this is the geospatial lookup tool rather than a global or historical one. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g. sensors_air for a non-located query).

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