Skip to main content
Glama

Roraima holiday rentals

Prepare a booking for the guest

prepare_booking

Keeps a stay (check_in and check_out) or a time slot (date, start_time, end_time) at one listing, with the name and contacts of the person booking, and returns a link to a Roraima page where that person checks the booking and pays, with these details already filled in. Availability and price are checked as in get_quote. The link carries only a random code, works once and expires after two hours; the details are then deleted. This answer does not repeat the name or the contacts. The booking exists only once it is paid on the page.

Input Schema

NameRequiredDescriptionDefault
dateNoDay of the time slot, YYYY-MM-DD (listings booked by time slots).
emailYesEmail of the person booking.
phoneNoPhone of the person booking, with the international prefix (for example +39...). Used only where the checkout of the listing asks for a phone number.
guestsYesNumber of guests.
check_inNoArrival date, YYYY-MM-DD (listings booked by nights).
end_timeNoSlot end, HH:MM.
languageNoLanguage of names, descriptions and page links. Default en.
check_outNoDeparture date, YYYY-MM-DD.
last_nameYesLast name of the person booking.
first_nameYesFirst name of the person booking.
listing_idYeslisting_id from search_listings.
start_timeNoSlot start, HH:MM.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) by disclosing that the link carries only a random code, works once, expires after two hours, and that the submitted details are then deleted. It also clarifies that the response omits the guest's name and contacts and that nothing is actually booked until payment, which is precisely the kind of side-effect context an agent needs.

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?

Front-loads the operation and its output in the first sentence, then packs expiry, deletion, response contents and payment-gating into two tight follow-up sentences. No filler and no restatement of the title.

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 12-parameter, non-read-only tool with no output schema, the description covers the return value (a link), its lifetime, and the two booking modes. Failure modes (invalid dates, unavailable slot) are left implicit, but nothing essential for calling the tool 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, but the description adds a genuinely useful rule the schema does not encode: check_in/check_out apply to listings booked by nights while date/start_time/end_time apply to listings booked by time slots. That mutual exclusivity affects which parameters must be supplied together, so it earns above baseline.

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?

Names a specific verb (keeps/prepares a booking) and resource (a stay or time slot at one listing) and states the concrete output (a link to a Roraima page where the guest reviews and pays). It differentiates itself from get_quote by saying availability and price are checked 'as in get_quote', but it never contrasts itself with the sibling get_booking_link, which sounds like an overlapping way to obtain the same link.

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?

The description makes the operating context clear: this is the step that produces a payment link for a named guest, and the booking only materialises after payment. It states no explicit when-not conditions or named alternatives, so the agent must infer that get_booking_link serves other cases.

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