Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Update Property Rates

lodgify_update_rates
DestructiveIdempotent

Update property and room type rates across date ranges, setting daily price, minimum stay, and currency for seasonal pricing and dynamic rate management.

Instructions

[Rates & Pricing] Update rates for properties and room types. This v1 endpoint provides direct rate modification capability not available in v2. Essential for dynamic pricing strategies and rate management across seasons.

Example request: { "property_id": 123, // Property ID to update rates for "rates": [ { "room_type_id": 456, // Room type ID "start_date": "2024-06-01", // Start date for rate period (YYYY-MM-DD) "end_date": "2024-08-31", // End date for rate period (YYYY-MM-DD) "price_per_day": 150.00, // Rate amount per day "min_stay": 3, // Minimum stay requirement "currency": "USD" // Currency code (e.g., USD, EUR) }, { "room_type_id": 457, // Room type ID "start_date": "2024-06-01", // Start date for rate period (YYYY-MM-DD) "end_date": "2024-08-31", // End date for rate period (YYYY-MM-DD) "price_per_day": 200.00, // Rate amount per day "min_stay": 2, // Minimum stay requirement "currency": "USD" // Currency code (e.g., USD, EUR) } ] }

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": {
      "property_id": "<property_id>",
      "rates": "<rates>"
    },
    "name": "lodgify_update_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratesYesArray of rate updates to apply
property_idYesProperty ID to update rates for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, and the description is consistent with that write semantics. However, for a tool flagged destructive it says nothing about what happens to existing rate periods that overlap the supplied date ranges, whether omitted fields (e.g. min_stay, currency) are cleared, or whether a bad entry fails the whole batch — the behaviors an agent most needs before calling it.

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 is front-loaded in the first sentence, which is good, but the bulk of the definition is a long example whose inline comments duplicate the schema descriptions word for word. Roughly half the text earns no additional information over structured fields.

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?

With full schema coverage and no output schema, the definition covers inputs adequately, but for a destructive mutation it omits the operational context that matters: overwrite behavior on overlapping dates, partial-failure semantics for the rates array, and any permission or property-scoping prerequisite. It is minimally callable but not reassuringly complete.

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 both top-level parameters and every nested field. The worked example restates those same field comments almost verbatim and adds only the compositional insight that multiple room-type entries can be batched in one call, which merits a baseline 3 rather than more.

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 sentence names a concrete verb and resource ("Update rates for properties and room types") and notes the v1/v2 API-version distinction. It does not, however, distinguish itself from rate-related siblings such as lodgify_daily_rates or lodgify_rate_settings, so an agent cannot tell from this text which of those to pick.

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?

Usage is only implied through phrases like "essential for dynamic pricing strategies and rate management across seasons," which signal a pricing context but never state when to use this versus the sibling rate tools. The v1 comment describes API versioning, not sibling selection, so no explicit alternative or exclusion is given.

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