Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Update Booking (V1)

lodgify_update_booking
DestructiveIdempotent

Modify an existing Lodgify booking's dates, guest counts, status, contact details, notes, property, room type, or total amount. Use it when reservation details change or need correction.

Instructions

[Booking & Reservation Management] Update an existing booking's details. This v1 endpoint provides comprehensive booking modification capabilities not available in v2. Use for modifying dates, guest counts, status, or other booking attributes.

Input Format: Accepts simple flat parameters (user-friendly) API Transform: Automatically transforms to nested structure required by Lodgify API

Example MCP Tool Input (flat structure): { "id": 789, // Booking ID to update "arrival": "2024-06-16", // New arrival date (YYYY-MM-DD) "departure": "2024-06-21", // New departure date (YYYY-MM-DD) "guest_name": "Updated Guest Name", // Updated guest name "adults": 3, // Updated number of adults "status": "tentative", // Updated booking status "notes": "Room upgrade requested" // Updated notes }

This gets automatically transformed to the nested API structure with guest objects, rooms arrays, and proper field mapping similar to create_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": {
      "id": "<id>"
    },
    "name": "lodgify_update_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBooking ID to update
notesNoUpdated notes
totalNoOverride Lodgify rate-plan total. When provided, the booking total_amount is set to this exact value.
adultsNoUpdated number of adults
sourceNoUpdated booking source
statusNoUpdated booking status
arrivalNoNew arrival date (YYYY-MM-DD)
infantsNoUpdated number of infants
childrenNoUpdated number of children
departureNoNew departure date (YYYY-MM-DD)
guest_nameNoUpdated guest name
bookabilityNoUpdate the booking flow Lodgify treats this reservation as. "InstantBooking" makes the dashboard render per-unit totals; "EnquiryOnly" hides them.
guest_emailNoUpdated guest email
guest_phoneNoUpdated guest phone
property_idNoNew property ID
room_type_idNoNew room type ID
currency_codeNoISO currency code for the override total (e.g. USD, EUR). Required when total is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=true), so the description is not obligated to re-state mutation risk. What it does add is a genuinely useful behavior note: the tool accepts flat parameters and internally transforms them into the nested Lodgify API structure with guest objects and rooms arrays. It does not disclose how omitted fields are treated on a destructive partial update, nor whether changing dates re-validates availability or how rate overrides interact with existing totals.

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?

The purpose sentence is front-loaded well, but the body is padded with marketing-style headers (**Input Format**, **API Transform**) and a commented JSON example that largely duplicates what the schema already spells out field by field. The flat-to-nested transform explanation earns its place; the example block and the 'similar to create_booking' trailing note do not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive 17-parameter mutation with no output schema, the definition covers the mechanism (flat input transformed to nested) but leaves real gaps: no statement of what the call returns, no indication of partial-update semantics for the 16 optional fields, and no mention of validation or failure behavior. The annotations carry the safety story, so it isn't inadequate, but it's thin for a tool this broad.

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 description coverage is 100%, so every one of the 17 parameters is already documented in the schema, including the enum values and the currency_code dependency on total. The description's example JSON illustrates typical flat input (id, arrival, departure, guest_name, adults, status, notes), which is mildly helpful framing, but it covers only a subset of parameters and adds no semantics the schema lacks. Baseline 3 applies.

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 opening verb+resource is unambiguous ("Update an existing booking's details") and it scopes the tool by naming the modifiable attribute classes (dates, guest counts, status, other booking attributes). It also contrasts this v1 endpoint against a v2 surface, which helps orientation, though that v2 counterpart is not among the sibling tools, so the differentiation doesn't fully route an agent between actual siblings like create_booking or delete_booking.

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?

"Use for modifying dates, guest counts, status, or other booking attributes" is a use statement, but it largely restates the tool name. There is no when-not guidance (e.g., do not use to change payments or key codes, use the dedicated sibling tools), no statement of prerequisites for the required id, and no routing to get_booking for reading current values before mutating.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.