Skip to main content
Glama

AnwaltX Passenger Rights & Legal Info (Germany/EU)

Entschädigung bei Flugverspätung berechnen

calculate_flight_compensation
Read-onlyIdempotent

Berechnet die Ausgleichszahlung nach der EU-Fluggastrechte-Verordnung 261/2004 (250/400/600 €) bei Verspätung, Annullierung oder Nichtbeförderung, inklusive Kürzung und Betreuungsleistungen. EU flight delay compensation calculator.

Input Schema

NameRequiredDescriptionDefault
reasonYesdelay = Verspätung, cancellation = Annullierung, denied_boarding = Überbuchung/Nichtbeförderung
within_euYesStart und Ziel liegen beide in der EU (inkl. Island, Norwegen, Schweiz)
distance_kmYesGroßkreisentfernung Startflughafen → Endziel der Buchung in km
notice_daysNoNur Annullierung: wie viele Tage vor Abflug informiert
arrival_delay_minNoAnkunftsverspätung am Endziel in Minuten (bei delay Pflicht)
extraordinary_circumstancesNoDie Airline beruft sich auf außergewöhnliche Umstände
replacement_arrival_delay_minNoNur Annullierung/Überbuchung: Ankunftsverspätung des angebotenen Ersatzflugs in Minuten (0 = pünktlich; weglassen, wenn kein Ersatzflug angeboten wurde)
replacement_departure_earlier_minNoNur Annullierung: Ersatzflug startete so viele Minuten früher als geplant

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / replacement_arrival_delay_min / description
      Previous value: -"Nur Annullierung/Überbuchung: Ankunftsverspätung des angebotenen Ersatzflugs in Minuten"New value: +"Nur Annullierung/Überbuchung: Ankunftsverspätung des angebotenen Ersatzflugs in Minuten (0 = pünktlich; weglassen, wenn kein Ersatzflug angeboten wurde)"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds domain behavior beyond that: the output magnitude (250/400/600 €) and that the calculation includes Kürzung and Betreuungsleistungen, which the schema does not 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 compact sentences with the calculation scope front-loaded. The trailing English sentence largely restates the title and is redundant, but the overall length is well controlled.

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 deterministic calculator with no output schema, the description supplies the key missing output context (payout tiers, reduction, care benefits). It stops short of explaining the full result shape or which inputs drive each tier, but is adequate overall.

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%, with each of the 8 parameters documented in the schema itself, so the baseline is 3. The description adds no syntax, units, or conditional requirements beyond what the schema already states.

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 (Berechnet) and resource (Ausgleichszahlung nach EU-Verordnung 261/2004) with concrete payout tiers (250/400/600 €) and the three triggering scenarios. It clearly distinguishes itself from the bus/ship/train compensation siblings by naming the flight regulation.

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?

The enumerated cases (Verspätung, Annullierung, Nichtbeförderung) imply when the tool applies, matching the 'reason' enum. However, it never explicitly routes the agent to or away from the sibling compensation calculators, so the modal choice is left to inference.

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