Skip to main content
Glama
Lodgify MCP Server

Lodgify MCP Server

by MikeRobGIT

Get Booking Payment Link

lodgify_get_booking_payment_link
Read-onlyIdempotent

Retrieve a booking's existing payment link and current payment status, amount due, and expiration to check link availability or support customer inquiries.

Instructions

Retrieve existing payment link for a booking including payment status, amount due, and link expiration. Use this to check if a payment link already exists or to get current payment details for customer service inquiries.

Example request: { "id": "BK12345" // Booking ID to get payment link for }

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

Input Schema

NameRequiredDescriptionDefault
idYesBooking ID to get payment link for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds useful return-content context — payment status, amount due, expiration — but says nothing about the failure mode when no link exists (error vs. empty result).

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 sentence is front-loaded and tight, and the intended use case follows immediately. The example request block is redundant given full schema coverage of the one parameter, so it costs a little without earning much.

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 one-parameter read tool with no output schema, naming the returned fields does the job the missing output schema would otherwise do. The remaining gap is undefined behavior when a booking has no payment link, which an agent would want to know before calling.

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?

With a single parameter and 100% schema description coverage, the schema already documents everything. The inline example merely restates the schema's own "Booking ID to get payment link for" text and adds no format, source, or validation detail.

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 ("Retrieve existing payment link for a booking") and enumerates the payload (payment status, amount due, expiration). The word "existing" implicitly separates it from the create-link sibling, though that sibling is never named, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete when-to-use conditions: to check whether a link already exists, or to pull current payment details for customer service inquiries. There are no exclusions or prerequisites (e.g., what to do if no link exists, or when to create one instead), which keeps it short of a 5.

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