Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Create Booking Payment Link

lodgify_create_booking_payment_link

Create a secure payment link for a booking so guests can pay outstanding balances, deposits, or final charges online via email or direct sharing.

Instructions

Generate a secure payment link for a booking allowing guests to pay outstanding balances online. Useful for collecting deposits, final payments, or additional charges. The link will be sent to guests via email or can be shared directly.

Example request: { "id": "BK12345", // Booking ID to create payment link for "payload": { "amount": 500.00, // Payment amount (defaults to booking balance) "currency": "USD", // Currency code (e.g., USD, EUR) "description": "Final payment for Ocean View Villa booking" // Payment description for guest } }

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": {
      "id": "<id>",
      "payload": "<payload>"
    },
    "name": "lodgify_create_booking_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBooking ID to create payment link for
payloadYesPayment link configuration - amount, currency, and description

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 cover readOnly=false, destructive=false, idempotent=false, and openWorld=false. The description adds that a secure link is generated and can be sent via email or shared, but it is ambiguous whether the tool sends the email itself or just returns the link. It also does not clarify what happens if called multiple times (non-idempotent) or if the booking is already paid.

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 description is front-loaded with the primary action and purpose, followed by use cases and an example. It is reasonably concise, though the example largely duplicates the schema and could be trimmed.

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?

Given the tool creates a payment link and has no output schema, the description should clarify the return value (e.g., a URL) and any error conditions. It implies a link is generated but does not explicitly state what the response contains, leaving a gap for the agent.

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 fully documents all parameters. The description's example request repeats the same parameter meanings (booking ID, amount defaults to balance, currency code, guest-facing description) without adding new semantic details beyond what the schema already provides.

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 (Generate) and resource (secure payment link for a booking), making the tool's purpose clear. It does not explicitly differentiate from the sibling lodgify_get_booking_payment_link, but the action verb distinguishes it.

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 description mentions use cases (collecting deposits, final payments, additional charges) and delivery methods (email or direct sharing), which implies when to use it. However, it does not specify when not to use it or mention alternatives like retrieving an existing link.

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