Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

List Vacant Inventory (Properties & Rooms)

lodgify_list_vacant_inventory
Read-onlyIdempotent

Find all properties vacant for a date range in one call, optionally including room types, instead of checking each property separately.

Instructions

List all properties that are vacant for a date range, optionally including room details.

Use this to find available inventory in one call instead of checking each property separately.

Performance Note: With many properties and includeRooms=true, this operation makes multiple API calls and may take 60-120 seconds. The default timeout is 180 seconds (3 minutes).

Example request: { "from": "2025-11-20", "to": "2025-11-25", "propertyIds": ["435705", "435706"], // Optional: filter to these properties "includeRooms": true, // Include room types in the result (default: true) "limit": 25, // Max number of properties when propertyIds not provided (default: 25) "timeoutSeconds": 180 // Optional: timeout in seconds (default: 180, max: 600) }

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "lodgify_list_vacant_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd date (YYYY-MM-DD)
widNoWebsite ID filter (if supported). Positive integer; omit if unknown.
fromYesStart date (YYYY-MM-DD)
debugNoInclude diagnostic information in response
limitNoMax number of properties when propertyIds not provided
propertyIdsNoOptional list of property IDs to filter
includeRoomsNoInclude room types for each property
timeoutSecondsNoTimeout in seconds for the entire operation (default: 180, max: 600)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely non-obvious behavior: fan-out into multiple API calls when includeRooms=true, a 60-120s runtime warning, and the default/max timeout envelope. What it does not disclose is the shape of the returned data (which fields identify a vacant property or room).

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?

Front-loaded with purpose and usage guidance, followed by the performance warning before any parameter detail. The JSON example is somewhat bulky and echoes the schema, but each section (purpose, usage, performance, example) is distinct and earns its space.

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 read-only listing tool with full annotation coverage and no output schema, the definition covers purpose, usage, cost, and timeout behavior well. The remaining gap is that nothing describes what a vacancy result contains, so an agent cannot anticipate the response structure without calling it.

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 the schema already documents all eight parameters including defaults and maximums. The example block largely restates those same defaults and annotations, though it does helpfully surface the interplay between propertyIds and limit. Per the high-coverage baseline, this lands at 3 rather than higher.

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 and resource ('List all properties that are vacant for a date range') plus an explicit optional scope ('optionally including room details'). It is readily distinguished from siblings like lodgify_list_properties (all properties) and lodgify_get_property_availability (single property), since this one is a bulk vacancy lookup.

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 a clear use case: 'Use this to find available inventory in one call instead of checking each property separately', which tells the agent when to prefer this over looping single-property calls. It stops short of naming sibling tools such as get_property_availability or list_property_rooms, and gives no explicit when-not-to-use condition.

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