Skip to main content
Glama

Prepare a booking

prepare_booking
Read-only

Checks that the time is still free and returns a confirm_url. Nothing is booked yet: the user opens the link, signs in and confirms (deposit and terms of the studio apply there).

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": {
      "studio_id": "<studio_id>",
      "service_id": "<service_id>",
      "date": "<date>",
      "start_time": "<start_time>"
    },
    "name": "prepare_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
studio_idYesstudio_id from search_studios (or the handle from a profile link)
service_idYes
start_timeYesHH:mm in the studio time zone, exactly one of the start times from find_free_slots
employee_idNoOptional, group studios

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / start_time / description
      Previous value: -"HH:mm in the studio time zone"New value: +"HH:mm in the studio time zone, exactly one of the start times from find_free_slots"
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the key behavioral traits: the tool only checks availability, returns a confirm_url, and does not complete a booking. It also explains that the user must open the link, sign in, and confirm with deposit and terms applied there, which is important context for an agent deciding what happens next.

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?

The description is two tight sentences with no wasted wording. The key operation and return value are front-loaded, followed by the important caveat that nothing is booked yet.

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 low-complexity preparation tool with annotations covering safety and an input schema covering most fields, the description supplies the essential return behavior and post-call user flow. It could be slightly more complete by explicitly connecting the call to find_free_slots or describing what happens when the slot is no longer available.

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 coverage is high at 80%, so the schema already carries most parameter meaning. The description adds no parameter-specific guidance, and service_id remains undocumented in the schema without compensation in the description.

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?

The description clearly states the tool checks that the requested time is still free and returns a confirm_url, which is a specific verb-and-result pairing. It does not explicitly contrast itself with siblings such as find_free_slots, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage after a time has been chosen and before the user confirms, and it clarifies that nothing is booked yet. However, it does not explicitly say when to use this instead of find_free_slots or what to do if the time is no longer free.

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