Skip to main content
Glama

Get the booking link

get_booking_link
Read-onlyIdempotent

The link to book this stay on the host's own site, with the dates and guests filled in. The traveller sends the request there; nothing is booked until the host confirms.

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": {
      "stay_id": "<stay_id>"
    },
    "name": "get_booking_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsNo
stay_idYesThe stay's id (stay_id from search_stays).
check_inNoCheck-in date, YYYY-MM-DD.
languageNoLanguage of the texts and of the site link.en
check_outNoCheck-out date, YYYY-MM-DD.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description still adds real context: the link points to the host's own site and nothing is committed until the host confirms. That discloses the non-binding nature of the call, which the annotations cannot express. It stops short of describing what the returned link looks like or how it behaves when dates are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no filler, and the core payload — the link and where it points — is front-loaded before the caveat about confirmation. Every clause carries information.

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?

An output schema exists, so return format need not be explained, and the annotations cover the safety profile. The remaining gap is small but real: four of five parameters are optional with null defaults, and the description does not say what the link contains when dates or guests are omitted.

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 coverage is 80%, right at the threshold where the schema carries most parameter documentation, including the stay_id cross-reference to search_stays and the language enum. The description only reinforces that dates and guests are baked into the link, adding marginal meaning without explaining optionality or what happens when check_in/check_out are null.

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 resource — a link to book the stay on the host's own site — with the verb implied by the tool name and title. It is clearly distinct from get_price, get_stay, and check_availability by being the outbound booking handoff, though it never names a sibling to sharpen that contrast.

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 rather than stated: the agent can infer this is the step after a traveller decides to book, but there is no explicit when-to-use versus check_availability or get_price, and no prerequisite (e.g. dates known, availability checked). The closing clause explains consequences, not selection criteria.

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