Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Calculate Pricing Quote

lodgify_get_quote
Read-onlyIdempotent

Calculate pricing and check availability for specified dates, room types, and guest counts before creating a new booking.

Instructions

Calculate pricing for a potential booking. This tool checks availability and calculates total pricing for specified dates, room types, and guest counts. Use this to get a price quote BEFORE creating a booking.

⚠️ Important: This calculates NEW pricing for available dates. It does NOT retrieve existing quotes from bookings. For existing booking quotes, use lodgify_create_booking_quote.

Workflow: Use this tool to check prices → If acceptable, create booking → Use lodgify_create_booking_quote to modify existing booking quotes.

Required parameters: dates (use either "from"/"to" or "arrival"/"departure" in YYYY-MM-DD format), plus room type and guest information.

Example request: { "propertyId": "123", // Property ID to check pricing for "params": { "from": "2025-09-01", // Check-in date (or use "arrival") "to": "2025-09-03", // Check-out date (or use "departure") "roomTypes[0].Id": 123, // Room type ID (uses bracket notation) "guest_breakdown[adults]": 2, // Number of adults (uses bracket notation) "guest_breakdown[children]": 0 // Number of children (optional, uses bracket notation) } }

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": {
      "propertyId": "<propertyId>",
      "params": "<params>"
    },
    "name": "lodgify_get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYesPricing calculation parameters: dates (from/to or arrival/departure), room types (roomTypes[0].Id), guest breakdown (guest_breakdown[adults]). Uses bracket notation for complex parameters.
propertyIdYesProperty ID to calculate pricing for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the description is not obligated to restate safety. It still adds real behavioral context the annotations cannot carry: that availability is checked as part of the call, and that this is a pre-booking pricing path rather than a lookup of stored quotes. What is missing is failure behavior — nothing says what happens when the dates are unavailable, which matters for a quote tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose, the exclusion warning and the workflow are front-loaded in that order, which is the right priority. The embedded JSON example with inline comments is long but earns most of its space by resolving the ambiguous bracket-notation keys; the 'Workflow:' line slightly restates the earlier BEFORE-creating-a-booking sentence.

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?

There is no output schema, so the description is the only place a caller can learn what comes back — yet it says only that total pricing is calculated, without mentioning currency, whether a price breakdown or an availability boolean is returned, or how an unavailable date range is signalled. Input-side completeness is strong, but for a pricing tool the return shape is a material omission.

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 schema already names from/to vs arrival/departure and the bracket notation for roomTypes[0].Id and guest_breakdown[adults]. The description nonetheless adds value the schema lacks: the YYYY-MM-DD date format, the marking of children as optional, and a complete worked example showing propertyId wrapping a params object.

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 first two sentences give a specific verb and resource ('calculate pricing for a potential booking', 'checks availability and calculates total pricing') and scope it to dates, room types and guest counts. The negative statement 'It does NOT retrieve existing quotes from bookings' plus the named sibling lodgify_create_booking_quote makes the boundary unmistakable.

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

Usage Guidelines5/5

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

It states the trigger condition explicitly ('Use this to get a price quote BEFORE creating a booking'), names the exclusion ('For existing booking quotes, use lodgify_create_booking_quote'), and encodes a three-step workflow that routes the agent to the right sibling at each stage.

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