Skip to main content
Glama

Prepare a booking

prepare_booking
Read-only

Checks that a start time from check_availability is still free and returns confirm_url: the zhannett.com page where the customer signs in, sees the price and prepayment, and books by paying the prepayment. Nothing is booked or held until they do. Works without sign-in.

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": {
      "offering_id": "<offering_id>",
      "start": "<start>"
    },
    "name": "prepare_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
startYesA `start` instant from check_availability (ISO 8601).
guestsNoHow many people come. Where the price is per guest, the total and what is paid after the walk are computed from it.
localeNoLanguage of the texts: ru, en or pt (default en).
group_sizeNosingle, small (up to 4) or large (more than 4); needed when the experience offers more than one.
offering_idYesAn experience id from list_offerings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark it read-only and non-destructive, but the description adds the crucial business behavior: nothing is booked or held, the customer pays the prepayment on the returned page, and no sign-in is required to call it. That resolves the apparent contradiction between the name 'prepare_booking' and a read-only hint.

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

Conciseness5/5

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

Three short sentences, front-loaded with the action and the return value, followed by the 'nothing is held' caveat and the auth note. No filler or redundancy.

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?

No output schema exists, and the description compensates by explaining what `confirm_url` is and what happens on that page. The only minor gap is that it doesn't mention what happens on the stale-time failure path, leaving the error behavior unspecified.

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 five parameters are already self-documenting, including the start's origin and the guests/locale/group_size semantics. The description adds no parameter detail beyond what the schema states, so baseline 3 applies.

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 action (re-checks that a start time from check_availability is still free) and a concrete return value (`confirm_url`), which is exactly what distinguishes it from check_availability. An agent can tell what it produces without opening any schema.

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?

Establishes the prerequisite clearly: the start must come from check_availability, so this is the step after availability lookup. It does not name exclusions or sibling alternatives (e.g. cancel_booking, prepare_guide_purchase), but the sequencing guidance is unambiguous.

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