Skip to main content
Glama

eu261_check

EU261 / UK261 flight compensation checker: delay, cancellation or denied boarding, with eligibility, the EUR or GBP amount and passenger care rights. Not legal advice. / Compensación por vuelo retrasado o cancelado. Paid via x402 ($0.01 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Official source and as-of date are in the JSON. Invalid input is rejected without 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": {
      "dep": "<dep>",
      "arr": "<arr>"
    },
    "name": "eu261_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
arrYesArrival IATA airport code, e.g. CDG. Aliases: to, arrival. / Código IATA de llegada.
depYesDeparture IATA airport code, e.g. AMS. Aliases: from, origin. / Código IATA de salida.
destNoFinal destination if different from arr (connections).
langNoLetter language: en, es, pt, de, fr.
causeNoDelay/cancellation cause, e.g. technical, weather, airline_strike, atc_strike.
eventNodelay (default), cancellation, denied_boarding, or voluntary_denied.
airlineNoOperating carrier IATA code, e.g. KL. / Código IATA de la aerolínea operadora.
euCarrierNo
ukCarrierNo
delayHoursNoArrival delay in hours at the final destination. Required for event=delay.
distanceKmNoOptional great-circle override in km.
noticeDaysNoDays of advance notice of a cancellation. Required for event=cancellation. Or use noticeBand: 14plus, 7to13, less7, at_airport.
rerouteArrivalDelayHoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses the x402 payment cost and chains ($0.01 USDC on Base, also Polygon/Arbitrum/Solana), states that invalid input is rejected without charge, and that official source and as-of date are embedded in the JSON. It omits latency, rate limits, and whether payment is charged on inconclusive results, which keeps it short of a 5.

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?

Front-loaded with the purpose sentence, followed by payment and failure semantics — good ordering with no filler in the English text. The fully mirrored Spanish sentence doubles the length without adding information for an English-reading agent, which is the main waste.

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 13-parameter domain-specific tool with no output schema, the description covers what matters: what the tool decides, what the response contains (eligibility, amount, care rights, source, as-of date), and the cost model. Missing pieces are the interaction between jurisdiction flags (euCarrier/ukCarrier) and when the required pair (dep, arr) is insufficient, but overall an agent could call this correctly.

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 coverage is 77%, so the schema already documents most fields including enum and conditional requirements (delayHours for event=delay, noticeDays for cancellations). The description adds no parameter-level meaning beyond naming the event categories, and the two undocumented parameters (euCarrier, ukCarrier, rerouteArrivalDelayHours) get no clarification here either. Baseline 3 is appropriate.

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?

States a specific resource (EU261/UK261 flight compensation) and enumerates the covered event types (delay, cancellation, denied boarding) plus what it returns (eligibility, EUR/GBP amount, passenger care rights). An agent can tell immediately this is a regulatory-compensation eligibility calculator, not a lookup or booking tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied by the event types and the 'Not legal advice' disclaimer, and the note that invalid input is rejected without payment tells the agent input must be well-formed before paying. However, there is no explicit guidance on when to choose this over a general flight-status tool, nor any statement of prerequisites such as needing the operating carrier or actual delay hours.

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