Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

Downgrade refund (EU261)

eu261_downgrade_refund
Read-onlyIdempotent

Refund owed for involuntary downgrading (Art. 10(2)): 30%, 50% or 75% of the flight's ticket price.

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": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "eu261_downgrade_refund"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYes
destinationYes
ticket_priceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds useful context in the form of the legal article and the rate tiers, but is silent on how the percentage band is selected (distance/route) and what happens when ticket_price is omitted.

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?

A single compact sentence with the subject (refund owed), the trigger (involuntary downgrade), the legal anchor, and the rate structure front-loaded. No filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need not be described, and the legal/rate framing is present. But for a three-parameter calculator the definition leaves the role of origin/destination and the optional ticket_price unexplained, which is the main thing an agent needs in order to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description must carry the burden and does not. It only indirectly hints at ticket_price via 'of the flight's ticket price'; origin and destination — which presumably determine the applicable 30/50/75% band — are never explained, and the null/default behavior of ticket_price is unaddressed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the specific resource and legal basis: refund for involuntary downgrading under Art. 10(2), expressed as 30%/50%/75% of ticket price. That is far more precise than the title alone and clearly separates it from siblings like eu261_check_claim or eu261_right_to_care, though it never explicitly contrasts with them.

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 scenario (involuntary downgrade) is implied by the phrasing, so an agent can infer the trigger condition. However, there is no explicit when-to-use/when-not-to-use statement and no pointer to an alternative tool if the case is a cancellation or delay instead.

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.