Skip to main content
Glama

Book a stay

book_stay

Holds the home for about 30 minutes and returns a secure Stripe payment link. The booking is confirmed only when the guest pays on that page. Needs the guest's full name and email.

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_code": "<stay_code>",
      "check_in": "<check_in>",
      "check_out": "<check_out>",
      "guests": "<guests>",
      "name": "<name>",
      "email": "<email>"
    },
    "name": "book_stay"
  }
}

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.7/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive and open-world, so the description adds real value: the 30-minute hold, the two-step payment flow, and the fact that the booking is NOT confirmed until payment. It stops short of covering what happens when the hold lapses, whether a hold can be released early, or what the response contains beyond the link.

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?

Three short sentences, front-loaded with the most important behavioral fact (the 30-minute hold and payment-link return). The final sentence about name and email is largely redundant with the schema, which is the only wasted phrasing.

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-required-parameter mutation tool with no output schema, the description conveys the essential mechanics an agent needs: the hold duration, the payment-link return, and the confirmation condition. Gaps around hold expiry and failure modes are minor relative to what is already covered.

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 83%, so the schema already documents name, email, dates and stay_code. The description's 'needs the guest's full name and email' mostly restates the schema rather than adding format, validation, or cross-parameter constraints (e.g., check_out after check_in).

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 concrete action and mechanism: it holds a home for ~30 minutes and returns a Stripe payment link, which is a specific verb-plus-resource picture of booking. It does not explicitly name the sibling search_stays or say 'books the stay identified by stay_code', so differentiation relies partly on 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 Guidelines3/5

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

Usage context is implied by the flow ('booking confirmed only when the guest pays') and the schema note that stay_code comes from search_stays, so an agent can infer this follows a search. There is no explicit when-not guidance, no mention of what to do if the hold expires, and no statement of prerequisites such as a valid stay_code.

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