Skip to main content
Glama

Prepare booking

prepare_booking

Hold a Standard Hourly slot ($425.00), or the first session of an Executive 1:1 Subscription and its recurring monthly day and time, for 30 minutes and return a secure payment link; the booking is confirmed only when payment succeeds. Behavior: this tool creates a temporary hold and charges nothing itself; an unpaid hold expires after 30 minutes. It is not idempotent: call it once per booking attempt. Usage: call check_availability first and pass a slot returned there, with the customer's details. Give the returned payment link to the customer, then use confirm_booking with the returned prepareToken to learn whether payment completed; this tool does not confirm bookings.

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": {
      "slot": "<slot>",
      "name": "<name>",
      "title": "<title>",
      "company": "<company>",
      "email": "<email>",
      "phone": "<phone>",
      "need": "<need>"
    },
    "name": "prepare_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCustomer full name, e.g. Jordan Lee. Used on the booking and the calendar invitation.
needYesWhat the customer wants to cover in the session, in the customer's own words; a sentence or two is enough.
slotYesSlot start from check_availability, ISO 8601 datetime in Pacific Time, e.g. 2027-01-20T10:00:00-08:00. Must be a slot check_availability returned.
emailYesCustomer email address. The payment receipt and the calendar invitation are sent to this address.
phoneYesCustomer phone number, any standard format.
titleYesCustomer job title, e.g. VP Operations.
companyYesCustomer company or organization name.
patternNoExecutive 1:1 only: standing monthly pattern (ordinal 1-4, or -1 for last; weekday 1-4 for Monday to Thursday; hour 10-16 Pacific Time). Defaults to the first session's pattern.
serviceNoService id from list_services; defaults to standard-hourly. Use executive-subscription to start an Executive 1:1 Subscription.

Output Schema

NameRequiredDescriptionDefault
nextNo
planNo
slotNo
sessionsNo
paymentUrlNo
prepareTokenNo
holdExpiresAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / company / description
      Previous value: -"Customer company or organization."New value: +"Customer company or organization name."
    • changedInput schema / properties / email / description
      Previous value: -"Customer email."New value: +"Customer email address. The payment receipt and the calendar invitation are sent to this address."
    • changedInput schema / properties / name / description
      Previous value: -"Customer full name."New value: +"Customer full name, e.g. Jordan Lee. Used on the booking and the calendar invitation."
    • changedInput schema / properties / need / description
      Previous value: -"What the customer wants to cover in the session."New value: +"What the customer wants to cover in the session, in the customer's own words; a sentence or two is enough."
    • changedInput schema / properties / pattern / description
      Previous value: -"Executive 1:1 only: standing monthly pattern (ordinal 1-4 or -1 for last; weekday 1-4 Mon-Thu; hour 10-16 PT). Defaults to the first session's pattern."New value: +"Executive 1:1 only: standing monthly pattern (ordinal 1-4, or -1 for last; weekday 1-4 for Monday to Thursday; hour 10-16 Pacific Time). Defaults to the first session's pattern."
    • changedInput schema / properties / phone / description
      Previous value: -"Customer phone number."New value: +"Customer phone number, any standard format."
    • changedInput schema / properties / service / description
      Previous value: -"Service id from list_services; defaults to standard-hourly."New value: +"Service id from list_services; defaults to standard-hourly. Use executive-subscription to start an Executive 1:1 Subscription."
    • changedInput schema / properties / slot / description
      Previous value: -"Slot start from check_availability, ISO 8601."New value: +"Slot start from check_availability, ISO 8601 datetime in Pacific Time, e.g. 2027-01-20T10:00:00-08:00. Must be a slot check_availability returned."
    • changedInput schema / properties / title / description
      Previous value: -"Customer job title."New value: +"Customer job title, e.g. VP Operations."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "holdExpiresAt": {
      +      "type": "string"
      +    },
      +    "next": {
      +      "type": "string"
      +    },
      +    "paymentUrl": {
      +      "type": "string"
      +    },
      +    "plan": {},
      +    "prepareToken": {
      +      "type": "string"
      +    },
      +    "sessions": {},
      +    "slot": {}
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the bar is lower — yet the description adds real substance: a temporary hold is created, no charge occurs from this tool, an unpaid hold expires after 30 minutes, and confirmation is contingent on payment success. The repeated non-idempotency is paired with actionable guidance ('call it once per booking attempt') rather than merely restating the hint.

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?

The description is front-loaded with the core action, then cleanly segmented into 'Behavior:' and 'Usage:' blocks, and nearly every clause carries information an agent needs before calling. There is minor redundancy between 'confirmed only when payment succeeds' and the closing 'this tool does not confirm bookings'.

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 mutating tool with a nested pattern object and an open-world external side effect, the description covers timing, cost, failure mode, ordering, and handoff. An output schema exists, yet the description still usefully names the returned payment link and prepareToken, which is the artifact the agent must pass downstream.

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 rises above it by tying the 'slot' parameter to its source, disclosing the $425.00 price point that affects service selection, and explaining that the Executive path establishes a recurring monthly day and time. It does not add format or validation detail beyond the schema, so it stops short of the top score.

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: 'Hold a Standard Hourly slot ($425.00), or the first session of an Executive 1:1 Subscription ... for 30 minutes and return a secure payment link.' The scope (hold vs. confirm) is stated explicitly and contrasted with the sibling that actually confirms, so an agent can distinguish this from confirm_booking without opening either schema.

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?

It gives explicit prerequisites ('call check_availability first and pass a slot returned there'), an explicit sequencing rule ('Give the returned payment link to the customer, then use confirm_booking with the returned prepareToken'), and an explicit exclusion ('this tool does not confirm bookings'). Both the when and the when-not are covered.

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