Skip to main content
Glama

Prepare a checkout link

start_booking
Read-onlyIdempotent

After check_availability and the guest's choice: pass house, room_id or room_type, rate_id, dates and guests as returned. Checks again and returns a summary (room, dates, guests, total EUR) and checkout_url, where the guest enters details and pays. Show the summary, then give the guest checkout_url. Does not book, hold or charge. Never ask the guest for card details. Errors: NOT_AVAILABLE with alternatives, BOOKING_NOT_YET_ONLINE.

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": {
      "rate_id": "<rate_id>",
      "arrival": "<arrival>",
      "departure": "<departure>"
    },
    "name": "start_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
houseNoHouse from the booking option: hotel, chalet or motel (mondschein = hotel). Optional with room_id.
adultsNoNumber of adults, 1 to 8.
arrivalYesArrival date, YYYY-MM-DD.
rate_idYesrate_id from booking_options of check_availability, e.g. base.
room_idNoRoom id from check_availability, e.g. comfort-double.
childrenNoNumber of children, 0 to 6.
languageNoLanguage of texts and links: de, nl, en, fr. Default de.de
departureYesDeparture date, YYYY-MM-DD, after the arrival.
room_typeNoRoom type code from booking_options, e.g. DZC. Give room_id, room_type or both.

Output Schema

NameRequiredDescriptionDefault
okYestrue on success; false with code and message on an error.
codeNoError code when ok is false, e.g. VALIDATION, NOT_FOUND, UNAVAILABLE.
messageNoReadable error message when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Language of texts and links: de, nl, en. Default de."New value: +"Language of texts and links: de, nl, en, fr. Default de."
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "de",
      -  "nl",
      -  "en"
      -]New value: +[
      +  "de",
      +  "nl",
      +  "en",
      +  "fr"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare a safe, idempotent, non-destructive read, and the description reinforces rather than repeats them by specifying no booking, no hold, no charge, no card handling. It also discloses failure modes (NOT_AVAILABLE with alternatives, BOOKING_NOT_YET_ONLINE), which the annotations cannot convey.

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 the precondition and the core output, then the constraints and error codes in descending priority with zero filler. The telegraphic phrasing ('pass house, room_id or room_type, rate_id, dates and guests as returned') is dense but slightly elliptical.

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 9-parameter tool with an output schema, the description covers the precondition, the summary fields (room, dates, guests, total EUR), the returned URL, guest-facing steps, and named error codes. Nothing an agent needs to invoke or narrate it correctly is missing.

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; the description adds real value by saying values should be passed 'as returned' from check_availability and that room_id, room_type, or house combine to identify the room. It stops short of detailing date/guest constraints already covered by schema descriptions.

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?

Names a specific action and artifact: re-checks availability and returns a summary plus a checkout_url. It explicitly positions itself downstream of check_availability and clarifies it 'does not book, hold or charge', so an agent can separate it from request_offer or a real booking call.

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?

States the precondition ('After check_availability and the guest's choice'), the ordering of use ('Show the summary, then give the guest checkout_url'), and an exclusion ('Does not book, hold or charge'). It even constrains the conversational flow with 'Never ask the guest for card details'.

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