Skip to main content
Glama

Travel Check (entry requirements, flight delay compensation)

flight_delay_compensation

Pay-per-call flight compensation check for AI agents. Send the airports, what happened (delay, cancellation, denied boarding), the arrival delay or notice given, and the cause, and get whether UK261 or EU261 applies, the distance, the amount owed per passenger, care rights, step-by-step claim and escalation guidance and a ready-to-send claim letter, as JSON. Errors never charged. Price: $0.03 USDC per call (x402).

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "flight_delay_compensation"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesFinal destination airport code, e.g. JFK. Example: JFK
fromYesFirst departure airport code, e.g. LHR (for connecting flights on one booking, the first airport). Example: LHR
typeNodelay (default), cancellation or denied_boarding. Example: delay
causeNoReason given: technical, crew_shortage, airline_staff_strike, overbooking, operational, late_inbound_aircraft, weather, air_traffic_control, airport_staff_strike, security, bird_strike, medical_emergency, political_unrest, unknown. Example: technical
delay_hoursNoHours late arriving at the final destination (for delays). Example: 4.5
notice_daysNoDays of notice before departure (for cancellations). Example: 3
airline_regionNoWhere the operating airline is based: uk, eu or other (matters for flights into the UK/EU). Example: uk
rerouted_arrival_delay_hoursNoFor cancellations or denied boarding: how many hours after the original arrival time the replacement flight arrived. Example: 2.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses pay-per-call pricing ($0.03 USDC), x402 payment, and that errors are not charged. It also summarizes the returned JSON, but does not explicitly state read-only/no side effects or detail the payment and authorization 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?

Front-loads the tool purpose, then covers inputs, outputs, billing, and pricing with no filler. The long compound sentence is dense but each clause carries useful information; minor structural improvement would help.

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 an 8-parameter tool with no output schema, it describes the returned decision, distance, amount, care rights, claim steps, and letter, plus error billing. Remaining gaps are explicit read-only/side-effect and payment-flow details, so it is largely but not fully complete.

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%, so the schema already defines all eight inputs with examples. The description recaps the key input categories but adds no syntax, constraints, or meaning beyond the schema, meriting the baseline 3.

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 verb and resource: a flight compensation check covering delay, cancellation, and denied boarding under UK261 or EU261. It also names the returned outputs, which clearly distinguishes it from generic travel siblings.

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?

Explains what to send and what result to expect for a disrupted flight, giving clear usage context. It does not explicitly state when not to use it or name alternatives, though the listed siblings are not close substitutes.

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