Skip to main content
Glama

Book a tour (returns a payment link)

book_experience
Destructive

Creates a tour booking pending payment and returns its reference and a secure payment page on phiphiparadise.travel. Requires traveller_confirmed: true, set once the traveller has approved the tour, date, party, total and payment. Payment is online: 'full' (default) or 'deposit' when the tour offers it (shared tours: the rest is paid in cash to the tour operator on the day; private tours: the rest is paid in cash on the day). Some tours are paid in full only. The booking is secured only when the traveller pays on that page.

Input Schema

NameRequiredDescriptionDefault
dateYesTrip date, YYYY-MM-DD.
hotelNoHotel name, needed for tours with hotel pickup (Phuket, Krabi).
notesNoKids ages, allergies, special requests.
adultsYesAdults and children 12+.
optionNoExact option label when the tour has several priced options.
paymentNo'full' (default) or 'deposit'.
childrenNoChildren 4-11 (child rate).
languageNoTraveller language code (en, fr, de, es, zh...). Sets the emails and the payment page language.
toddlersNoBabies 0-3 (free).
experienceYesTour id 'destination/slug'.
traveller_nameYesFull name of the lead traveller.
traveller_emailYesEmail: receives the confirmation and e-ticket after payment.
traveller_phoneNoWhatsApp number with country code (e.g. +33612345678). Strongly recommended: the local team uses it on the day.
confirm_duplicateNoOnly true if the traveller explicitly wants a SECOND identical booking after an ALREADY BOOKED answer.
traveller_confirmedYestrue once the traveller has approved the restated product, date, party, total and payment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / traveller_confirmed / description
      Previous value: -"Must be true: you restated product, date, party, total and payment and the traveller explicitly said yes."New value: +"true once the traveller has approved the restated product, date, party, total and payment."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare this is not read-only and is destructive, but the description adds important context beyond them: the booking is pending payment, it is only secured when the traveller pays on the payment page, and deposit terms differ between shared and private tours. It does not discuss cancellation, refunds, or irreversible side effects in detail, but the core booking lifecycle is well disclosed.

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 action and return value, then moves to preconditions and payment mechanics. It is dense and mostly waste-free, though the parenthetical deposit explanation slightly repeats 'paid in cash on the day' for shared and private tours.

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

Completeness4/5

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

For a 15-parameter mutation tool with no output schema, the description covers the critical business flow: pending payment, payment link return, traveller_confirmed gating, and deposit/full payment rules. It does not elaborate on duplicate-booking behavior or hotel pickup requirements, but those are already specified in the schema's parameter descriptions.

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 100%, so the baseline is 3, but the description meaningfully expands on the payment parameter: 'full' is default, 'deposit' only when the tour offers it, and the remaining balance is paid in cash. It also reinforces the semantics of traveller_confirmed as the traveller's approval gate, adding value beyond the schema's concise field description.

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?

The description states a specific verb and resource ('Creates a tour booking pending payment') and names the return value ('its reference and a secure payment page on phiphiparadise.travel'). This clearly distinguishes it from sibling tools such as check_availability, search_experiences, and book_transfer.

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 a clear precondition: traveller_confirmed must be true only after the traveller has approved the restated product, date, party, total, and payment. It also explains when deposit payment applies, but it does not explicitly route the agent to check_availability or search_experiences first, nor does it name alternatives.

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