Skip to main content
Glama

Compensation table

compensation_table
Read-onlyIdempotent

Return the general EU261/UK261 reference: compensation amounts per distance band (EUR and GBP), when care starts, the main eligibility rules and claim time limits. Use when the user asks how the rules work or what the amounts are. Do NOT use to assess a specific flight; use check_compensation.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
rulesYesCompensation amounts per distance band.
disclaimerYesNot-legal-advice disclaimer to show the user.
claim_windowsYesTime limits for filing claims (EU and UK).
eligibility_summaryYesKey eligibility rules, one per entry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "claim_windows": {
      +      "description": "Time limits for filing claims (EU and UK).",
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "description": "Not-legal-advice disclaimer to show the user.",
      +      "type": "string"
      +    },
      +    "eligibility_summary": {
      +      "description": "Key eligibility rules, one per entry.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "rules": {
      +      "description": "Compensation amounts per distance band.",
      +      "items": {
      +        "properties": {
      +          "band": {
      +            "description": "Band name: short, medium or long.",
      +            "type": "string"
      +          },
      +          "care_from": {
      +            "description": "Delay at which care starts.",
      +            "type": "string"
      +          },
      +          "distance": {
      +            "description": "Distance range in words.",
      +            "type": "string"
      +          },
      +          "eu_eur": {
      +            "description": "EU261 amount in EUR.",
      +            "type": "number"
      +          },
      +          "uk_gbp": {
      +            "description": "UK261 amount in GBP.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "band",
      +          "distance",
      +          "eu_eur",
      +          "uk_gbp",
      +          "care_from"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "rules",
      +    "eligibility_summary",
      +    "claim_windows",
      +    "disclaimer"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "claim_windows": {
      -      "description": "Time windows for filing compensation claims",
      -      "properties": {
      -        "cancellation": {
      -          "description": "Claim window for flight cancellations",
      -          "type": "string"
      -        },
      -        "delay": {
      -          "description": "Claim window for flight delays",
      -          "type": "string"
      -        },
      -        "diversion": {
      -          "description": "Claim window for flight diversions",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "delay",
      -        "cancellation",
      -        "diversion"
      -      ],
      -      "type": "object"
      -    },
      -    "distance_bands": {
      -      "description": "Compensation amounts by distance band",
      -      "properties": {
      -        "0-1500km": {
      -          "description": "Compensation amounts for flights up to 1500km",
      -          "properties": {
      -            "cancellation": {
      -              "description": "Compensation amount for cancellations",
      -              "type": "number"
      -            },
      -            "long_delay": {
      -              "description": "Compensation amount for long delays",
      -              "type": "number"
      -            },
      -            "short_delay": {
      -              "description": "Compensation amount for short delays",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "short_delay",
      -            "long_delay",
      -            "cancellation"
      -          ],
      -          "type": "object"
      -        },
      -        "1500-3500km": {
      -          "description": "Compensation amounts for flights between 1500km and 3500km",
      -          "properties": {
      -            "cancellation": {
      -              "description": "Compensation amount for cancellations",
      -              "type": "number"
      -            },
      -            "long_delay": {
      -              "description": "Compensation amount for long delays",
      -              "type": "number"
      -            },
      -            "short_delay": {
      -              "description": "Compensation amount for short delays",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "short_delay",
      -            "long_delay",
      -            "cancellation"
      -          ],
      -          "type": "object"
      -        },
      -        "over_3500km": {
      -          "description": "Compensation amounts for flights over 3500km",
      -          "properties": {
      -            "cancellation": {
      -              "description": "Compensation amount for cancellations",
      -              "type": "number"
      -            },
      -            "long_delay": {
      -              "description": "Compensation amount for long delays",
      -              "type": "number"
      -            },
      -            "short_delay": {
      -              "description": "Compensation amount for short delays",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "short_delay",
      -            "long_delay",
      -            "cancellation"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "0-1500km",
      -        "1500-3500km",
      -        "over_3500km"
      -      ],
      -      "type": "object"
      -    },
      -    "eligibility_summary": {
      -      "description": "Summary of eligibility criteria for compensation",
      -      "properties": {
      -        "flight_cancellation": {
      -          "description": "Eligibility criteria for flight cancellations",
      -          "type": "string"
      -        },
      -        "flight_delay": {
      -          "description": "Eligibility criteria for flight delays",
      -          "type": "string"
      -        },
      -        "flight_diversion": {
      -          "description": "Eligibility criteria for flight diversions",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "flight_delay",
      -        "flight_cancellation",
      -        "flight_diversion"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "distance_bands",
      -    "eligibility_summary",
      -    "claim_windows"
      -  ],
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "claim_windows": {
      +      "description": "Time windows for filing compensation claims",
      +      "properties": {
      +        "cancellation": {
      +          "description": "Claim window for flight cancellations",
      +          "type": "string"
      +        },
      +        "delay": {
      +          "description": "Claim window for flight delays",
      +          "type": "string"
      +        },
      +        "diversion": {
      +          "description": "Claim window for flight diversions",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "delay",
      +        "cancellation",
      +        "diversion"
      +      ],
      +      "type": "object"
      +    },
      +    "distance_bands": {
      +      "description": "Compensation amounts by distance band",
      +      "properties": {
      +        "0-1500km": {
      +          "description": "Compensation amounts for flights up to 1500km",
      +          "properties": {
      +            "cancellation": {
      +              "description": "Compensation amount for cancellations",
      +              "type": "number"
      +            },
      +            "long_delay": {
      +              "description": "Compensation amount for long delays",
      +              "type": "number"
      +            },
      +            "short_delay": {
      +              "description": "Compensation amount for short delays",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "short_delay",
      +            "long_delay",
      +            "cancellation"
      +          ],
      +          "type": "object"
      +        },
      +        "1500-3500km": {
      +          "description": "Compensation amounts for flights between 1500km and 3500km",
      +          "properties": {
      +            "cancellation": {
      +              "description": "Compensation amount for cancellations",
      +              "type": "number"
      +            },
      +            "long_delay": {
      +              "description": "Compensation amount for long delays",
      +              "type": "number"
      +            },
      +            "short_delay": {
      +              "description": "Compensation amount for short delays",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "short_delay",
      +            "long_delay",
      +            "cancellation"
      +          ],
      +          "type": "object"
      +        },
      +        "over_3500km": {
      +          "description": "Compensation amounts for flights over 3500km",
      +          "properties": {
      +            "cancellation": {
      +              "description": "Compensation amount for cancellations",
      +              "type": "number"
      +            },
      +            "long_delay": {
      +              "description": "Compensation amount for long delays",
      +              "type": "number"
      +            },
      +            "short_delay": {
      +              "description": "Compensation amount for short delays",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "short_delay",
      +            "long_delay",
      +            "cancellation"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "0-1500km",
      +        "1500-3500km",
      +        "over_3500km"
      +      ],
      +      "type": "object"
      +    },
      +    "eligibility_summary": {
      +      "description": "Summary of eligibility criteria for compensation",
      +      "properties": {
      +        "flight_cancellation": {
      +          "description": "Eligibility criteria for flight cancellations",
      +          "type": "string"
      +        },
      +        "flight_delay": {
      +          "description": "Eligibility criteria for flight delays",
      +          "type": "string"
      +        },
      +        "flight_diversion": {
      +          "description": "Eligibility criteria for flight diversions",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "flight_delay",
      +        "flight_cancellation",
      +        "flight_diversion"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "distance_bands",
      +    "eligibility_summary",
      +    "claim_windows"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered. The description adds that this is a static, non-flight-specific reference lookup with no per-flight input, which is modest added context, but the enumerated content is largely restated by the output schema. No rate limits or caching behavior disclosed, so a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: what is returned, when to use it, and when not to. The scope statement is front-loaded ahead of the routing guidance, and there is no filler.

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?

An output schema exists, so the description need not explain return values, and the routing versus check_compensation is fully specified. For a zero-parameter static reference tool, nothing an agent needs to invoke it correctly is missing.

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?

The tool takes zero parameters, so there is no parameter semantics to explain; the baseline for a 0-param tool is 4. The description's implication that no per-flight input is required is consistent with the empty 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?

States a specific verb (Return) and resource (the EU261/UK261 reference table), and enumerates the exact content: amounts per distance band in EUR and GBP, care start, eligibility rules, and claim time limits. It explicitly separates itself from the sibling check_compensation, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use trigger ("the user asks how the rules work or what the amounts are") plus an explicit when-not ("Do NOT use to assess a specific flight") with the named alternative, check_compensation. This is the textbook positive/negative/alternative pattern.

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