Skip to main content
Glama

search_hotels

Read-only

Search live hotel availability and prices on Booking.com for a location and date range. Returns hotels with nightly price, star rating and review score.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsNoNumber of adults (default 2)
check_inYesCheck-in date YYYY-MM-DD
locationYesCity or area, e.g. 'Da Nang'
check_outYesCheck-out date YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds useful context that results are live/real-time and what each hotel record contains, but says nothing about rate limits, result caps, or pagination behavior for what is presumably an external live-query tool.

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 tight sentences, front-loaded with the action and source, followed by the return contents. No filler or repetition of the tool name.

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?

With no output schema, the description appropriately summarizes return contents (nightly price, star rating, review score) and covers the required inputs; it falls short only on operational behavior such as result limits or pagination, which would matter for a live external search tool.

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 the schema already documents all four parameters including defaults and date formats. The description only gestures at 'location and date range' and adds no syntax, defaults, or constraint detail beyond the schema, matching the baseline of 3.

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

Purpose4/5

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

States a specific verb ('Search') plus resource ('live hotel availability and prices') and the source ('Booking.com') with the scoping conditions (location + date range). It is clearly distinguishable from siblings like search_airbnb or search_flights by resource, though it never explicitly names or contrasts them.

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

Usage Guidelines3/5

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

Usage is implied by the description's framing (search hotels for a location and date range) but there is no explicit when-to-use/when-not-to-use guidance or reference to the other travel siblings (search_airbnb, search_flights) that an agent might confuse it with.

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