Skip to main content
Glama

LuftFly Travel & Airport Data

Airport weather

airport_weather
Read-onlyIdempotent

Weather for an airport: current METAR, TAF, multi-day forecast (daily or next 24 hours hourly) and monthly climate normals. METAR/TAF only exist for airports with a weather station; forecasts cover about 1,150 large airports.

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": {
      "code": "<code>"
    },
    "name": "airport_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesAirport IATA (YUL) or ICAO (CYUL) code.
partsNoDefault: observation and forecast.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, open-world, idempotent, non-destructive call, so the safety profile is covered. The description adds genuinely new behavioral context: the two independent coverage domains (station-based observation/TAF vs. the ~1,150-airport forecast set), which explains why some requested parts can come back empty. It stops short of describing response structure or units, which matters somewhat given there is no output schema.

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?

Two sentences, zero filler, and the payload list is front-loaded before the coverage caveat that qualifies it. Each clause carries information the agent would otherwise have to guess.

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 two-parameter read tool with no output schema, the definition covers what data is available, the default selection, and the availability constraints that cause missing sections. A brief note on return shape (units or how parts are keyed in the response) would close the remaining gap.

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 the schema already documents the code format and the default for parts. The description does add plain-language meaning to the enum values (METAR as 'current', forecast as 'daily or next 24 hours hourly', climate as 'monthly climate normals'), but the enum identifiers are largely self-explanatory and the mapping is only indirectly stated rather than tied explicitly to part names. Baseline 3 is appropriate.

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 resource (airport weather) and enumerates the exact payloads returned: current METAR, TAF, multi-day forecast (daily or 24-hour hourly), and monthly climate normals. This is clearly distinguishable from siblings like flight_info, airport_overview, and best_time_to_visit without opening any schema.

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?

The coverage caveats ('METAR/TAF only exist for airports with a weather station; forecasts cover about 1,150 large airports') tell the agent when this tool will produce empty or partial results, which is real usage guidance. It does not, however, name an alternative tool for the case where an airport lacks station coverage, so routing is left implicit.

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