Skip to main content
Glama

Check change, cancellation and refund rules for a booking (read-only)

check_booking_change_cancel_refund
Read-onlyIdempotent

Use this when a traveler asks how to change, cancel or get a refund for their own flight, ferry, hotel or rental booking, check-in, a boarding pass or e-ticket, bags or seats, or a trip the company cancelled or delayed, including one bought via another site or agent. Returns which company handles it and where, dated fees, deadlines and refund rules with sources, and what the traveler does personally. These vary by company and seller and change over time. Useful before opening the site. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYese.g. change, cancel, refund, check in, e-ticket, bags, seats, cancelled by company, or a task id
whereNoCompany or site, or page URL without its query
booked_viaNoOnly if booked via another site or agent: its name or domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and openWorld=false, so the safety profile is covered. The description goes beyond that by describing the return payload (handler company, dated fees, deadlines, refund rules with sources, traveler's personal steps) and warns the rules vary by company/seller and change over time.

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?

The description is front-loaded with the 'Use this when...' trigger, then moves cleanly to outputs and caveats in four tight sentences. Every sentence carries information; it is slightly dense but not padded.

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?

With no output schema, the description correctly carries the burden of explaining what is returned and the volatility of the data, and it scopes the covered booking types. For a read-only, fully schema-documented 3-parameter tool it is complete enough to invoke correctly.

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% and all three parameters (task, where, booked_via) are already documented in the schema. The description echoes some of this with 'including one bought via another site or agent' (booked_via) and 'which company handles it and where', but adds no new syntactic or format details, so baseline 3 applies.

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 states a specific verb+resource (check change/cancel/refund rules for a booking) and enumerates the covered domains and booking types, so an agent can grasp the scope immediately. It does not explicitly differentiate itself from the sibling tools check_flight_compensation and find_official_booking_site, so it stops short of a 5.

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

Usage Guidelines4/5

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

It gives strong triggering context ('Use this when a traveler asks how to change, cancel or get a refund...') with concrete examples and a timing cue ('Useful before opening the site'). It never states when NOT to use it or names the sibling alternatives, so no explicit exclusion guidance.

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