Skip to main content
Glama

check_availability

Check whether Villa Coral, GPS Villa, or Valhalla is open for the dates and guest count. If next_step is pay, booking_url is the checkout. The guest enters their name, email, and card on that page. Villa Coral returns a total and a quote_id. GPS Villa returns the hotel total and a ctcstays.com pay link. Valhalla returns a Lodgify link and total null; the checkout page shows the price. Do not invent a price. For GPS Villa and Valhalla, do not call create_hold. That link does not hold the dates. Paying does. If the stay is not open, reason says why. Do not build a pay link yourself.

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": {
      "property_id": "<property_id>",
      "checkin": "<checkin>",
      "checkout": "<checkout>",
      "guests": "<guests>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsYes
checkinYes
checkoutYes
property_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations to rely on, the description carries the full burden and does so thoroughly: it discloses per-property return shapes (Villa Coral returns total and quote_id; GPS Villa returns hotel total and a ctcstays.com pay link; Valhalla returns a Lodgify link and total null), the meaning of next_step and booking_url, and that the checkout page shows the price. It also warns not to invent a price and not to build a pay link, and clarifies that the link does not hold dates while paying does.

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?

The description is front-loaded with the core check, then organized around conditional behavior and warnings. Most sentences carry unique information, though there is mild redundancy between 'Do not invent a price' and 'the checkout page shows the price.' Overall it is dense but well-structured.

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?

For a four-parameter tool with no annotations and no output schema, the description is remarkably complete. It covers what is checked, per-property return behavior, the significance of next_step and booking_url, the need for guest details on the checkout page, and critical behavioral warnings. Nothing essential for correct invocation appears 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 0%, so the description must compensate. It clarifies that guests means guest count and that dates refer to the stay, and it names the three properties. However, it does not explain the expected format or mapping for property_id (e.g., whether to pass an ID or a name), leaving one parameter underspecified.

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?

The description uses a specific verb ('Check whether ... is open') plus the exact resources (Villa Coral, GPS Villa, Valhalla) and the two dimensions that determine availability (dates and guest count). It clearly distinguishes the tool from alternatives like create_hold by stating when not to use that sibling.

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?

The description gives explicit when-not guidance ('For GPS Villa and Valhalla, do not call create_hold') and explains that the checkout link, not the hold, secures the dates. It also warns against building a pay link manually. It lacks explicit guidance on when to choose this tool over siblings like get_checkout_link or get_booking_status, but the conditional exclusions are strong.

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