Skip to main content
Glama

Create a booking link

create_booking_link

A link for the guest to book a stay: the property page with the dates and guests chosen and the live price shown. Include the guest's details to have the booking form filled in for them (kept for 3 days). Nothing is booked or charged: the guest clicks Book, checks the details, accepts the rental agreement and pays.

Input Schema

NameRequiredDescriptionDefault
petsNoNumber of pets. Only some properties allow pets.
guestNoDetails to fill in on the booking form. The guest checks them before booking. Leave out anything you do not know.
adultsNoNumber of adults.
checkInYesCheck-in date, YYYY-MM-DD. Check-in is from 15:00 Bali time.
infantsNoNumber of infants (ages 0-2). Infants do not count towards the guest limit.
checkOutYesCheck-out date, YYYY-MM-DD. Check-out is by 11:00 Bali time.
childrenNoNumber of children. Children count towards the guest limit.
propertyYesProperty slug, as given in stay search results and the property list (e.g. "villa-kura-kura").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / property / description
      Previous value: -"Property slug, as returned by search_stays or list_properties (e.g. \"villa-kura-kura\")."New value: +"Property slug, as given in stay search results and the property list (e.g. \"villa-kura-kura\")."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write, and the description earns credit above that by stating the link retains guest details for only 3 days and that no booking or charge occurs until the guest accepts the rental agreement and pays. It leaves one non-idempotency gap: whether calling twice produces duplicate links or reuses an existing one.

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?

Two sentences, front-loaded with the outcome (a link) and followed by the precondition and the no-charge guarantee. Slightly wordier than needed in the first sentence, but nothing is redundant.

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?

With 8 parameters including a nested guest object and no output schema, the description covers purpose, precondition and side effects well. The remaining gap is what is actually returned (a URL string? expiry timestamp?), which it gestures at with 'a link' but never specifies.

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 explains property slug format, date formats, occupancy counts and the guest sub-fields. The description's contribution on parameters is limited to explaining why guest details are worth supplying (pre-filled form), which the schema's own 'Leave out anything you do not know' largely covers. Baseline 3 applies.

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 concretely defines the artifact produced: a pre-filled property page link with dates, guests and live price applied. That is far more specific than the title restated, and the 'nothing is booked or charged' line separates it from a booking-creation tool. It never names a sibling workflow (e.g. search_stays -> create_booking_link), so differentiation from the read-only siblings is left implicit.

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: the agent can infer it is called after picking a property and dates, and the guest object is optional. There is no explicit 'use this when the guest is ready to book' versus 'use get_quote for pricing only', and no stated prerequisite that the property slug must come from search results.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources