Skip to main content
Glama

quoteStayBooking

Get a server-computed price and availability quote for booking a Stay package on the caller's own behalf. Price is always re-derived from the package's actual pricing tiers — never trust or reuse a price shown elsewhere. Picks the largest price tier whose length is <= the requested nights (e.g. 10 nights against 7/14/21/30-day tiers uses the 7-day tier's rate), falling back to the smallest tier if the stay is shorter than all of them. Returns a quoteId valid for about 15 minutes — call bookStay with it to actually create the booking and get a payment link. Requires the caller's token to carry the 'bookings' OAuth scope (McpMember role), separate from the listings-management 'McpAgent' scope other tools here use.

Input Schema

NameRequiredDescriptionDefault
petsNoNumber of pets. Defaults to 0.
roomsNoNumber of rooms to book. Defaults to 1.
adultsNoNumber of adult guests. Defaults to 1.
checkInYesCheck-in date, YYYY-MM-DD
checkOutYesCheck-out date, YYYY-MM-DD
childrenNoNumber of child guests. Defaults to 0.
packageIdYesThe Stay package's ID (from getPackages or search/browse tools)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing the tier-selection algorithm, the ~15-minute quoteId lifetime, the non-destructive nature of quoting, and the required 'bookings' OAuth scope distinct from the 'McpAgent' scope other tools use.

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?

Dense but front-loaded: pricing behavior first, then the quoteId contract, then the auth requirement. Every sentence carries information, though the tier example could be trimmed for a tighter read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly covers the return value (quoteId, ~15 min validity) plus auth and next-step semantics, leaving no material gap for calling it 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 100%, so every parameter is already documented; the description adds only indirect meaning (nights derived from checkIn/checkOut drive the tier choice) and no per-parameter syntax or constraints.

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 precise verb+resource ('server-computed price and availability quote for booking a Stay package') and scopes it to the caller's own behalf, which cleanly separates it from the host-side siblings like createStayPackage and from bookStay.

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?

Explicitly routes the agent to bookStay as the follow-on action and warns never to reuse a price shown elsewhere, but it never says when to use this versus checkStayAvailability or hasAvailabilityInWindow for pure availability questions.

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.