Skip to main content
Glama

Pilot Hotel Search

Search hotels

search_hotels
Read-only

Search bookable hotels by location and dates. Returns hotels with nightly prices, photos, coordinates, a url linking to the hotel on Pilot, and an opaque id to pass to get_hotel_details and get_rates. Booking is not available through this connector, so link the user to a hotel's url when they want to book. Narrow with the rating, amenity and radius filters rather than requesting a large limit, and page with offset using next_offset from the previous result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum hotels to return
roomsNoRooms required
guestsNoNumber of adults
offsetNoHotels to skip, for paging
check_inYesCheck-in date, YYYY-MM-DD
currencyNoISO-4217 currency for returned pricesUSD
locationYesCity, address, or place name
ai_searchNoFree-text preference, e.g. 'boutique hotel near the old town'. Ignored when it matches no inventory.
check_outYesCheck-out date, YYYY-MM-DD
amenity_idsNoSupplier facility ids the hotel must offer
children_agesNoAges of children sharing the room
radius_metersNoRestrict to this radius around the location
min_star_ratingNoOnly hotels at or above this star rating
min_guest_ratingNoOnly hotels at or above this guest review score, out of 10
guest_nationalityNoISO-2 country of the guest; affects rate eligibilityUS
property_type_idsNoSupplier hotel-type ids to restrict to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: booking is unavailable through the connector (forcing the url hand-off), results are paged via next_offset, and broad limit requests are discouraged. It does not discuss rate limits, caching, or result-ordering, so it falls short of a 5.

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?

Four sentences, front-loaded with purpose and return payload, then constraints, then tactical guidance. No restatement of the title and no filler; each sentence either routes the agent or prevents a misuse.

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?

Despite 16 parameters and no output schema, the description covers return contents, the id hand-off contract, the booking limitation, and pagination. Nothing an agent needs to select or correctly invoke this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds genuine strategy beyond the schema by telling the agent which parameters to prefer for narrowing (rating, amenity, radius) and how offset/next_offset interact for paging, which the schema itself only labels neutrally.

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?

States a specific verb+resource+scope: 'Search bookable hotels by location and dates,' and immediately enumerates the returned payload (nightly prices, photos, coordinates, url, opaque id). This clearly separates it from the sibling detail and rate tools, which consume the id this tool emits.

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: pass the opaque id to get_hotel_details and get_rates, narrow with rating/amenity/radius filters instead of a large limit, and page with offset using next_offset. It also sets an exclusion boundary by declaring booking is not available here and instructing the agent to link the user to the hotel url 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