Skip to main content
Glama

Airport status

get_travel_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.

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_travel_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. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description goes well beyond them: per-kind pricing in sats and USDC, the payment handshake (first call returns invoice, retry with l402_credential or x402_payment), one-payment-one-response, and refunds on failed credit_token calls. It also discloses the only side effect being payment and the feedability with the airport_delay trigger.

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

Conciseness3/5

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

Front-loaded with a useful summary and per-kind bullets, but it is repetitive: the price appears twice for kind=intuitive, and 'Informational only' and 'not for navigation' are restated four times, as are the disclaimers in the closing line. Length is defensible for a four-product paid tool, but the duplication costs it.

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?

For a 10-parameter, zero-required, multi-mode tool with no output schema, the description covers mode selection, defaults, code formats, payment/credential paths, return shape ('JSON in the `data` field with source attribution'), and disclaimers. Nothing an agent needs to call it correctly is missing.

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; the description still adds value by binding parameters to modes (origin/destination/airports only for kind=pro, airport defaulting to SFO for the other three) and by framing the credential parameters as part of a payment flow. The marginal gain over the schema is real but modest since the schema already documents each field.

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 opening sentence states the resource (US airport status) and enumerates four distinct product modes with their own verbs and outputs (briefing, delay breakdown, multi-airport risk compare, ground-stop flags). It also disambiguates against the deprecated sibling by naming get_airport_data as an alias.

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?

Every kind carries an explicit 'Use this when...' trigger, plus negative guidance ('not a delay prediction', 'not for navigation', 'informational only') and the exact parameters to pass per mode. An agent can select the right kind without opening the schema.

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