Skip to main content
Glama

Airport status (alias of get_travel_data)

get_airport_data
Read-onlyIdempotent

Use this when a travel agent needs US airport status: one-airport briefing (kind="intuitive", the default; pass airport=SFO or omit to default to SFO), delay breakdown and recent history (kind="stats"), a multi-airport or origin/destination delay-risk compare including destination weather (kind="pro"; pass origin and destination or airports=SFO,JFK), or ground stop / GDP / severe-weather flags with a Data BitScore (kind="signals"). Informational only, not a delay prediction, and not for navigation. Example: get_travel_data(kind="intuitive", airport="SFO"). Not endorsed by aviation or weather agencies. get_airport_data is a deprecated alias of this tool. Returns JSON in the data field with source attribution. Read-only; the only side effect is the payment you choose to make. Kinds and prices:

  • kind="intuitive": 10 sats or $0.01 USDC. Use this when a travel agent needs one airport briefing before a departure or connection. Pass airport (IATA or ICAO, e.g. SFO); omit to default to SFO. Returns delays, closures, current weather and alerts. Not for navigation. Example: GET /api/v1/data/travel_intuitive?airport=SFO or MCP get_travel_data(kind="intuitive"). 10 sats or $0.01 USDC.

  • kind="stats": 50 sats or $0.05 USDC. Use this when a travel agent needs the breakdown of why an airport is delayed (cause and FAA program) and how that has changed in recent snapshots. Pass airport (IATA or ICAO); omit to default to SFO. Informational only, not for navigation. Example: GET /api/v1/data/travel_stats?airport=SFO or MCP get_travel_data(kind="stats", airport="SFO").

  • kind="pro": 100 sats or $0.10 USDC. Use this when a travel agent is comparing two or more US airports, or an origin and destination, and needs an informational delay-risk estimate that includes destination weather. Pass origin and destination, or airports=SFO,LAX. Informational only, not a prediction of an actual delay, and not for navigation.

  • kind="signals": 200 sats or $0.20 USDC. Use this when a monitoring or travel agent must know whether a US airport has a ground stop, a ground delay program (GDP), a closure, or a severe-weather flag. Pass airport (IATA or ICAO); omit to default to SFO. Returns flags, supporting events and a Data BitScore. Feedable with the airport_delay trigger. Informational only, not for navigation. Payment: Pay by calling without a credential, paying the Lightning invoice or the USDC amount, then retrying with l402_credential=':' or x402_payment. One payment buys one response. Details: https://api.bittuitive.ai/pay. Informational only; not financial, investment, legal or tax advice; provided as-is, with no warranty; verify before acting. https://api.bittuitive.ai/disclaimer. Deprecated alias of get_travel_data.

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_airport_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
iataNoAlias of airport.
icaoNoAlias of airport.
kindNoProduct to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to "intuitive".
originNoOrigin airport for kind=pro.
airportNoUS airport IATA (SFO) or ICAO (KSFO) code. Optional; defaults to SFO for intuitive, stats and signals.
airportsNoComma-separated airports for kind=pro, e.g. SFO,JFK.
destinationNoDestination airport for kind=pro.
credit_tokenNoPrepaid token (btf_..., from buy_credits). Pays this call from your prepaid sats or USDC balance with no invoice; a failed call is refunded. Balance is non-refundable.
x402_paymentNox402 payment (USDC on Base): base64 PaymentPayload signed for accepts[0] of the payment_required result. Alternative to l402_credential; also accepted in params._meta['x402/payment'].
l402_credentialNoL402 credential '<macaroon>:<preimage_hex>' from a paid invoice (or an active subscription). Omit it on the first call to receive the Lightning invoice and macaroon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / airport / description
      Previous value: -"US airport IATA (SFO) or ICAO (KSFO) code. Optional; defaults to SFO."New value: +"US airport IATA (SFO) or ICAO (KSFO) code. Optional; defaults to SFO for intuitive, stats and signals."
    • addedInput schema / properties / airports
      Added value: +{
      +  "description": "Comma-separated airports for kind=pro, e.g. SFO,JFK.",
      +  "type": "string"
      +}
    • addedInput schema / properties / destination
      Added value: +{
      +  "description": "Destination airport for kind=pro.",
      +  "type": "string"
      +}
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "intuitive"
      -]New value: +[
      +  "intuitive",
      +  "stats",
      +  "pro",
      +  "signals"
      +]
    • addedInput schema / properties / origin
      Added value: +{
      +  "description": "Origin airport for kind=pro.",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / airport / description
      Previous value: -"US airport IATA (SFO) or ICAO (KSFO) code. Required for kind=report; optional filter for kind=delays."New value: +"US airport IATA (SFO) or ICAO (KSFO) code. Optional; defaults to SFO."
    • changedInput schema / properties / kind / description
      Previous value: -"Product to fetch. Every kind, its price and when to use it are listed in the tool description."New value: +"Product to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to \"intuitive\"."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "delays",
      -  "report"
      -]New value: +[
      +  "intuitive"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "kind"
      -]New value: +[]
  3. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"Which product to fetch; see the price of each in the tool description."New value: +"Product to fetch. Every kind, its price and when to use it are listed in the tool description."
  4. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds real context beyond them: per-kind pricing, the l402/x402 payment handshake with credential format, 'one payment buys one response', and the return envelope ('JSON in the `data` field with source attribution'). The repeated 'Informational only, not for navigation' caveats are useful but over-applied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The per-kind bullets are well structured and front-loaded, but the text is bloated by repetition: 'Informational only, not for navigation' appears roughly six times, each kind's price is stated twice within the same bullet, and the deprecation is announced both at the top and bottom. Many sentences do not earn their place.

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 10-parameter, zero-required, no-output-schema tool, it covers the essentials: kind semantics, parameter-to-kind mapping, defaults, payment flow, and the return field. Remaining gaps are minor, such as what the Data BitScore means and clearer guidance on when to use this alias versus get_travel_data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning by mapping parameters to kinds: airport defaults to SFO for intuitive/stats/signals, origin/destination or airports=SFO,JFK apply to pro, and kind values carry prices and use-cases the schema only points back to. The iata/icao aliases are handled only in the schema, not the description.

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 opening sentence states a specific resource and audience ('US airport status' for 'a travel agent') and enumerates four distinct product kinds with their outputs. The identity is muddied by the alias framing: the title and closing line say get_airport_data is a deprecated alias of get_travel_data, so the agent must reconcile which tool it is actually calling.

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?

Each kind carries an explicit 'Use this when a travel agent needs...' clause with the deciding condition (one-airport briefing vs. cause breakdown vs. multi-airport compare vs. ground stop flags), which is strong routing guidance. It also names a trigger integration ('Feedable with the airport_delay trigger') and flags deprecation, but never states plainly that get_travel_data should be preferred over this alias.

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