Skip to main content
Glama

Flight order status

brij_get_flight_order
Read-onlyIdempotent

Free over MCP (the x402 price quoted below applies to the HTTP API only; MCP calls are rate-limited instead).

Fetch airline order status.

Returns the booking reference and the airline order's status. If all you need is the PNR, GET /air/intents/{intent_id} carries it for free as booking_reference. Paid x402 endpoint at a token $0.01 USDC, and still gated by the X-Customer-Support-Code returned at intent creation. Refusals are never charged: a missing or wrong code (401/403) or an unknown order (404) happens before the payment settles. Note the response distinguishes an unknown order (404) from a wrong code (403).

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": {
      "customer_support_code": "<customer_support_code>",
      "order_id": "<order_id>"
    },
    "name": "brij_get_flight_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesThe airline order id (intent.order_id once booked).
customer_support_codeYesThe customer support code returned when the intent was created.

Output Schema

NameRequiredDescriptionDefault
orderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses cost treatment (free over MCP, x402 pricing applies to HTTP only), rate limiting, an auth requirement (X-Customer-Support-Code from intent creation), and charge semantics on failure. The 401/403 vs 404 distinction and 'refusals are never charged' are precisely the operational details an agent needs and would not get from annotations.

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

Conciseness4/5

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

Still structurally fine and the operational notes are useful, but the pricing message is restated twice (free over MCP / $0.01 USDC x402) and the failure-charge rule is explained at length. The tool's actual purpose ('Fetch airline order status') lands in the second sentence, behind a pricing disclaimer.

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 two-parameter read tool with a full output schema and rich annotations, the description covers auth, error taxonomy, and cost. Only minor gaps remain: it doesn't say what status values can come back or how to correlate order_id to a prior intent call, but the output schema likely covers the former.

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% and the schema already explains both parameters, including that order_id is 'intent.order_id once booked'. The description reinforces the customer_support_code gating but adds essentially no syntax, format, or sourcing detail beyond the schema — baseline 3 is appropriate.

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 gives a specific verb and resource: 'Fetch airline order status', elaborated as returning the booking reference and the order's status. It partially differentiates by pointing at GET /air/intents/{intent_id} for the PNR-only case, though the relationship to sibling MCP tools (get_intent, get_hotel_order, request_flight_refund) is left implicit.

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?

Explicit conditional guidance is given: 'If all you need is the PNR, GET /air/intents/{intent_id} carries it for free as booking_reference' — a clear alternative for a subset use case. There is no explicit when-not or guidance versus the MCP siblings that overlap (e.g. brij_get_intent), so it falls short of a full 5.

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