Skip to main content
Glama

Déstaire

Search stays

search_stays
Read-onlyIdempotent

Find hotels and private stays by plain words, with optional filters for country, destination, collection, amenities, and a nightly budget in euros. Best matches first. Gives each stay's page URL, place, short description, and "from" rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo"relevance" (best match first) or "rate" (lowest rate first).relevance
limitNoThe most stays to give.
queryNoWhat the reader wants, in plain words: "quiet hotel on Lake Como with a spa". Stays that match more words come first.
countryNoOnly this country: a name or an ISO code, such as "France" or "FR".
max_rateNoOnly stays whose "from" rate is at most this many euros a night (a week rate counts a seventh). Stays with no rate are left out.
amenitiesNoOnly stays that have each of these, by word: "spa", "pool", "beach", "tennis".
collectionNoOnly this collection: a name or a slug, such as "Coast". list_destinations lists them.
destinationNoOnly this destination: a name or a slug, such as "Provence".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
staysYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the description does not need to re-state safety. It adds useful behavioral context by noting 'Best matches first' and listing the returned fields, which helps the agent set expectations without contradicting the annotations.

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?

Three short sentences with the core action front-loaded. Every clause earns its place: what the tool finds, how results are ordered, and what output fields are returned. No filler or redundancy.

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?

Given the rich input schema covering all 8 optional parameters, explicit annotations, and an output schema, the description is complete enough. It adds the high-level user intent and result shape, and nothing an agent needs to invoke the tool 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 description coverage is 100%, so the baseline is 3. The description summarizes the filter categories (country, destination, collection, amenities, budget) but does not add semantic detail beyond what the schema already gives; it is a useful orienting summary but not a meaning extension.

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 'Find hotels and private stays by plain words', a specific verb and resource that clearly identifies this as a search tool. The optional filters and 'from' rate output further distinguish it from sibling retrieve tools like get_stay and list_destinations.

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?

The description clearly presents this as the tool for finding stays by free-text words and filters, giving the agent an obvious trigger condition. It does not explicitly name alternatives like get_stay for known stays, so it stops short of a full when-not, but the search-versus-get distinction is strongly implied.

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