Skip to main content
Glama

Room details

get_room
Read-onlyIdempotent

All published details of one room type: description, size, guests, all features, facts, photos with alt text, FAQ and the room page URL. Use the room_id from list_rooms. For prices on dates use check_availability.

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": {
      "room_id": "<room_id>"
    },
    "name": "get_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idYesRoom id from list_rooms, e.g. comfort-double.
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.3/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the safety profile is free. The description still adds real context beyond them: that only *published* details are returned (an implicit visibility filter) and that language affects both texts and links. It does not discuss pagination or failure modes, but with an output schema present that gap is small.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both front-loaded with the payload inventory first and the routing guidance second. Nothing is wasted and nothing an agent needs is buried.

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 read-only, two-parameter detail lookup with full schema coverage and an output schema, the description covers what is returned, the required input source, and the alternative tool for pricing. No material information an agent needs in order to call it correctly is missing.

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%, and the schema itself already says room_id comes from list_rooms with the comfort-double example and documents the language enum with its default. The description's 'Use the room_id from list_rooms' largely restates the schema, so no meaning is added beyond the structured fields.

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?

Names a specific verb and resource ('All published details of one room type') and then enumerates the exact payload: description, size, guests, features, facts, photos with alt text, FAQ and page URL. An agent can distinguish this from list_rooms or check_availability 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?

Gives an explicit prerequisite ('Use the room_id from list_rooms') and routes the adjacent case away to a named sibling ('For prices on dates use check_availability'). It stops short of stating exclusions or when-not-to-call, which keeps it at 4 rather than 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