Skip to main content
Glama

Get METAR

get_metar
Read-onlyIdempotent

Return the latest METAR for one ICAO, or several ids in one call. Use for observation-only weather. Use get_taf for forecasts. Use get_airport_conditions when you also need D-ATIS or a recent transcript. Pass icao or ids, not both.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_metar"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoOptional ICAO list when you need more than one METAR. Example: ["KSFO", "KLAX"]. Do not pass icao at the same time. Max 10.
icaoNoOne ICAO, or a comma-separated list up to 10. Example: KSFO or KSFO,KLAX

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/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 by structured data. The description adds the freshness guarantee ('latest') and the mutual-exclusion rule for the two identifier parameters, but says nothing about rate limits, staleness, or what happens when no METAR exists for an ICAO.

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 short sentences, each doing distinct work: capability, primary use case, two sibling routes, and the key argument constraint. Front-loaded with the capability and free of filler.

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 no output schema and only two well-described optional parameters, the description covers what an agent needs to invoke it, and annotations carry the safety profile. The one gap is that both parameters are optional per the schema while the description implies exactly one must be supplied, leaving the no-argument case ambiguous.

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 both parameters are already documented with examples and a max of 10, which sets the baseline at 3. The description reinforces the 'icao or ids, not both' rule and the single-vs-multi distinction, but adds no syntax or format detail beyond what the schema already provides.

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 ('Return the latest METAR') plus the accepted identifier shapes (one ICAO or several ids in one call). It immediately distinguishes itself from get_taf and get_airport_conditions by naming both as alternatives, so an agent can route correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance ('observation-only weather') and two explicit alternatives with their selecting conditions: get_taf for forecasts, get_airport_conditions when D-ATIS or a transcript is also needed. No inference is required to pick the right tool.

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