Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STAYS_RPSNoRate-limiter throttle (requests per second)10
STAYS_MCP_MAX_RESULTSNoCap on returned list-view results (uncapped when unset)
STAYS_MCP_DEFAULT_ADULTSNoDefault adults per search2
STAYS_MCP_DEFAULT_SORT_BYNoDefault sortRELEVANCE
STAYS_MCP_DEFAULT_CURRENCYNoFallback currencyUSD
STAYS_MCP_DEFAULT_MAX_HOTELS_WITH_DETAILSNoDefault N for search_hotels_with_details (hard cap 15)5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_hotelsA

Fast list-view hotel search. USE THIS FIRST to discover hotels.

Returns name, price, rating, star class, amenities, check-in/out times, and an entity_key for each hotel. Prefer this over search_hotels_with_details unless the user explicitly asks for room/rate/cancellation detail. One RPC. entity_key values here are inputs to get_hotel_details.

Common filter triggers:

  • 'free cancellation' / 'refundable' → free_cancellation=True

  • 'budget' / 'cheap' → sort_by='LOWEST_PRICE' or price_max=N

  • 'luxury' / '5-star' → hotel_class=[5]

  • 'family' / 'kid-friendly' → amenities=['KID_FRIENDLY']

  • 'pet-friendly' / 'dogs allowed' → amenities=['PET_FRIENDLY']

  • 'pool' → amenities=['POOL'] or ['INDOOR_POOL'] or ['OUTDOOR_POOL']

  • 'wheelchair' / 'accessible' → amenities=['WHEELCHAIR_ACCESSIBLE']

  • 'eco' / 'sustainable' → eco_certified=True

get_hotel_detailsA

Deep detail for ONE hotel. Requires entity_key from search_hotels.

Returns rooms, per-OTA rate plans with prices, and cancellation policies. One RPC. For multi-hotel deep comparison use search_hotels_with_details instead.

search_hotels_with_detailsA

Search + parallel detail fetch for the top N hotels in one call.

Use when the user wants to COMPARE rooms, rates, or cancellation policies across multiple hotels. Costs 1 + N RPCs. max_hotels is HARD-CAPPED at 15.

Prompts

Interactive templates invoked by user choice

NameDescription
when-to-deep-searchGuidance on choosing between search_hotels and search_hotels_with_details.
compare-hotels-in-cityExample workflow: find 5 top-rated hotels in a city and compare their rates.

Resources

Contextual data attached and managed by the client

NameDescription
Stays MCP ConfigurationDefaults + env vars for the Google Hotels MCP server.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/him229/stays'

If you have feedback or need assistance with the MCP directory API, please join our Discord server