Skip to main content
Glama

Room types

list_rooms
Read-onlyIdempotent

Lists the room types, optionally for one house: id, name, house, size in m², guests, main features, summer booking, booking (online or on_request), the lowest price per night of the coming months (from_price_per_night_eur, mostly low season; see price_terms) and the room page URL. Use get_room for details and check_availability for the real price of a stay.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
houseNoOnly this house: hotel, chalet or motel. Leave out for all houses.
languageNoLanguage of texts and links: de, nl, en, fr. Default de.de

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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety needs no restating. The description adds real behavioral context beyond them: from_price_per_night_eur is the lowest price over the coming months, mostly low season, with a pointer to price_terms — a caveat an agent could otherwise misread as a current rate.

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 purpose is front-loaded and the whole definition is two sentences with no filler. The long mid-sentence field enumeration is somewhat heavy given an output schema exists, but every listed field carries a qualifier that aids interpretation rather than pure repetition.

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 simple two-parameter read-only list tool with a full output schema and complete annotations, nothing material is missing: scope, filtering, price caveat and sibling routing are all covered. The agent has enough to call it correctly and to interpret the returned price field.

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% and both parameters are enum-constrained with defaults, so the schema already carries the meaning. The description only echoes the house filter ("optionally for one house") and says nothing about the language parameter, so it adds little beyond the structured data — baseline 3.

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 opens with a specific verb and resource ("Lists the room types") and adds scope ("optionally for one house"), then enumerates the returned fields. It clearly separates itself from get_room (details) and check_availability (real stay price), so an agent can distinguish it from siblings without opening any schema.

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?

It gives an explicit alternative-selection rule: use get_room for details and check_availability for the real price of a stay, plus the optional single-house filter. It does not spell out when to skip this tool entirely (e.g. when only aggregate hotel info is needed), which keeps it just short of a 5.

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