Skip to main content
Glama

BookResorts — hotel & resort booking

create_booking_link

Create a secure checkout link for one room option from get_hotel. Give the link to the traveller: it opens our checkout with that exact room, dates and price, where they enter their details and pay (rate re-confirmed live). Links last 24 hours. Never ask the traveller for card details yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomsNo
adultsNo
checkinYesYYYY-MM-DD
checkoutYesYYYY-MM-DD
hotel_idYes
option_idYesoption_id from get_hotel
children_agesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the 24-hour link expiry, that the rate is re-confirmed live at checkout, and the security constraint against handling card details. It omits auth/permission needs and what happens to an expired link.

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?

Four short sentences, front-loaded with the action, then the handoff instruction, then the constraints. No sentence 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?

For a link-generating tool with no output schema and no annotations, the description covers purpose, expiry, workflow, and a key security boundary. It stops short of describing the returned artifact or failure modes, but is sufficient to call correctly.

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 only 43% across 7 parameters. The description reinforces that option_id comes from get_hotel and that dates/price flow into the link, but says nothing about rooms, adults, or children_ages, leaving several parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Create a secure checkout link') scoped to 'one room option from get_hotel', which explicitly ties it to the sibling tool it depends on and separates it from search_hotels. An agent can tell what it produces without opening the schema.

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?

Gives clear workflow context: use the output of get_hotel, hand the link to the traveller, and do not collect card details. It lacks an explicit when-not-to-use or alternative clause, but the correct invocation path is unambiguous.

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