Skip to main content
Glama

x402_airquality_get_v1_aq

Fetch AQI, PM2.5, and ozone data for specified coordinates to assess local air quality and support environmental monitoring.

Instructions

airquality — Air quality index and pollutants (Open-Meteo Air Quality API, free). Use when an agent needs AQI, PM2.5, ozone for coordinates. [GET /v1/aq] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/aq?lat=52.52&lon=13.41&hourly=us_aqi%2Cpm2_5

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_airquality_get_v1_aq"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.6/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 add valuable unannotated facts: the call is paid ($0.005 USDC), the accepted networks (eip155:8453/137/42161/480), and the raw HTTP path. But it says nothing about payment/authorization mechanics, what happens if payment or the upstream call fails, or rate limits, which matters for a paid tool, and the restart/operationId dedupe semantics live only in the schema.

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?

Three dense sentences that front-load purpose, then trigger condition, then endpoint/price/example. The compact network string "eip155:8453+137+42161+480" is somewhat cryptic but space-efficient, and no sentence is filler.

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 should convey something about the shape of returned air-quality data; it only says "AQI and pollutants" and gives a request example, leaving the response structure (time series vs. current, units, field names) undisclosed. Payment and retry behavior for a paid, mutating-by-cost call are also left thin given the absence of annotations.

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%, so structured fields already document body, query, restart, and operationId, which sets the baseline at 3. The example "/v1/aq?lat=52.52&lon=13.41&hourly=us_aqi%2Cpm2_5" adds modest value by showing concrete query keys and an encoded list format, but the description never explains what the generic query/body envelopes accept or how they map to the endpoint.

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?

Description names a specific resource family, "Air quality index and pollutants," with the upstream source (Open-Meteo Air Quality API) and the concrete endpoint GET /v1/aq. An agent can identify the domain instantly; the only gap is that differentiation from siblings rests on the namespace prefix rather than any explicit statement.

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?

"Use when an agent needs AQI, PM2.5, ozone for coordinates" states the triggering condition clearly and tells the agent what inputs it must have (coordinates). It stops short of naming when not to use it or pointing at any alternative tool, so it is clear context without exclusions.

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

Deploy Server

Other Tools