Skip to main content
Glama

Create a booking

create_booking
Destructive

MUTATES YouCanBookMe data: creates a booking (appointment) on a profile. YCBM API: POST /v1/bookings (JSON). Required: profileId, startsAt, endsAt (ISO 8601 times). Optional: title, timeZone, locale, units. Complex fields like answers (form-field answers) and linkFields should be passed via the fields passthrough. Returns the created booking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoBooking title.
unitsNoNumber of slot units to book.
endsAtYesBooking end time, ISO 8601 (required).
fieldsNoAdditional documented YCBM fields to send in the JSON write body — merged OVER the typed fields above.
localeNoLocale for the booking (e.g. en-GB).
startsAtYesBooking start time, ISO 8601 (required).
timeZoneNoIANA time zone for the booking (e.g. Europe/London).
profileIdYesThe profile (booking page) id to book on (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations only provide destructiveHint=true, and the description adds useful behavioral context: it creates persistent data via a POST request, requires ISO 8601 times, passes complex fields through the fields passthrough, and returns the created booking. It does not mention possible side effects like confirmation emails, but the disclosure is still strong beyond the annotation.

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 dense, front-loaded sentences with no filler. It opens with the mutation warning, then provides API endpoint, required and optional parameters, complex-field guidance, and return behavior — every sentence earns its place.

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 mutation tool with no output schema, the description covers required inputs, optional inputs, the non-obvious fields passthrough, and the return value. It is complete enough for an agent to make a correct call, though it could be slightly richer on what side effects to expect beyond 'creates a booking.'

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?

The schema already documents 100% of parameters, so the description's extra grouping of required and optional parameters is helpful but not strictly necessary. It adds real value by explaining the fields passthrough for complex fields like answers and linkFields, which the schema alone does not clarify semantically.

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 states a specific action and resource: it creates a booking (appointment) on a profile and names the exact API endpoint, POST /v1/bookings. This clearly separates it from siblings like create_appointment_type, create_location, or update_booking.

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?

It gives clear usage context by marking the operation as MUTATES, listing required vs optional fields, and explaining how complex fields like answers and linkFields should be passed. It does not explicitly call out alternatives such as update_booking or cancel_booking, so the guidance is clear but not exhaustive.

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.