Skip to main content
Glama

FlyBest Travel — Hotel Booking with Advisor Benefits

Create hotel payment link

sabre_hotel_card_link
Destructive

Creates a one-time payment page for one rate. Inputs: the rate_key, rooms and adults (per room) from sabre_hotel_rates_coded, the guest's name as on their ID, and the expected_total and currency copied from that rate row. A phone number is optional. The guest's e-mail is required: the itinerary and the hotel's confirmation go there. A public connection that leaves it out uses the address it signed up with, and the payer confirms or changes it on the page; a chat signed in with a one-time sign-in link has no such default. Without an address no page is made. The page is open for about ten minutes from when it is created; if it closes before the card is submitted, nothing is booked or charged and a new page can be created for the same option. A rate_key priced for a different number of adults is refused before any page is created. The booking and payment page use the rate's own currency; converted figures are estimates. The page shows the room and beds, the price, deposit and cancellation terms; the guest accepts them and enters their card there, and the booking is made when they submit and the hotel confirms. Card details are entered only on that page; this tool takes none. loyalty_id is the guest's own number with the hotel's loyalty programme, not an advisor's number; it is filed on the booking. A rate found with loyalty_id in sabre_hotel_rates_coded carries that number and books only with the same loyalty_id; a members-only rate books only from a search made with the guest's number. Points and elite nights are credited as usual. Status benefits apply on top of the partner benefits. With children, family_mode=direct (the default) books the actual adults, children and child_ages using the chosen verified family rate_key and that row's family_quote_token. The occupancy is rechecked before booking; the rate's deposit, prepayment or non-refundable terms are offered through the normal payer-consent flow. Missing or unverified family occupancy needs Jay's help at jay@flybest.org, with hotel, dates, room/rate preference, adult count and children's ages. Only the traveller's explicit choice of family_mode=adult_pending uses an adults-only key with free cancellation and no deposit or prepayment; children and child_ages stay recorded for advisor follow-up, and that adult booking leaves the family unconfirmed. No automatic switch to adults only takes place. Sending an e-mail requires an explicit request. allow_deposit / allow_nonrefundable are accepted for compatibility and are not needed: the result states whether the rate may charge the card at booking, read from the rate's live terms when the page is created, and the page shows those terms for the guest's consent. These flags do not override adult_pending restrictions. Creating the page sends the guest and stay details to FlyBest's booking service and the reservation system; nothing is booked until the guest submits the page and the hotel confirms. For the same room, dates and currency, changed totals, deposits or cancellation penalties are displayed on the existing page for fresh agreement before continuing. A different room, date or currency needs a newly selected quote. A connection keeps up to three payment pages open: asking again for the same stay returns the page already open. At that limit, a new page closes that connection's oldest page with no payment in progress. If shared capacity is full, it may also close the oldest public page that has never been opened or submitted. Closing a page invalidates its previous payment link; pages with a payment in progress are never closed. Nothing is booked or charged by closing a page. The booking then appears in my_trips under the same sign-in; for a chat signed in with a one-time sign-in link, only in that chat.

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": {
      "hotel_code": "<hotel_code>",
      "rate_key": "<rate_key>",
      "check_in": "<check_in>",
      "check_out": "<check_out>",
      "given_name": "<given_name>",
      "surname": "<surname>",
      "expected_total": "<expected_total>",
      "currency": "<currency>"
    },
    "name": "sabre_hotel_card_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoRequired: the guest's own e-mail address. Sabre's itinerary and the hotel's confirmation and any later change go there, so without it they never reach the guest. A public connection that leaves it out uses the address the connection signed up with (shown on the page, where the payer can change it); a chat signed in with a one-time sign-in link has no such default and is refused without it.
