Skip to main content
Glama

Aviation Weather — METAR Observation

aviationweather.observation.metar
Read-onlyIdempotent

Fetch the latest METAR (Meteorological Aerodrome Report) for one or more ICAO airport stations. Returns decoded fields: temperature, dewpoint, wind direction and speed, visibility, altimeter setting, sea-level pressure, sky cover, cloud layers, present weather, and flight category (VFR/MVFR/IFR/LIFR). Also includes the raw METAR string. Data updated every 20–60 minutes. Source: NOAA Aviation Weather Center — US Government public domain, no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesComma-separated ICAO airport codes to retrieve METAR for (e.g. "KJFK", "KJFK,KLAX,EGLL"). Maximum ~10 stations per call.
hours_backNoHow many hours back to look for the most recent METAR observation (1–24, default 1). Use 3–6 if a station may not have reported in the last hour.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuine value beyond annotations: data freshness cadence (20–60 minutes), data provenance (NOAA Aviation Weather Center), licensing/public-domain status, and the explicit 'no auth required' note. It also lists decoded output fields, giving behavioral detail without contradicting any annotation.

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?

Four tightly scoped sentences, each earning its place: the action, the decoded return fields, the freshness cadence, and the source/auth statement. The description is front-loaded with the verb and resource, and there is zero filler or repetition of schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema covers return structure, annotations cover the read-only/idempotent safety profile, the schema documents parameter edge cases (station limit, hours_back bounds), and the description covers freshness, source, licensing, and auth. Nothing an agent needs to invoke this tool correctly is missing.

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% — both ids and hours_back carry detailed descriptions with examples ('KJFK,KLAX,EGLL'), validation bounds (1–24), default (1), and usage guidance ('Use 3–6 if a station may not have reported in the last hour'). The description's mention of 'one or more ICAO airport stations' mirrors the ids parameter but adds no new semantic weight. Baseline 3 is appropriate since the schema does the heavy lifting.

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?

The description uses a specific verb ('Fetch') with a concrete resource ('latest METAR... for one or more ICAO airport stations') and expands the acronym for disambiguation. It enumerates the decoded fields returned (temperature, wind, visibility, flight category, raw string), which precisely characterizes the tool's output and distinguishes it from meteorological siblings like TAF-forecast and PIREP tools.

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 description establishes clear context — this is for the latest current conditions ('Data updated every 20–60 minutes') rather than forecasts — but it never names alternatives or states when not to use it. With closely overlapping siblings like aviation.metar.current and checkwx.metar.decoded, explicit routing (e.g., 'use the TAF tool for forecasts') is absent; the usage guidance lives only implicitly in the schema's hours_back description rather than in the tool description.

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.