Skip to main content
Glama

Quote a stay

get_stay_quote
Read-only

What a stay would cost, as the Pricing tab's quote tool computes it — nothing is saved: nights (checkout night not charged), subtotal, length-of-stay discount, optional markup, total, and whether the dates can be booked (a blocked night, closed to arrival/departure, below the minimum stay). The price does not depend on the number of guests. To keep the quote, use save_pricing_quote. Needs a short-term property with pricing on (pricingConfig.enabled, see update_property) and a plan with the pricing feature.

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": {
      "propertyId": "<propertyId>",
      "checkin": "<checkin>",
      "checkout": "<checkout>"
    },
    "name": "get_stay_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomIdNoProperty let room by room: quote this room (get_property → rooms). A room with its own basePrice follows the home's pricing calendar in proportion; without one it is quoted at the home's price
checkinYesCheck-in date, YYYY-MM-DD
checkoutYesCheck-out date, YYYY-MM-DD (after checkin; at most 365 nights)
markupTypeNoMarkup on the discounted total (default percentage)
propertyIdYesThe property ID
markupValueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description goes further: it explicitly says nothing is saved, lists the concrete reasons dates may be unbookable (blocked night, closed to arrival/departure, minimum stay), and notes price is guest-count independent. That is meaningful behavior beyond the structured hints, though it doesn't address errors or partial-failure handling.

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?

Front-loaded with the core purpose, then a compact enumeration of outputs and prerequisites; each sentence carries information. The em-dash run-on list is dense, and 'as the Pricing tab's quote tool computes it' is an internal reference that adds little, keeping it just short of full marks.

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?

No output schema exists, and the description compensates fully by enumerating the computed fields and the bookability flag. Combined with stated preconditions and the mutation-free nature of the call, an agent has everything needed to invoke 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 description coverage is 83%, so the schema already documents checkin/checkout formats, the 365-night cap, and the two markup fields well. The description only adds that markup is 'optional' and that guest count does not affect the price — useful but marginal, and it says nothing extra about roomId quoting nuances that the schema doesn't cover.

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 and resource — computes what a stay would cost — and enumerates the exact components returned (nights, subtotal, length-of-stay discount, markup, total, bookability). It also distinguishes itself from save_pricing_quote, so an agent can route between quoting and persisting without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives the explicit alternative and condition: 'To keep the quote, use save_pricing_quote', plus the hard preconditions (short-term property with pricingConfig.enabled, plan with the pricing feature, see update_property). The agent knows both when this is the right call and what must be true before calling 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.