phoneNo
roomsNoRooms in ONE segment, all for the same guest and the same room type and guest arrangement per room. Different arrangements need separate one-room quotes and links. The rate_key comes from sabre_hotel_rates_coded with the same rooms=N: a two-room key and a one-room key are entirely different keys and only the two-room one sells two rooms, and its total is already the whole stay. Rooms sold together share one segment and CANNOT be cancelled individually. Different room types cannot share a sell — for that, book the first room and then mint a second link with add_to_pnr set to the locator it returned. LIVE on production since 2026-09-11 (certified on CERT: one segment carrying NumberOfUnits=2).
adultsNoAdults per room — the same number used in sabre_hotel_rates_coded for this rate_key (default 1). A rate_key priced for a different party is refused before any link is created.
surnameYes
check_inYesYYYY-MM-DD
childrenNoActual number of children in the party. direct books this occupancy; only explicit adult_pending retains them for advisor follow-up instead of booking them.
currencyYesREQUIRED. The currency of expected_total, copied from the SAME rate row — the hotel's own currency, not a converted estimate. A changed currency requires a newly selected quote.
rate_keyYesfrom sabre_hotel_rates_coded
check_outYesYYYY-MM-DD
add_to_pnrNoAn EXISTING Sabre locator this room should JOIN instead of creating a new PNR. THIS is how one guest gets a king AND a suite on one record: Sabre refuses to put two room types in one sell, so book the first room normally, then mint a second link with this set to the locator it returned. Each segment keeps its OWN rate, its own deposit and its own cancellation policy, and they can be cancelled separately. Leave it out for an ordinary booking.
chain_codeNo
child_agesNoActual children's ages, matching the selected family quote. adult_pending retains them for advisor confirmation even though only the adults are initially booked.
given_nameYes
hotel_codeYesSabre property code
hotel_nameNo
loyalty_idNothe guest's own programme number with the hotel's chain (not an advisor ID), filed on the segment when the room is booked. A rate_key found by sabre_hotel_rates_coded WITH loyalty_id carries that number into the booking: pass the same number here (a different one is refused before anything is sent; none adopts the searched one), and a row marked members-only books only from a search made with the guest's number.
family_modeNodirect: book the actual adults and children from a rate verified for that party. adult_pending: only after the traveller explicitly chooses adults first, use an adults-only free-cancellation key with no deposit or prepayment and keep children/ages for advisor follow-up.direct
allow_depositNono longer needed (2026-10-15): the page shows the live deposit and its timing and the payer's tick authorises it; accepted for compatibility
expected_totalYesthe all-in total of the chosen rate row, e.g. 288.09 - for the same room, dates and currency, changed totals or cancellation terms are displayed on the existing page for the payer to agree again and continue. 80 and 80.00 represent the same amount.
expected_depositNothe deposit figure from the rates row (deposit_amount) as shown to the payer, when known. A changed deposit is displayed on the existing page for fresh agreement before continuing; this input is not consent to a higher charge.
family_quote_tokenNoOpaque family quote proof copied unchanged from the SAME selected rate row as rate_key; tied to its real adults, children and ages. It is not interchangeable across rows or parties.
allow_nonrefundableNono longer needed (2026-10-15): the page shows the live cancellation terms and the payer's tick authorises them; accepted for compatibility

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / email / description
      Previous value: -"Required: the guest's own e-mail address. Sabre's itinerary and the hotel's confirmation and any later change go there, so without it they never reach the guest. A public connection that leaves it out uses the address the connection signed up with (shown on the page, where the payer can change it)."New value: +"Required: the guest's own e-mail address. Sabre's itinerary and the hotel's confirmation and any later change go there, so without it they never reach the guest. A public connection that leaves it out uses the address the connection signed up with (shown on the page, where the payer can change it); a chat signed in with a one-time sign-in link has no such default and is refused without it."
  2. Changed1 schema field changed
    • changedInput schema / properties / email / description
      Previous value: -"The guest's own e-mail address, required: the hotel sends its confirmation and any later change to it, so without it the property cannot reach the traveller."New value: +"Required: the guest's own e-mail address. Sabre's itinerary and the hotel's confirmation and any later change go there, so without it they never reach the guest. A public connection that leaves it out uses the address the connection signed up with (shown on the page, where the payer can change it)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / allow_deposit / description
      Previous value: -"permits a deposit rate with the payment timing stated in its live terms to be offered; the page asks the guest for consent"New value: +"no longer needed (2026-10-15): the page shows the live deposit and its timing and the payer's tick authorises it; accepted for compatibility"
    • addedInput schema / properties / allow_nonrefundable / description
      Added value: +"no longer needed (2026-10-15): the page shows the live cancellation terms and the payer's tick authorises them; accepted for compatibility"
  4. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "hotel_code",
      -  "rate_key",
      -  "check_in",
      -  "check_out",
      -  "given_name",
      -  "surname",
      -  "expected_total",
      -  "currency",
      -  "email"
      -]New value: +[
      +  "hotel_code",
      +  "rate_key",
      +  "check_in",
      +  "check_out",
      +  "given_name",
      +  "surname",
      +  "expected_total",
      +  "currency"
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / adults / description
      Added value: +"Adults per room — the same number used in sabre_hotel_rates_coded for this rate_key (default 1). A rate_key priced for a different party is refused before any link is created."
  6. Changed4 schema fields changed
    • addedInput schema / properties / child_ages / description
      Added value: +"Actual children's ages, matching the selected family quote. adult_pending retains them for advisor confirmation even though only the adults are initially booked."
    • addedInput schema / properties / children / description
      Added value: +"Actual number of children in the party. direct books this occupancy; only explicit adult_pending retains them for advisor follow-up instead of booking them."
    • addedInput schema / properties / family_mode
      Added value: +{
      +  "default": "direct",
      +  "description": "direct: book the actual adults and children from a rate verified for that party. adult_pending: only after the traveller explicitly chooses adults first, use an adults-only free-cancellation key with no deposit or prepayment and keep children/ages for advisor follow-up.",
      +  "enum": [
      +    "direct",
      +    "adult_pending"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / family_quote_token
      Added value: +{
      +  "description": "Opaque family quote proof copied unchanged from the SAME selected rate row as rate_key; tied to its real adults, children and ages. It is not interchangeable across rows or parties.",
      +  "type": "string"
      +}
  7. Changed5 schema fields changed
    • changedInput schema / properties / allow_deposit / description
      Previous value: -"permits a deposit rate — one whose card is charged now — to be offered; the page asks the guest for consent"New value: +"permits a deposit rate with the payment timing stated in its live terms to be offered; the page asks the guest for consent"
    • changedInput schema / properties / currency / description
      Previous value: -"REQUIRED. The currency of expected_total, copied from the SAME rate row — the hotel's OWN currency, not USD. The commit compares the whole tuple, so a wrong currency refuses the booking AFTER the guest has typed their card."New value: +"REQUIRED. The currency of expected_total, copied from the SAME rate row — the hotel's own currency, not a converted estimate. A changed currency requires a newly selected quote."
    • changedInput schema / properties / expected_deposit / description
      Previous value: -"the deposit figure from the rates row (deposit_amount) as shown to the payer. OPTIONAL since 2026-09-26: the page charges the hotel's own deposit as long as it is within the stay total, and reports what it took — a deposit that moved no longer refuses at the guest's card. Pass it when you have it so the guest sees the difference."New value: +"the deposit figure from the rates row (deposit_amount) as shown to the payer, when known. A changed deposit is displayed on the existing page for fresh agreement before continuing; this input is not consent to a higher charge."
    • changedInput schema / properties / expected_total / description
      Previous value: -"the all-in total of the chosen rate row, e.g. 288.09 - a price rise or changed currency stops the booking; a lower price can book"New value: +"the all-in total of the chosen rate row, e.g. 288.09 - for the same room, dates and currency, changed totals or cancellation terms are displayed on the existing page for the payer to agree again and continue. 80 and 80.00 represent the same amount."
    • changedInput schema / properties / rooms / description
      Previous value: -"Rooms in ONE segment, all for the same guest and the same room type — the way an agent sells two rooms on one PNR. The rate_key comes from sabre_hotel_rates_coded with the same rooms=N: a two-room key and a one-room key are entirely different keys and only the two-room one sells two rooms, and its total is already the whole stay. Rooms sold together share one segment and CANNOT be cancelled individually. Different room types cannot share a sell — for that, book the first room and then mint a second link with add_to_pnr set to the locator it returned. LIVE on production since 2026-09-11 (certified on CERT: one segment carrying NumberOfUnits=2)."New value: +"Rooms in ONE segment, all for the same guest and the same room type and guest arrangement per room. Different arrangements need separate one-room quotes and links. The rate_key comes from sabre_hotel_rates_coded with the same rooms=N: a two-room key and a one-room key are entirely different keys and only the two-room one sells two rooms, and its total is already the whole stay. Rooms sold together share one segment and CANNOT be cancelled individually. Different room types cannot share a sell — for that, book the first room and then mint a second link with add_to_pnr set to the locator it returned. LIVE on production since 2026-09-11 (certified on CERT: one segment carrying NumberOfUnits=2)."
  8. Changed1 schema field changed
    • changedInput schema / properties / expected_total / description
      Previous value: -"the all-in total of the chosen rate row, e.g. 288.09 - a moved rate aborts the booking"New value: +"the all-in total of the chosen rate row, e.g. 288.09 - a price rise or changed currency stops the booking; a lower price can book"
  9. Changed1 schema field changed
    • changedInput schema / properties / loyalty_id / description
      Previous value: -"the guest's own programme number with the hotel's chain (not an advisor ID), filed on the segment when the room is booked"New value: +"the guest's own programme number with the hotel's chain (not an advisor ID), filed on the segment when the room is booked. A rate_key found by sabre_hotel_rates_coded WITH loyalty_id carries that number into the booking: pass the same number here (a different one is refused before anything is sent; none adopts the searched one), and a row marked members-only books only from a search made with the guest's number."
  10. First observed

TDQS

A4/5.0
Behavior5/5

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

The description adds extensive behavior beyond the annotations: the page expires in about ten minutes, closing a page does not book or charge, up to three pages may stay open, the oldest public page may be closed at shared capacity, and card details are entered only on the payment page. It also explains data sharing with FlyBest's booking service and the reservation system, and that the reservation appears in my_trips under the same sign-in. These details align with the annotations rather than contradicting them.

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

Conciseness2/5

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

The purpose is front-loaded, but the description is a very long, dense block that repeats many schema details, including the guest email, phone, rooms, adults, expected_total, currency, family_mode and compatibility flags. It contains relevant behavioral detail, but the wall-of-text format makes it hard to scan and it would benefit substantially from shorter paragraphs or bullets.

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 a complex, destructive, open-world payment-link tool with 23 parameters and no output schema, the description is thorough about booking, payment, expiry and family-rate behavior. However, it never states what the tool actually returns, such as a URL, page identifier or status object, which is a meaningful gap when no output schema exists.

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?

The schema already documents most parameters in depth, and its description coverage is high at 78%. The description reinforces key inputs such as email, rate_key, rooms, adults, expected_total and currency, but it does not add much meaning beyond the schema for the remaining parameters such as add_to_pnr, expected_deposit, family_quote_token, chain_code or hotel_name.

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 opens with a specific verb and resource: 'Creates a one-time payment page for one rate.' It clearly distinguishes the tool from a direct booking or rate-search operation by stating that nothing is booked until the guest submits the page and the hotel confirms.

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 clear operational context: the rate_key, rooms, adults, expected_total and currency must come from the same sabre_hotel_rates_coded row, and different room, date or currency choices require a newly selected quote. It also states when family occupancy needs Jay and when adult_pending may be used, though it does not explicitly contrast the tool with named sibling alternatives beyond sabre_hotel_rates_coded and my_trips.

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.