Skip to main content
Glama

Check availability for one property

check_availability
Read-onlyIdempotent

Check whether one My San Felipe Vacation rental can be booked for specific dates and party size. If not, explains why (already booked, minimum-night stay, too many guests, pets not allowed) and suggests nearby open dates when it can. Identify the home by property_id or by its name (property_name). Use get_quote for the price.

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

Input Schema

NameRequiredDescriptionDefault
petsNoNumber of pets
adultsYesNumber of adult guests
check_inYesArrival date, YYYY-MM-DD
childrenNoNumber of child guests
languageNoLanguage of the booking link: en (default) or es
check_outYesDeparture date, YYYY-MM-DD
property_idNoThe property's ID, from search results
property_nameNoThe home's name, e.g. Jerry's Beach Club Condo 4 (use instead of property_id when you don't have the ID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / property_name
      Added value: +{
      +  "description": "The home's name, e.g. Jerry's Beach Club Condo 4 (use instead of property_id when you don't have the ID)",
      +  "maxLength": 80,
      +  "minLength": 2,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "property_id",
      -  "check_in",
      -  "check_out",
      -  "adults"
      -]New value: +[
      +  "check_in",
      +  "check_out",
      +  "adults"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral value beyond that: it enumerates the failure reasons returned (already booked, minimum-night stay, too many guests, pets not allowed) and states that nearby open dates are suggested, which is the closest thing to a return contract given there is no output schema.

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 sentences, all load-bearing, with the core purpose front-loaded, the identification method second, and the sibling handoff last. No repetition of the title or schema text.

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?

With no output schema, the description usefully characterizes what comes back (a reason for unavailability plus alternative open dates), which is what an agent most needs from a boolean-style check. Minor gaps remain, such as whether the answer is a hard yes/no versus a quote-level hold, but nothing essential for correct invocation is missing.

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 the schema already documents all eight parameters including the id-vs-name fallback and the language enum. The description restates the property_id/property_name choice but adds no format, default, or constraint detail beyond what the schema provides, so the baseline 3 applies.

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: 'Check whether one My San Felipe Vacation rental can be booked for specific dates and party size.' It also distinguishes itself from the sibling get_quote by explicitly assigning pricing to that tool, so an agent can separate the two without opening a schema.

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?

Gives clear context for use (date range plus party size on a single property) and an explicit handoff: 'Use get_quote for the price.' It does not explicitly say when to prefer search_properties or get_property_details, so the routing guidance is good but not exhaustive.

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