Skip to main content
Glama

Flight deals

flight_deals

Cheapest return flights from any airport/city IATA code ($0.01): up to 30 destinations with lowest fare, dates, stops, airline, and booking link. $0.01 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

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": {
      "origin": "<origin>"
    },
    "name": "flight_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYes3-letter IATA airport/city code, e.g. MAD, LPA, LON
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.
currencyNocurrency code, e.g. EUR or USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly meets it: it discloses the cost ($0.01 per call), the payment rails (x402, USDC on Arc/Base/Solana, XNT on X1), and the two-call handshake needed to complete a purchase. It does not cover failure modes such as expired or rejected signatures, which leaves a real gap for a paid mutation-style flow.

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?

Three sentences, front-loaded with the value proposition and return contents, followed by pricing and the call sequence. The price appears twice ($0.01 in the opening and '$0.01 per call'), a minor redundancy in an otherwise tight definition.

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 paid, three-parameter tool with no output schema and no annotations, the description covers cost, payment method, invocation sequence, and returned fields. The remaining gap is error/edge behavior around the signed payment, which an agent would want before spending money.

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 a baseline of 3 applies, but the description genuinely adds meaning for `payment` by explaining that the first call returns terms to sign and the second call completes the purchase in-band. `origin` and `currency` are left to the schema.

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 first sentence states a specific verb (find cheapest return flights) plus the resource, scope (any IATA origin), and the return payload (up to 30 destinations with fare, dates, stops, airline, booking link). An agent knows exactly what it gets back without opening the schema.

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?

The description gives a clear operating procedure: call once without `payment` to receive terms, sign them with your own wallet, then call again with `payment`. What is missing is any exclusion or alternative-selection guidance, though the sibling list offers no obviously overlapping 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