Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Subscribe to Webhook Events

lodgify_subscribe_webhook

Subscribe to webhook events and receive real-time notifications for booking changes, rate updates, availability changes, and guest messages via a target HTTPS URL.

Instructions

[Webhooks & Notifications] Subscribe to webhook events to receive real-time notifications when specific events occur in Lodgify. Supports various event types including booking changes, rate updates, and guest messages.

Available event types:

  • rate_change: Rate or pricing changes

  • availability_change: Availability updates

  • booking_new_any_status: Any new booking created

  • booking_new_status_booked: New confirmed bookings only

  • booking_change: Any booking modification

  • booking_status_change_booked: Booking status changed to booked

  • booking_status_change_tentative: Booking status changed to tentative

  • booking_status_change_open: Booking status changed to open

  • booking_status_change_declined: Booking status changed to declined

  • guest_message_received: New guest message received

Example request: { "event": "booking_new_status_booked", // Event type to subscribe to "target_url": "https://example.com/webhooks/lodgify" // HTTPS URL endpoint to receive webhook notifications }

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": {
      "event": "<event>",
      "target_url": "<target_url>"
    },
    "name": "lodgify_subscribe_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesEvent type to subscribe to
target_urlYesHTTPS URL endpoint to receive webhook notifications

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds that target_url must be an HTTPS endpoint and that notifications are delivered in real time, but it does not address duplicate-subscription behavior, whether re-subscribing the same event/URL creates a second hook, or what identifier is returned for later unsubscription.

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 is front-loaded and the event catalog is structured as a scannable list, so the length is justified by the 10 enum values. The trailing example request is largely redundant with the schema and its inline comments, adding bulk without new information.

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 state-changing, open-world tool with no output schema, the description covers inputs well but leaves the post-call picture thin: it does not say whether a subscription ID or confirmation is returned, nor how to undo or verify the subscription. An agent can call it correctly but cannot reason about the result or follow-up actions from the description alone.

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 baseline is 3, but the description goes beyond the schema by annotating each enum value with its meaning (e.g., 'booking_new_status_booked: New confirmed bookings only'), which the schema enum alone does not provide. This is exactly the kind of disambiguation an agent needs to choose the correct event.

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 opens with a specific verb and resource ('Subscribe to webhook events') and states the outcome (real-time notifications for specific events in Lodgify), which is enough to distinguish it from unrelated siblings. It does not explicitly contrast with lodgify_unsubscribe_webhook or lodgify_list_webhooks, so differentiation is inferred rather than stated.

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 implied by the stated benefit ('receive real-time notifications when specific events occur'), and the event catalog helps an agent pick the right subscription. However, there is no explicit guidance on when to subscribe versus list existing webhooks, no mention of what to do if a subscription already exists, and no note about unsubscribing.

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