Skip to main content
Glama

Create a reservation

smoobu_create_reservation
Destructive

Create a reservation (or a blocked period) on a property. Smoobu treats it like a booking from a channel and SYNCS the blocked dates to every connected channel (Airbnb, Booking.com, ...). Fails if the dates overlap an existing booking. This server offers no cancel — cancel it in Smoobu if needed. Which guest fields are mandatory depends on your booking-tool 'Form Content' settings. Smoobu: POST /api/reservations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoGuest email.
phoneNoGuest phone.
priceNoTotal price of the booking.
adultsNoNumber of adults.
noticeNoFree-text notes on the booking.
addressNoGuest address.
countryNoGuest country.
depositNoDeposit amount.
childrenNoNumber of children.
languageNoGuest language, e.g. en, de, es.
last_nameNoGuest last name.
channel_idNoChannel id (defaults to 70). Must be a channel the account has, e.g. 13 = Direct booking, 11 = Blocked channel.
first_nameNoGuest first name.
prepaymentNoPrepayment amount.
apartment_idYesThe property id.
arrival_dateYesArrival date (yyyy-mm-dd).
arrival_timeNoArrival time (HH:mm, 24h).
price_statusNoPrice status: 0 = open / not paid, 1 = paid in full.
departure_dateYesDeparture date (yyyy-mm-dd).
departure_timeNoDeparture time (HH:mm, 24h).
deposit_statusNoDeposit status: 0 = open / not paid, 1 = paid in full.
price_elementsNoOptional price breakdown (base price, cleaning fee, ...).
prepayment_statusNoPrepayment status: 0 = open / not paid, 1 = paid in full.

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.6/5.0
Behavior5/5

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

Annotations supply only destructiveHint=true, so the description carries real weight and delivers: channel-wide date sync side effects, the overlap failure mode, and the irreversibility ('no cancel'). It also discloses that required guest fields vary with the account's Form Content settings, which no structured field conveys.

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 side effects, failure mode, and caveats in descending priority. Six sentences and every one contributes a distinct fact; the trailing API endpoint is the only mild redundancy.

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 23-parameter mutation with no output schema and minimal annotations, it covers side effects, failure, and reversibility well. The remaining gap is the return value — with no output schema, telling the agent it receives the new reservation id would have closed the loop.

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 genuinely non-schema information: mandatory guest fields depend on the booking-tool Form Content configuration. That clarifies why only three fields are marked required and guides the agent on which of the 23 parameters matter.

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 ('Create a reservation') and extends the scope to blocked periods, which the bare title omits. The create-vs-update boundary against smoobu_update_reservation is implicit in the verb, and the channel-sync sentence makes the operation's nature unmistakable.

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?

Gives clear context ('or a blocked period', fails on overlapping dates) and an explicit exclusion ('no cancel — cancel it in Smoobu'). It stops short of naming a sibling to run first (e.g., smoobu_check_availability) even though the overlap failure strongly implies one, so routing is left partly to inference.

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.