Skip to main content
Glama

weather_canada_air_quality

Read-only

Canada air quality (AQHI) now + 48h forecast — Official Environment and Climate Change Canada Air Quality Health Index for the nearest of ~125 Canadian AQHI communities to lat, lon (or location= community name, e.g. Toronto): current AQHI with Low/Moderate/High/Very High category and health advice for the general and at-risk population, the latest hourly AQHI forecast (up to 48h) with peak hour, and any special notes. 404 if no AQHI community within 250 km. Falls back to the last good observation set (flagged stale) if the live feed is down. Price: $0.003 USDC (Base, via x402).

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": "weather_canada_air_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes43.65
lonYes-79.38

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is known. The description still adds real behavioral context beyond them: the 250 km 404 cutoff, the stale-fallback behavior, the returned fields (category, health advice tiers, peak hour, special notes), and per-call pricing. It stops short of describing update cadence or how the stale flag is surfaced in the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what the tool returns, and most clauses carry real information (return fields, 404 threshold, fallback, price). But it is one long run-on sentence bundling purpose, error semantics, reliability behavior and billing, and the unsupported location alternative is a costly inclusion rather than 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 correctly enumerates the return payload, and it covers failure and degradation modes, so an agent can predict results. The main completeness gap is the phantom location parameter, which leaves the calling contract ambiguous for a tool whose schema requires lat and lon.

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

Parameters4/5

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

Schema coverage is 100%, so the two required parameters are documented structurally, and the description supplies the missing meaning: lat/lon resolve to the nearest of ~125 communities. However, it also advertises an 'or location= community name, e.g. Toronto' mode that does not exist in the input schema, which could lead an agent to send an unsupported parameter. That inconsistency pulls the score below the top band.

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 and resource (official ECCC Air Quality Health Index), its scope (nearest of ~125 AQHI communities to lat/lon), and exactly what is returned: current AQHI with category and health advice, plus up to 48h hourly forecast with peak hour. It is clearly distinguishable from sibling weather_canada* tools that cover other Canadian datasets.

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?

Gives concrete operating conditions: coordinates select the nearest AQHI community, a 404 means no community within 250 km, and a stale-flagged fallback is served when the live feed is down. It does not name the sibling to use instead for non-AQHI Canadian weather, so an agent must infer the boundary from the sibling names alone.

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