Skip to main content
Glama

Check availability and exact total price

check_availability
Read-onlyIdempotent

Live availability and the EXACT total price for one condo and dates, straight from the owner's booking system. The total is the final direct-booking total — rent, fees and taxes, with the automatic 10% direct-booking discount already applied. Nothing is booked or held by checking.

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": {
      "arrival": "<arrival>",
      "departure": "<departure>",
      "adults": "<adults>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe condo's exact public name
adultsYesNumber of adults in the party
arrivalYesCheck-in date, YYYY-MM-DD
childrenNoNumber of children in the party
departureYesCheck-out date, YYYY-MM-DD
property_idNoProperty id from search_stays

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / adults / description
      Added value: +"Number of adults in the party"
    • addedInput schema / properties / children / description
      Added value: +"Number of children in the party"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and open-world, so the safety profile is settled. The description then adds genuinely useful context not in the structured fields: the total is the final direct-booking figure including rent, fees and taxes with a 10% direct-booking discount applied, and that the call reserves nothing. It omits what happens on unavailable dates or any rate/latency behavior.

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?

Two sentences, front-loaded with the capability and followed by the price semantics and the no-side-effect guarantee. Every clause carries information; nothing is redundant with the title.

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 read-only check with no output schema, the description tells the agent what comes back (availability plus an exact total) and that no state changes occur, which is the essential contract. Minor gap: it does not say how an unavailable result is surfaced or whether the price breakdown is returned.

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 100%, so every parameter is already documented in the schema, establishing a baseline of 3. The description adds no guidance beyond that — notably it does not clarify the name-vs-property_id choice for identifying the condo, which is the one ambiguity an agent could stumble on.

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?

"Live availability and the EXACT total price for one condo and dates" gives a specific verb (check) plus two concrete outputs (availability, price) and a bounded scope (one condo, one date range). It is clearly narrower than a multi-property search, though it never names search_stays or get_property to make that contrast explicit.

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?

"Nothing is booked or held by checking" implies this is the pre-booking step, and the required property_id/arrival/departure shape implies it follows a search, but the description never states when to use this versus request_booking or booking_status. Usage is inferable from context rather than spelled out.

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.