Skip to main content
Glama

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

Flight distance and EU261 band

eu261_flight_distance
Read-onlyIdempotent

Great-circle distance between two airports (Art. 7(4)) and the EU261 / UK261 distance band.

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_flight_distance"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYes
destinationYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description needn't repeat it. What the description adds is the legal basis and the fact that a band is computed alongside the raw distance. It does not disclose units (km vs miles), rounding, or behavior on unresolvable airport inputs, so it stops short of full behavioral context.

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?

A single front-loaded sentence with no filler; the resource and the derived value are stated first. Nothing is wasted, though the brevity is partly the cause of the gaps elsewhere.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. What remains unaddressed is the airport identifier format and the distance unit, both material for a two-required-string tool with no schema descriptions.

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% and both parameters are required, so the description carries the burden of clarifying them. It conveys only that origin and destination are airports; it does not say whether they are IATA/ICAO codes, city names, or free text, nor what happens with invalid values. That leaves an agent guessing at the single most important input detail.

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?

The description names a specific computation ('great-circle distance between two airports') plus a derived output ('the EU261 / UK261 distance band'), with a legal citation (Art. 7(4)) that anchors it. That is enough to separate it from siblings such as eu261_check_claim or eu261_right_to_care, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives, no precondition (e.g. that it feeds the compensation band used by eu261_check_claim), and no note on prerequisite lookups like eu261_airport_info. Usage is only inferable from the title and the word 'band'.

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.