Skip to main content
Glama
GeoSphere MCP Server

GeoSphere MCP Server

by Singh-Akesh

get_air_quality

Retrieve current air quality index and pollutant concentrations—AQI, PM2.5, PM10, CO, NO₂, SO₂, ozone, and dust—for any location by latitude and longitude.

Instructions

    Get current air quality index and pollutant concentrations for any location on Earth.

    Args:
        latitude:  Decimal degrees latitude.
        longitude: Decimal degrees longitude.

    Returns:
        European AQI, US AQI, PM2.5, PM10, CO, NO₂, SO₂, ozone levels, and dust.
    

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "get_air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYes
longitudeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose the returned payload (European AQI, US AQI, PM2.5, PM10, CO, NO₂, SO₂, ozone, dust), which is meaningful given there is no output schema. It omits units, data freshness/cadence, auth or rate-limit behavior, and what happens for locations with no monitoring coverage.

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?

Front-loaded one-line summary followed by clearly separated Args and Returns sections; every line adds at least a unit or a return field. The Args block is slightly boilerplate in restating parameter names, but nothing is wasteful.

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 simple two-required-parameter read tool with no output schema, the description covers purpose, both inputs, and the full return payload. Remaining gaps are units for pollutant concentrations and coordinate range validation, which are secondary but not trivial.

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 0%, so the schema only supplies bare titles 'Latitude' and 'Longitude'; the description adds the format 'decimal degrees', which is genuine added meaning. It does not give valid ranges (-90..90 / -180..180), precision expectations, or coordinate-ordering guidance, so it only partially compensates for the coverage gap.

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?

States a specific verb and resource (get current air quality index and pollutant concentrations) plus the scope 'any location on Earth', so the agent knows exactly what it retrieves. It does not explicitly contrast itself with nearby siblings like get_weather or get_weather_history, which would have earned a 5.

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?

The word 'current' implicitly scopes usage to present-time lookups rather than historical ones, which is the main routing signal against get_weather_history. However, there is no explicit when-to-use, when-not-to-use, or named alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.