Skip to main content
Glama

Rooms and prices for dates

check_availability
Read-onlyIdempotent

Rooms for the given dates and guests with the from-price per night in EUR and the booking page URL. If "source" is "mock", prices are placeholders: send the guest to booking_url. With "online_booking": true each room lists booking_options (house, room_type, rate_id, rate, price per night, total incl. city tax): pass the chosen option to start_booking. Never books anything: the guest books on the site, via start_booking, or asks with request_offer.

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

Input Schema

NameRequiredDescriptionDefault
houseNoOnly this house. Leave out for all houses.
adultsNoNumber of adults, 1 to 10.
arrivalYesArrival date, YYYY-MM-DD.
room_idNoOnly this room type (id from list_rooms).
childrenNoNumber of children, 0 to 8.
languageNoLanguage of texts and links: de, nl, en, fr. Default de.de
departureYesDeparture date, YYYY-MM-DD, after the arrival.

Output Schema

NameRequiredDescriptionDefault
okYestrue on success; false with code and message on an error.
codeNoError code when ok is false, e.g. VALIDATION, NOT_FOUND, UNAVAILABLE.
messageNoReadable error message when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Language of texts and links: de, nl, en. Default de."New value: +"Language of texts and links: de, nl, en, fr. Default de."
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "de",
      -  "nl",
      -  "en"
      -]New value: +[
      +  "de",
      +  "nl",
      +  "en",
      +  "fr"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description goes further by disclosing that mock prices are non-binding placeholders and by enumerating the contents of booking_options (house, room_type, rate_id, rate, price per night, total incl. city tax), which is real behavioral context. It slightly loses points for referencing 'source' and 'online_booking' without saying whether those are response fields or request toggles.

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?

Dense but well front-loaded: the return payload comes first, then the mock-price caveat, then the booking_options handoff, then the no-booking guarantee. Every sentence carries routing information, though the unexplained 'source'/'online_booking' terms add a small amount of avoidable ambiguity.

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?

For a 7-parameter read tool with a full output schema and rich annotations, this covers the essential decision points: what comes back, what the prices mean in mock mode, and where to hand off. The only gap is that two referenced flags are never tied to a concrete source (response field vs. configuration), which an agent may need to interpret the result.

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 arrival, departure, adults, children, house, room_id and language are already fully documented. The description only restates 'given dates and guests' and adds no format, range, or enum guidance beyond the schema, 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?

Opens with a specific resource and return payload: rooms for given dates and guests, with from-price per night in EUR and the booking page URL. That is concrete enough to distinguish it from list_rooms (no dates/prices) and from start_booking (which acts on a chosen option).

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?

Explicitly routes the agent in every case: mock source means prices are placeholders and the guest must be sent to booking_url; with online_booking the room lists booking_options that are passed to start_booking; otherwise the guest books on the site or asks via request_offer. It also states the negative case ('Never books anything'), which is the key branching decision.

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