Skip to main content
Glama

Create a booking

beds24_create_booking
Destructive

Create a new booking in a room for given dates and guest details. It immediately blocks inventory and is synced to connected channels. Set checkAvailability=true to refuse the booking if the room is not free, and notifyGuest / notifyHost to send confirmation emails. Undo by setting status cancelled with beds24_update_booking. Requires a token with bookings write access. Beds24: POST /bookings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxNo
cityNo
langNoGuest language, 2-letter code, e.g. en.
emailNo
notesNoInternal host notes.
phoneNo
priceNoTotal booking price.
stateNo
titleNoGuest title, e.g. Mr, Ms.
mobileNo
roomIdYesRoom (room type) id.
statusNoBooking status.
unitIdNoSpecific unit within the room type.
addressNo
arrivalYesArrival date, YYYY-MM-DD.
companyNo
countryNoFree text country.
depositNo
commentsNoGuest comments.
country2No2-letter country code, e.g. DE.
flagTextNo
lastNameNo
numAdultNoNumber of adults.
numChildNoNumber of children.
postcodeNo
departureYesDeparture (check-out) date, YYYY-MM-DD.
firstNameNo
flagColorNoFlag colour, 6-character hex (e.g. ff0000) or empty string to clear.
referenceNoYour own reference.
notifyHostNoEmail the host a booking confirmation.
arrivalTimeNoExpected arrival time (free text).
notifyGuestNoEmail the guest a booking confirmation.
assignBookingNoLet Beds24 assign the first free unit / room using room dependency settings.
checkAvailabilityNoDo not save the booking if the room has no availability. Recommended.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations supply only destructiveHint, and the description goes well beyond that: it discloses side effects (immediately blocks inventory, synced to connected channels), reversibility (cancel via update_booking), and an auth prerequisite (token with bookings write access). This is exactly the behavioral context an agent needs before mutating shared inventory.

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?

Front-loaded with the core action, then flows through options, undo, and auth requirement. Every sentence carries new information; nothing restates the name or title.

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 34-parameter mutation tool with no output schema, the description covers behavior, side effects, auth, and undo well. It omits what a successful call returns (e.g. the created booking id), and only briefly touches the large optional-field surface, so it is strong but not fully complete.

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 62%, so the schema already documents most fields. The description adds meaning for checkAvailability and the notify flags, but it does not touch the three required parameters (roomId, arrival, departure) or the many other optional fields. With the schema doing the heavy lifting, 3 is the correct baseline.

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+resource with scope: 'Create a new booking in a room for given dates and guest details.' It also names beds24_update_booking as the tool for undoing the operation, which disambiguates it from the sibling update tool and lets an agent place it correctly in the create/update/get/list family.

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?

Provides clear operational context: when to set checkAvailability=true (refuse if room not free), notifyGuest/notifyHost for emails, and the explicit undo path via status cancelled with beds24_update_booking. It lacks any explicit 'when not to use this' statement, so it stops short of full 5-level routing guidance.

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.