Skip to main content
Glama

Book a stay

book_stay

Holds the home and returns a secure Stripe payment link. The booking is confirmed only when the guest pays on that page. Ask the guest for their full name and email first.

Input Schema

NameRequiredDescriptionDefault
nameYesGuest full name
emailYesGuest email for the confirmation
guestsYes
check_inYesCheck-in date, YYYY-MM-DD
check_outYesCheck-out date, YYYY-MM-DD
stay_codeYesstay_code from search_stays

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?

The annotations already declare that this is not read-only, is open-world, and is non-destructive. The description adds valuable behavioral context beyond that: it holds the home, returns a payment link, and confirms the booking only after payment. It does not explain hold expiration or what happens if payment fails.

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?

Three short sentences, each earning its place: the core behavior is front-loaded, the payment confirmation condition follows, and the prerequisite comes last. There is no wasted wording.

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 six-parameter booking tool with no output schema, the description covers the essential outcomes: it holds the home, returns a payment link, and requires payment for confirmation. It is missing details such as hold duration and release behavior, but it is sufficient for an agent to select and invoke the tool 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 description coverage is high at 83%, so the baseline is 3. The description reinforces the need for full name and email before calling, but it does not add meaning beyond the schema for stay_code, check_in, check_out, or guests.

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 effect: it holds the home and returns a Stripe payment link, with confirmation contingent on payment. This clearly distinguishes it from the only sibling, search_stays, though it does not explicitly name that sibling.

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?

It gives a concrete prerequisite to ask the guest for full name and email first, which implies the booking workflow. However, it does not explicitly say when to use this tool instead of search_stays or mention when not to use it.

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