Skip to main content
Glama

search_rooms

Read-only

Live offers for the saved trip across at most 10 chosen/identified hotels. Partial supplier failures remain visible.

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": "search_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds a genuinely non-obvious behavioral trait: partial supplier failures remain visible rather than being silently dropped, which matters when interpreting results. It leaves latency, retry behavior, and session-expiry handling unstated, and the failure note is somewhat ambiguous in wording.

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?

Two short sentences with no filler, and the scope constraint is front-loaded ahead of the failure-mode caveat. Nothing is wasted, though the terseness leaves key facts implicit rather than stated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. However, for a tool whose only parameter is a nested request object, the definition omits the room_query field and does not clarify whether hotel_ids is optional or what happens when it is absent.

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 0%, so the description carries the burden. It explains the hotel_ids cap of 10 and implies the session/saved-trip dependency, but the free-text room_query parameter (maxLength 120) is never mentioned, so the definition only partially compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Live offers for the saved trip across at most 10 chosen/identified hotels" conveys the resource (live room offers) and its scope, but never states a verb or the word "rooms" outside the name, so the agent must infer that it searches room availability. It is distinguishable from a booking tool, but not clearly differentiated from get_quote or get_hotel_info.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative. The phrase "saved trip" hints that a prior session is required, but nothing tells the agent to call begin_session first or when to prefer get_quote instead.

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