Skip to main content
Glama

Airquality Get Forecast

airquality_get_forecast
Read-onlyIdempotent

Get hourly air quality forecast for a location. Returns US AQI, PM2.5, and PM10 predictions. Use to plan activities or alert users to upcoming poor air conditions.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "days": 3,
      "latitude": 40.7128,
      "longitude": -74.006
    },
    "name": "airquality_get_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of forecast days (1-7, default 3).
latitudeYesLatitude of the location.
longitudeYesLongitude of the location.

Output Schema

NameRequiredDescriptionDefault
hoursYesHourly air quality forecast
latitudeYesLatitude of the location
longitudeYesLongitude of the location

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds the genuinely useful detail that results are hourly rather than daily, which is not in the schema. It does not cover anything about units, data freshness, upstream rate limits, or behavior for out-of-coverage coordinates, so it adds modest value over the structured fields.

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?

Two short sentences, front-loaded with the core action and scoped with a use case; nothing is padded. The third clause enumerating returned metrics is slightly redundant given an output schema exists, which is the only thing keeping it from a 5.

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 an output schema, full parameter coverage, and rich annotations, the description carries only the load it needs to: what the tool produces and roughly when to reach for it. The remaining gap is competitive positioning against the non-forecast air quality sibling, which the agent would otherwise have to infer from names alone.

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%, with each parameter documented including the 'days' range (1-7, default 3) and example payloads, so the baseline of 3 applies. The description adds no parameter guidance beyond the schema — it does not say how the day range interacts with the hourly granularity or what happens at the 7-day limit.

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 hourly air quality forecast for a location') and names the concrete outputs (US AQI, PM2.5, PM10). The 'hourly forecast' framing implicitly separates it from the sibling airquality_get_air_quality, but the definition never states that contrast explicitly, so it stops short of full sibling differentiation.

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?

Offers a usage context ('plan activities or alert users to upcoming poor air conditions'), which implies when the tool is appropriate. It gives no explicit when-not guidance, no mention of preferring a current-conditions tool when a forecast is unnecessary, and no note about the 1-7 day horizon as a selection factor (that lives only in the schema).

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.