Skip to main content
Glama

Search availability

search_availability
Read-only

Find bookable options for supported hotels, restaurants, tours, activities and experiences, and transport services. Search using the requested dates or time and party size. Returns matching options, rates or prices when supplied, and a prefilled booking URL where available.

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

Input Schema

NameRequiredDescriptionDefault
adultsYesNumber of adults staying in one room.
checkInYesCheck-in date in the hotel’s local calendar, in YYYY-MM-DD format.
checkOutYesCheck-out date in YYYY-MM-DD format, after check-in.
currencyNoRequested quote currency. Defaults to EUR. Unsupported currencies are returned without substitution.EUR
pagePathYesCanonical GoVisit page path supplying this tool's published context; no origin, query or fragment.
childAgesNoEach child’s age at check-in. Omit when no children are traveling. Some providers only support adults.

Output Schema

NameRequiredDescriptionDefault
offersYes
statusYes
requestYes
warningsNoProvider warnings about currency or occupancy. Confirm these details and the final price at checkout.
bookingUrlYes
observedAtYes
retryAfterNo
schemaVersionYes
bookingUrlScopeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / warnings / description
      Previous value: -"Pilot provider caveats. Verify the reported currency, final price and guest occupancy at checkout."New value: +"Provider warnings about currency or occupancy. Confirm these details and the final price at checkout."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safe-read profile (readOnlyHint, openWorldHint), and the description adds real behavior beyond that: results may or may not include rates/prices, and a prefilled booking URL is supplied only 'where available'. That conditional-return caveat is exactly the kind of expectation-setting an agent needs before it promises a price to a user.

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?

Three short sentences ordered as purpose, how to call, what comes back — well front-loaded with no filler. Slightly more enumeration of verticals than strictly necessary, but each clause still carries 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?

An output schema exists, so the description needn't fully specify return values, and it gives a useful sketch anyway (options, rates, booking URL). What remains thin is the meaning of 'supported' properties and the role of the required pagePath, which could leave an agent unsure how to obtain a valid path for an arbitrary destination.

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 coverage is 100%, so all six parameters are already documented in the schema, which sets the baseline at 3. The description reinforces that dates/times and party size drive the search but adds no syntax, constraints, or insight into the unusual required 'pagePath' context parameter.

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 a specific verb and resource set: 'Find bookable options' across hotels, restaurants, tours, activities, transport, keyed by dates and party size. The word 'bookable' plus the prefilled booking URL cleanly separates it from the reference/lookup siblings (search_places, list_destination_activities), though it never names an alternative explicitly.

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?

'Search using the requested dates or time and party size' implies the input conditions needed to call it, but there is no explicit when-to-use versus when-not framing and no pointer to a sibling for non-bookable lookups. The agent must infer that this is the pricing/booking path rather than the descriptive-content path.

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