Skip to main content
Glama

mechacut

money_flight_comp

Flight compensation (EC261 / UK261) decided by the FLIGHT DATE, not the press date: Regulation (EU) 2026/2202 applies only FROM 2027-10-23, so identical facts on two sides of that date can pay differently (the new Art. 6(4) threshold is 'EXCEEDING three hours' — exactly 180 min does not pay; the old case-law threshold was 'at least'). Give regime (EU|UK), flight_date, event (denied_boarding|cancellation|delay|missed_connection), distance_km (great circle, initial departure -> final destination, supplied), and the event numbers (delay_min; notice_days and rerouting) — get band EUR 250/400/600 or GBP 220/350/520 with the intra-Union 400 cap named, the official under-4h long-haul GBP 260 row, reductions rendered as the text states them: the carrier MAY reduce 50 % (Art. 7(2)) or 50/25 % (Art. 7(3)) — options, never silence. Table B adds the nine-month claim deadline as an EXACT date and the 30-day carrier answer duty. Zero flight fetches, zero legal promises. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "money_flight_comp"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventNo
regimeNonever guessed — the two systems pay different money
intra_euNoEU flights above 1500 km only — decides cap (b) vs (c)
reroutedNo
delay_minNodelay at arrival, minutes
distance_kmNogreat-circle km to the FINAL destination
flight_dateNoYYYY-MM-DD of the flight; selects the table version
notice_daysNocancellation: days of advance notice
extraordinaryNocarrier INVOKES extraordinary circumstances (facts assessment, not arithmetic)
reroute_arrive_late_minNo
reroute_depart_early_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the temporal rule (Regulation (EU) 2026/2202 only FROM 2027-10-23), the exact-180-min boundary ('EXCEEDING three hours'), that reductions are rendered as options the carrier MAY apply rather than silence, and that Table B returns an exact nine-month deadline plus the 30-day carrier answer duty. It also states no external flight lookups occur and no legal promises are made. It does not describe error or invalid-input behavior.

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

Conciseness3/5

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

The key discriminator (flight date decides) is front-loaded, which is good. However, it is a single dense paragraph of chained parentheticals, em-dashes and legal citations, and fragments like 'Free.' and 'Table B adds...' interrupt the flow. It is information-rich but noticeably harder to parse than a two-to-three sentence structure would be.

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?

For an 11-parameter, zero-required tool with no annotations and no output schema, the description covers the main computation path and even describes the shape of the return (bands, cap, deadline date). It leaves the enum parameters intra_eu and extraordinary unexplained, and since no output schema exists it could say more about what a full response contains.

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?

Schema coverage is 64%, and the description adds genuine meaning beyond the schema: distance_km is clarified as great-circle initial departure to final destination, flight_date as the selector of table version, delay_min as measured at arrival, and rerouting/notice as cancellation-event numbers. It does not explain intra_eu, extraordinary, reroute_arrive_late_min or reroute_depart_early_min, leaving roughly a third of the parameters unaddressed in both places.

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?

States a specific domain verb+resource: computes EC261/UK261 flight compensation and returns a band (EUR 250/400/600 or GBP 220/350/520). It also pins the deciding axis ('decided by the FLIGHT DATE, not the press date'), which distinguishes it from a generic money calculator. It stops short of naming a sibling it replaces, so it is clear but not fully differentiated.

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 description lists the inputs to supply ('Give regime (EU|UK), flight_date, event..., distance_km..., delay_min; notice_days and rerouting'), which implies when to reach for it. It also bounds scope with 'Zero flight fetches, zero legal promises', signalling this is arithmetic only, not a lookup or legal opinion. There is no explicit when-not or alternative-tool routing.

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.