Skip to main content
Glama

Aviation weather (METAR)

get_metar
Read-onlyIdempotent

Retrieves aviation METAR weather for an airport by ICAO code or city name, returning decoded flight category, wind, visibility, clouds, and altimeter data, with Finnish station fallback.

Instructions

Get aviation weather (METAR) for an airport. Returns raw METAR string plus decoded values including flight category, wind, visibility, clouds, and altimeter. Accepts ICAO codes or Finnish city names. For Finnish airports, falls back to the airport weather station observation from the Finnish Meteorological Institute if METAR is unavailable.

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": {
      "station": "<station>"
    },
    "name": "get_metar"
  }
}

Input Schema

NameRequiredDescriptionDefault
stationYesICAO airport code (e.g. "EFHK") or city name with a known ICAO code

Output Schema

NameRequiredDescriptionDefault
rawNoraw METAR (kind = metar)
kindYesfmi_observation = METAR unavailable, airport weather station observation instead (not a METAR)
cloudsNo
sourceYes
stationYesICAO code
weatherNo
dewPointNo
pressureNohPa
altimeterNohPa
windGustsNom/s
windSpeedNom/s
cloudCoverNo% (FMI observation)
fmiStationNo
visibilityNometres
temperatureNo
fmiDistanceKmNo
windDirectionNo
flightCategoryNo
observationTimeNoISO 8601, UTC
visibilityOrMoreNovisibility is a lower bound (9999, CAVOK, P6SM)
metarUnavailableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds genuine extra context: raw string plus decoded flight category, wind, visibility, clouds and altimeter, and a documented fallback to FMI station observations for Finnish airports when METAR is unavailable. It stops short of describing error behavior (e.g., unknown station) which would have pushed it higher.

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?

Three sentences, each earning its place: purpose, return contents, accepted input forms, then the fallback caveat. Front-loaded with the core action and no redundant restatement of the title.

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 present, the return description is a bonus rather than a necessity, and the fallback path is disclosed. What remains unstated is failure behavior for an unknown or unresolvable station, a minor gap for a single-parameter lookup tool.

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 coverage is 100% and the single parameter is already documented with an ICAO example, so the schema does the heavy lifting. The description adds modest value by clarifying that Finnish city names specifically are accepted, but provides no format or normalization guidance beyond that.

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?

The description opens with a specific verb and resource ("Get aviation weather (METAR) for an airport") and enumerates the decoded fields returned, so the agent knows exactly what it retrieves. It does not explicitly differentiate itself from the sibling get_current_weather, leaving the aviation-vs-general distinction to be inferred.

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?

Usage is implied by the aviation framing and the note that Finnish city names are accepted, but there is no explicit statement of when to prefer this over get_current_weather or get_weather_forecast. The Finnish fallback sentence describes behavior rather than selection criteria.

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