Skip to main content
Glama

SOS Flights

Check passenger rights

sos_check_rights
Read-onlyIdempotent

Checks a cancelled, delayed, overbooked or missed-connection flight against EU261, UK261 and US DOT rules. Returns the law that applies, up to three options (refund, re-routing), the care the airline owes (meals, hotel), a compensation range per passenger with its conditions, warnings and facts that would sharpen the answer. Advice only, not legal advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesWhat happened to the flight.
causeNoReason given by the airline, if known.
originYesIATA code of the departure airport, for example VIE.
carrierNoIATA code of the operating airline, for example FR, W6 or OS.
overnightNoTrue if the traveller must stay overnight.
destinationYesIATA code of the final destination on the booking, for example LHR.
notice_daysNoCancellations: days between the notice and scheduled departure.
volunteeredNoDenied boarding: did the traveller volunteer?
single_bookingNoMissed connections: were all flights on one booking?
arrival_delay_minutesNoExpected arrival delay at the final destination, in minutes.
departure_delay_minutesNoDeparture delay in minutes, if different from the arrival delay.
reroute_arrives_later_minutesNoRe-routing offered: how many minutes later it arrives than the original flight.
reroute_departs_earlier_minutesNoRe-routing offered: how many minutes earlier it departs than the original flight.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
lawYes
careYes
optionsYes
sourcesYes
help_urlYes
warningsYes
follow_upsYes
law_reasonYes
distance_kmNo
compensationNo
last_verifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so this is a safe deterministic lookup. The description adds real value by disclosing the shape of the answer — applicable law, up to three remedy options, care owed, a compensation range with conditions, warnings — plus the 'not legal advice' limitation, which the annotations cannot convey.

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?

Two sentences, front-loaded with the core purpose, followed by a compact inventory of the return contents. The output enumeration is slightly list-heavy but each item (law, options, care, compensation, warnings, disclaimer) carries distinct information.

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?

With 13 parameters fully described in the schema, complete annotations, and an output schema present, everything the agent needs is available. The description still front-loads scope and the legal-advice caveat, so nothing material is missing.

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 every parameter is already documented with format hints (IATA codes, minutes, enum meanings). The description only echoes the disruption categories (cancellation, delay, overbooked, missed connection) that map to the type enum, adding no new parameter-level meaning. 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 verb (checks) and resource (a flight disruption) and names the three legal regimes it evaluates against. It is clearly distinguishable from the sibling tools, which are case/message/alternatives utilities rather than rule-evaluation.

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 is implied by the framing (check rights first, then presumably prepare a case or message), and the 'advice only, not legal advice' note sets expectations. However, it never says when to call this instead of sos_prepare_case or sos_desk_script, nor what prerequisites (e.g. an open case) may apply.

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.