Skip to main content
Glama

Official Records Hub: Travel Advice & Flight Compensation

trip_check

Read-onlyIdempotent

Booking-a-trip pack for travel AI agents: send a destination country (and optionally the flight's airports) and get, in one call, official UK FCDO travel advice (areas advised against), entry requirements (passport validity, visas), today's ECB exchange rate from pounds, and the passenger's UK261/EU261 compensation if the flight is delayed 3+ hours or cancelled late, with a plain-English summary, as JSON. Official sources. Errors never charged. Use this when the user is booking or planning a trip abroad and wants the essentials in one go: FCDO safety advice, passport and visa rules, the exchange rate, and what they're owed if the flight is delayed or cancelled. Not for: a claim for a flight that already went wrong (use flight_delay_compensation with the real delay and cause); full advice text (use travel_advice). Price: $0.05 USDC per call (x402).

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": {
      "country": "<country>"
    },
    "name": "trip_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoArrival airport (IATA code or city), e.g. ALC. Example: ALC
baseNoHome currency for the rate (default GBP). Example: GBP
fromNoDeparture airport (IATA code or city), e.g. LPL. Example: LPL
countryYesDestination country, e.g. Spain. Example: Spain

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: a $0.05 USDC x402 price, 'errors never charged', official-source provenance, the 3+ hour delay threshold, and a plain-English summary alongside JSON. It doesn't disclose latency for a four-source aggregation, which keeps it from a 5.

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?

Front-loaded with purpose and sources, then usage, then exclusions, then price — a sensible order with each block earning its place. There is mild redundancy between the opening enumeration of the four data sources and the later 'wants the essentials in one go' list, which repeats the same four items.

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?

For a read-only, schema-covered, no-output-schema tool, the definition covers sources, what is returned, output format (JSON plus plain-English summary), cost model, failure billing, and the delay/cancellation threshold. Nothing an agent needs to call it correctly or to set user expectations is missing.

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%, so all four parameters (country, from, to, base) are already documented with examples, and the baseline is 3. The description adds only loose hints — 'a destination country (and optionally the flight's airports)' and 'exchange rate from pounds' — without explaining the base-currency override or how airport codes interact with country.

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 and a concrete bundle of resources: FCDO advice, entry requirements, ECB exchange rate, and UK261/EU261 compensation, returned as JSON in one call. It explicitly distinguishes itself from flight_delay_compensation and travel_advice, so an agent can route without opening a 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 ('when the user is booking or planning a trip abroad and wants the essentials in one go') plus an explicit when-not-to-use clause pointing at two named alternatives with the condition that selects each ('a flight that already went wrong'). That is the full alternative-routing 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