Skip to main content
Glama

Zestli

Check Availability

check_availability
Read-onlyIdempotent

Use this when the user has a specific item in mind (a supply_id from search_supply or the product feed) and you need to verify it is actually available for their dates before quoting. Returns a live supplier availability answer and the current price for the window. Without travelers it returns unit options but no party price, lines, or party-specific availability; an actually sold-out departure remains unavailable. Scheduled experiences return their departures in occurrences (occurrence_id, local start/end, seats left); if several fit, ask the user and pass the chosen occurrence_id to create_quote. Rentals return rental terms; pass rental_selection (duration, local pickup time, items and kits with quantities) for the exact price, the return time and units_left per item; a refusal names the rule or the item that is short. Read-only — it never holds inventory or locks a price. create_quote records the selected current price and terms; checkout revalidates them. Pass the user's currency as currency whenever you know it, signed in or not.

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": {
      "request": "<request>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesInput for checking live availability of one supply item.

Output Schema

NameRequiredDescriptionDefault
nameNo
linesNo
rentalNo
add_onsNo
messageNo
availableYes
supply_idYes
error_codeNo
minimum_ageNo
occurrencesNo
price_basisNo
confirmationNo
price_amountNo
rate_optionsNo
accommodationNo
hotel_optionsNo
price_displayNo
price_currencyNo
next_departuresNo
price_conversionNo
supplier_optionsNo
price_unknown_reasonNo
availability_confirmed_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/destructive annotations, it explains that this tool never holds inventory or locks a price, that omitted travelers changes the returned pricing and availability, and that sold-out departures remain unavailable. It also describes scheduled-experience occurrences, rental refusals, and currency conversion behavior.

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 use case and then organized by mode: travelers omitted, scheduled experiences, rentals, read-only behavior, and currency. It is information-dense without filler, though the long semicolon-heavy sentences are somewhat heavy for an agent to parse quickly.

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?

Given the tool's complexity and multiple booking modes, the description covers the critical behavioral caveats and selection paths an agent needs. Since an output schema exists, it does not need to enumerate return fields in detail, and its additional return-shape notes are helpful rather than redundant.

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?

The schema already documents all parameters thoroughly, so the baseline is high. The description adds useful orchestration semantics: when to omit travelers, how occurrence_id and rental_selection affect results, and when to pass the user's currency.

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 states a specific verb and resource: verify that a specific supply_id is actually available for the user's dates before quoting. It distinguishes this from search_supply, create_quote, and checkout by explaining each one's role.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says to use this when the user has a specific item in mind and needs live availability before quoting. It also names related tools and their roles: create_quote records the selected price and terms, while checkout revalidates them.

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