Skip to main content
Glama

Prepare Booking

prepare_booking

Prepares a booking for the person who allowed you, for a free time. Nothing is booked yet: it returns a link (orderUrl) to give to the person. They read who the seller is and the terms, tick two boxes and press the button, and only then is it booked. Needs the person's own ServeCounter sign-in (OAuth). The booking is always for that person, whatever name or email you send; their phone number and full name are needed only when their account has none.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesThe day, YYYY-MM-DD, from get_free_times.
nameNoThe person's full name, if their account has none.
phoneNoThe person's phone number, if their account has none.
startYesThe start time, HH:MM, from get_free_times.
paymentNoOnly where the business lets the customer choose: pay the full amount now, or pay at the business with a deposit now. Defaults to the deposit.
addOnIdsNoAdd-ons chosen with the service.
businessYesThe business's address, such as "studio-noord".
personIdNoWho it is with; leave out for no preference.
serviceIdYesThe service's id from get_business.
variantIdNoA variant of the service, when it has them.
locationIdYesThe location's id from get_business.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: nothing is committed until the person reads terms, ticks two boxes and presses the button; it returns an orderUrl link; it requires the person's own OAuth sign-in; and the booking always binds to that person regardless of name/email. This is exactly the surprising behavior an agent needs to know.

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?

Three sentences, front-loaded with the outcome, then the consent flow, then identity requirements. Dense but every clause carries information; no filler.

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 an 11-parameter, no-output-schema tool it covers the critical unknowns (no commit yet, orderUrl returned, OAuth requirement, identity binding). Given 100% schema coverage on parameters, remaining gaps are minor.

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 the schema already documents every parameter, including the conditional nature of name/phone and the payment enum. The description reinforces identity semantics (name/email ignored) but adds little beyond what the schema states.

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 verb and resource ('Prepares a booking') and immediately scopes it ('Nothing is booked yet'), which distinguishes it from any sibling that actually creates a booking. The agent knows this is the pre-booking step that yields an orderUrl.

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 situates the tool in the workflow: the date/start come from get_free_times and the service/location from get_business, and the person must sign in with OAuth. It gives clear context but does not explicitly name alternatives or state when NOT to use it.

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