Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Get Property Availability

lodgify_get_property_availability
Read-onlyIdempotent

Check availability for a specific property across a date range to confirm open dates before booking or blocking.

Instructions

Get availability for a specific property over a period. Useful for granular checks before booking or blocking dates.

Example request: { "propertyId": "123", // Property ID "params": { "from": "2024-03-01", // Start date (YYYY-MM-DD) "to": "2024-03-31" // End date (YYYY-MM-DD) } }

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>"
    },
    "name": "lodgify_get_property_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
propertyIdYesProperty ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile needs no restating. The description adds the practical intent (checking before booking or blocking) but says nothing about what the response contains—whether it reports free/nightly units, minimum-stay constraints, or blocked reasons—which is the main behavioral gap.

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?

Purpose and usage are front-loaded in two short sentences, and the example is clearly delimited. The inline-commented JSON example is somewhat redundant with the input schema, keeping it from a 5.

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 read-only availability query with no output schema, the description omits any indication of the return shape (date-by-date availability, capacity, restrictions), which an agent needs to interpret results. The nested parameter structure is at least illustrated via the example.

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 50%: propertyId and the from/to date fields are already documented, but the nested 'params' wrapper object has no description in the schema. The example request usefully illustrates the nesting and date format, though it largely repeats format strings already present in the schema.

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 description states a specific verb and resource ('Get availability for a specific property over a period'), which is enough to distinguish it from booking- or rate-oriented siblings. It does not explicitly contrast with adjacent tools like lodgify_list_vacant_inventory, so it stops short of a 5.

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?

The phrase 'useful for granular checks before booking or blocking dates' implies the intended context, but there is no explicit when-not guidance and no named alternative for bulk or portfolio-wide availability queries. Usage is suggested rather than prescribed.

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