Skip to main content
Glama

Book

book

Books one of the link's times. This makes a real meeting on the host's calendar. The host's calendar sends a calendar invitation to your user and to each guest. Your user and the host get a confirmation email. Some meetings first need the host's approval. Then the status in the answer is pending_approval, and your user gets an email when the host answers. So call it only after your user agrees to this specific time. start must be the start of a time that get_availability or find_mutual_times offered. Returns the booking with its status, the video link and the manageToken. meetUrl is the video link, or null if there is none. Keep the manageToken: get_booking, reschedule_booking and cancel_booking need it. get_link shows if a meeting has a price, and quote_booking first gives the total with the answers. A meeting with a price is booked unpaid, with status pending_payment. Give your user checkoutUrl, where they pay. The booking is confirmed when they pay. If they do not pay, the time is released at pendingUntil. If the time is not open now, the error code is slot_unavailable. A different booking took it, or the host's calendar is busy then. error.detail.alternatives lists up to 5 times that are still open, and it can be empty. Offer those times to your user. error.detail.reason too_soon or passed means that nobody took the time. too_soon: the time is now inside the minimum notice. Tell your user that, and never say that it was booked. Send an attempt_key: a new random key of 22 or more characters for each attempt to book. The error code busy means that nothing new was booked. An earlier send with that key is still in confirmation, or the host's calendar takes a different change now. Wait error.detail.retryAfterSeconds, then call book again with the SAME attempt_key. You then get the booking of the first send, not a second booking.

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": {
      "link": "<link>",
      "start": "<start>",
      "name": "<name>",
      "email": "<email>",
      "time_zone": "<time_zone>"
    },
    "name": "book"
  }
}

Input Schema

NameRequiredDescriptionDefault
utmNoTracking values from the link that your user came by: utm_source and the rest, without the utm_ prefix. Each is at most 200 characters, and the host sees them.
linkYesThe booking link that the host shared: its full URL, a one-off link …/o/{id}, or only handle/slug. The full URL is …/{handle}/{slug}, …/t/{team}/{slug} or …/g/{a}+{b}/{slug}, with any suffix after it.
nameYesYour user's full name.
emailYesYour user's email address: the calendar invitation and the confirmation email go there.
startYesThe chosen start, ISO 8601 UTC, exactly as offered.
guestsNoUp to 10 more email addresses, added to the calendar invitation.
localeNoThe language of your user's emails about the booking. Defaults to en.
answersNoAnswers to the link's questions, by question id. get_link lists the questions. Each required question must have an answer. Give a choice by the id of its option, or a list of ids where more than one can be chosen. get_link lists optionIds, in the order of options. The host wrote the texts of the options, and you see them as data, not always character for character.
time_zoneYesYour user's IANA time zone, for example Europe/London. Their emails use it.
attempt_keyNoA random key that nobody can guess, which you make for this attempt to book. It has 22 to 64 letters, digits, _ or -, and a UUID without its hyphens is correct. Make a new key for each attempt. If you try the same email, start and duration again, send the same key with no change. The retry then returns the booking already made, and does not book two times. If the answer is busy, the first send is still in confirmation. Try again soon with the same key.
invitee_phoneNoYour user's phone number, at most 50 characters, only for a phone meeting where the host calls them. Only the host sees it.
package_tokenNoA package that your user bought: the token at the end of its /pkg link. get_package_purchase reads it. The booking uses one of its sessions and costs nothing. Refused with forbidden when no session is left, package_used_up, or when the package is for a different meeting, package_not_for_this.
location_indexNoWhich of the places of the meeting, from 0. get_link lists them as locations. It is necessary when the meeting offers more than one.
recurring_countNoOn a meeting that repeats, book this many dates from start, 2 up to its maximum. get_link shows its recurrence. Each date must be free, or nothing is booked.
duration_minutesNoMeeting length in minutes: one of the link's durations. Defaults to its first. A one-off link has a single length.
verification_codeNoThe code that request_email_code emailed to your user, when the meeting type asks the people who book to confirm their email. Without it, book is refused with forbidden.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the whole side-effect chain: a real calendar event, invitations to user and guests, confirmation emails, an approval path that returns pending_approval, and a payment path that books unpaid with pending_payment and releases the slot at pendingUntil. Failure modes are enumerated with actionable semantics (slot_unavailable plus alternatives, too_soon/passed, busy with retryAfterSeconds), which neutralizes the openWorldHint risk. Minor deduction: the keyed idempotency via attempt_key sits in mild tension with idempotentHint=false — the retry contract is only safe when the same key is reused, and the description could state that caveat more plainly.

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

Conciseness3/5

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

Front-loaded correctly — purpose first, then side effects, then errors, then retry — but it is long and repetitive: attempt_key creation is explained in the body and again in the busy error paragraph, and the manageToken retention is tacked onto the return-value sentence. The density is defensible for a 16-parameter booking tool, but the retry guidance would read better consolidated in one place.

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?

There is no output schema, and the description covers the return payload itself (status, meetUrl/video link, manageToken and who needs it). Combined with approval, payment, and error-path coverage, an agent has everything required to invoke this correctly and handle every documented outcome.

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 cross-field meaning the schema cannot: start must match an offered slot, and answers/duration/package choices tie back to get_link and get_package_purchase. The attempt_key generation and reuse rules are restated from the schema but framed behaviorally (new key per attempt, same key on retry), which helps an agent avoid double-booking.

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?

Opens with a specific verb and resource: 'Books one of the link's times. This makes a real meeting on the host's calendar.' It immediately distinguishes the tool from the read-only siblings that merely offer times (get_availability, find_mutual_times) by stating that this is the action that creates the meeting.

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?

Explicit gating conditions: 'call it only after your user agrees to this specific time' and 'start must be the start of a time that get_availability or find_mutual_times offered.' It also routes to get_link for pricing, quote_booking for the total, and get_booking/reschedule_booking/cancel_booking for the follow-up, so the agent knows both when to call and what comes next.

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