Skip to main content
Glama

Keyset booking pages

Check prices for dates

search_availability
Read-onlyIdempotent

Which apartments of a booking page are free for the dates and guests, with the full price and a bookingUrl that opens the booking step for that apartment and stay. Dates are local, check-out exclusive. The result is advisory: the booking page checks again when the guest books. Where the page does not take online bookings yet (onlineBooking false) there is no bookingUrl and the guest asks the host through hostContact, unless the page takes booking requests (bookingRequests true): then the bookingUrl opens the request step.

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": {
      "bookingPageId": "<bookingPageId>",
      "checkIn": "<checkIn>",
      "checkOut": "<checkOut>",
      "adults": "<adults>"
    },
    "name": "search_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsYes
checkInYesArrival day, YYYY-MM-DD.
checkOutYesDeparture day, YYYY-MM-DD.
childrenNo
childAgesNoOne age per child, when known; some hosts price children by age.
bookingPageIdYesFrom find_booking_pages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover the safe-read profile (readOnly, idempotent, non-destructive), and the description adds real behavior beyond them: dates are local, check-out is exclusive, results are advisory because the booking page re-validates at booking time, and the outcome branches on onlineBooking and bookingRequests. That branch logic (bookingUrl step vs hostContact request) is exactly the context an agent cannot get from annotations.

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 what is returned, then the advisory caveat, then the branching rules. Dense long sentences and a slightly tangled final clause about bookingRequests cost some readability, but every sentence carries substantive information.

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?

No output schema exists, so the description carries the return burden and mostly does: price, bookingUrl, the onlineBooking flag, and the hostContact fallback are all explained. It does not describe the overall result shape (a per-apartment list) or any ordering/paging behavior, which is the main remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67% and the description fills in meaning the schema lacks: the local timezone semantics of checkIn/checkOut and the exclusive check-out rule, plus the 'dates and guests' framing that covers adults. It adds nothing for children or childAges, which remain schema-only.

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?

States concretely what the call returns: which apartments on a booking page are free for given dates and guests, with full price and a bookingUrl. That is a specific verb+resource, and the return triple distinguishes it from find_booking_pages/get_booking_page, though the description never names those siblings itself.

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?

Usage is implied rather than stated: you call it after having a bookingPageId (the schema ties that to find_booking_pages) to check availability and price. There is no explicit when-to-use vs when-to-skip guidance, and no alternatives are named in the description.

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