aviationweather.observation.metar
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/L...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/aviationweather.observation.metar.md
What aviationweather.observation.metar does on Apibase
AI agents call aviationweather.observation.metar to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
ids | string | Yes | Comma-separated ICAO airport codes to retrieve METAR for (e.g. "KJFK", "KJFK,KLAX,EGLL"). Maximum ~10 stations per call. |
hours_back | integer | — | How 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. |
Parameters from the server's own tool schema.
Why aviationweather.observation.metar is rated Low
Retrieves public aviation weather observations without modifying data or executing commands.
From the tool's definition Fetch the latest METAR, Returns decoded fields, Data updated every 20–60 minutes.
Risk signalsBulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs aviationweather.observation.metar safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For aviationweather.observation.metar, this is the rule to start with:
aviationweather.observation.metar is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every aviationweather.observation.metar call is checked against it from then on.
Questions about aviationweather.observation.metar
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. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
aviationweather.observation.metar accepts 2 parameters: ids, hours_back. Required: ids. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for aviationweather.observation.metar: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
aviationweather.observation.metar is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the aviationweather.observation.metar rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for aviationweather.observation.metar. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
aviationweather.observation.metar is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue