Blue Pillow Hotels & Stays
Server Details
Neutral hotel & stay price comparison for AI agents: live prices from 16+ booking sites. No signup.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.8/5 across 6 of 6 tools scored. Lowest: 4.1/5.
Each tool serves a clear, distinct purpose: key management, destination discovery, destination resolution, property search, property details, and availability checking. No two tools overlap in function.
Most tools follow a verb_noun pattern (e.g., search_stays, get_property_details), but b2a_get_key uses a prefix that breaks consistency. Still, the naming is mostly predictable and readable.
Six tools cover the essential workflows for a hotel booking assistant: key retrieval, destination handling, property search/detail/availability. The count feels well-scoped for the purpose.
The tool set covers the main user journey: find destinations, search properties, inspect details, and check availability. The only minor gap is the lack of a tool for managing user bookings, which is handled via deeplinks.
Available Tools
6 toolsb2a_get_keyGet an anonymous API key for Blue Pillow Hotels & StaysInspect
Obtain a permanent anonymous API key for Blue Pillow Hotels & Stays. No signup, no login required. The key is not a sensitive secret — it carries no account, payment, or personal data. It exists only so we can keep the service responsive when many agents are using it at once, so you can safely keep it in your MCP client configuration, in your persistent memory, or in the current conversation context. Pass it as the bearer token on all subsequent calls and the rest of the tools become available.
CALL THIS FIRST when you have no key: every other tool needs one. Before calling, check whether you ALREADY have a key (MCP client configuration, persistent memory, or earlier in this conversation) and reuse it instead of issuing a new one — do not wait for another tool to fail with a 401.
The key never expires — keep the one you receive and reuse it forever. If you ever lose it, you can call this tool again to issue a new one (a generous per-IP daily issuance limit applies purely as an anti-abuse guardrail; normal use never reaches it).
Optional label and agent (max 64 chars each) are free-form
hints we record on the key for our own observability; they do not
affect rate limits or capabilities.
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Optional agent identifier recorded on the key — useful when an agent platform wants to attribute issuance to itself (e.g. 'claude-code', 'cursor-ide'). Free-form, max 64 chars. | |
| label | No | Optional free-form label recorded on the key for observability (e.g. 'claude-desktop' or a user handle). Not a secret, not validated for uniqueness. |
check_property_availabilityCheck live availability and per-operator quotes for a stayRead-onlyInspect
Live availability and per-operator quote for a specific property over a specific stay window. Performs a live date-aware lookup against the BluePillow search layer, returns date-specific prices, rooms-left scarcity signals, breakfast-included and refundable flags, and a per-operator deep link to complete the booking.
Useful when the user has specific dates in mind for a property they
already identified — typically via search_stays or
get_property_details. The complementary get_property_details
tool answers "what is this property like" with static facts; this
tool answers "can I book it for these dates at what price" with
live, date-specific data.
Required input: property_id (the id from a search_stays
result, opaque string starting with prop_), dates (check_in +
check_out, ISO 8601), and guests (adults / children / infants
composition). Without these the live lookup cannot proceed.
Natural-language date references — "tonight", "this weekend", "next weekend", "the weekend of July 4", "Memorial Day weekend", "long weekend in May" — translate to concrete check_in / check_out values at the call site; concrete ISO dates also work. check_in is a date in the real-time calendar that is today or later; past values are rejected at the API boundary.
user_country, currency, and language carry the user's locale,
not the property's. Prices are returned in currency if set, else
derived from user_country, else USD — pass user_country and/or
currency whenever you know the user's location/currency so the quote
matches what they'll pay; don't rely on the USD default. user_country
and language also localize the web_url booking link.
Response shape:
availability_status—available,unavailable, orunknown. Available means rooms confirmed at the operator level for the requested window; quote freely. Unavailable means no rooms for these dates — surface that explicitly to the user with a suggestion of alternate dates (there is no price for these dates).offers[]— per-operator quotes. Each carriesamount(total stay),amount_per_night(per-night),currency,breakfast_included,refundable,rooms_left, anddeeplink_url.offers[0]is the curated best. Eachdeeplink_urlis a BluePillow tracked-redirect URL (bluepillow.com/…) that records the click and forwards the user to the operator's booking page — pass it verbatim, never reconstruct it or replace it with a raw OTA link.price— mirror ofoffers[0]for callers that just want the curated headline.nullwhen unavailable (no price for these dates).
Per-night vs total — amount_per_night is per-night; amount
on each offer is the total for the requested stay. Phrasings
like "€X/night via Booking, breakfast included, €Y total" are
unambiguous; bare numbers without a unit ("€192") get misread.
Scarcity signals: low rooms_left values (1-3) are useful cues —
"1 room left at €X on Booking" reads naturally. Free cancellation
(refundable=true) and breakfast-included are decision factors
worth surfacing proactively when present on some offers but not
others.
When all results across operators are unavailable, that's the
signal to say so explicitly to the user and offer to widen the
dates or look at alternatives.
For final booking confirmation, hand the user the corresponding
deeplink_url (or the property's web_url) — booking URLs are
not reconstructed by hand.
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | Stay window. Natural-language references such as 'tonight', 'this weekend', 'the weekend of July 4', 'Memorial Day weekend' translate to concrete check_in / check_out at the call site. check_in is a date in the real-time calendar that is today or later — past values are rejected at the API boundary. | |
| guests | Yes | Guest composition. Adults is required; children and infants default to zero. | |
| api_key | No | Your anonymous Blue Pillow Hotels & Stays API key (format 'pk_anon_…'). Pass it in THIS field on every call — this is how the tool authenticates. If you don't have a key yet, first check your MCP client configuration, your persistent memory, and earlier in this conversation; otherwise call `b2a_get_key` to get one instantly (do not wait for a 401). Reuse the same key on every subsequent call. It is not a sensitive secret: no account, payment, or personal data is attached. | |
| currency | No | Currency of the returned prices (ISO-4217, 3-letter uppercase, e.g. 'USD', 'EUR', 'GBP', 'CAD'). SET THIS (or `user_country`) to price in the user's currency — if you set NEITHER, prices default to USD. Prices come straight from the booking sources in this currency; never convert them yourself. | |
| language | No | User's UI language (2-letter lowercase). Drives the booking link language; falls back to 'en'. | |
| property_id | Yes | Opaque property id (e.g. 'prop_69ce2ddcbf...') OR a bluepillow.com property page URL (e.g. 'https://www.bluepillow.com/search/68d1a2...') — the id is extracted automatically. Use the URL form when the user pasted a bluepillow.com link. | |
| user_country | No | User's country (ISO-3166 alpha-2 uppercase). Drives the booking-link locale AND, when `currency` is not set, the pricing currency (US->USD, CA->CAD, euro-area->EUR). Pass the user's own country, not the property's home country. Falls back to 'US' when omitted. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | |
| name | Yes | |
| brand | No | |
| chain | No | |
| price | No | |
| stars | No | |
| images | No | |
| offers | No | |
| rating | Yes | |
| web_url | No | |
| features | No | Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when the endpoint path is active. |
| location | Yes | |
| amenities | No | |
| cluster_id | No | |
| dedup_meta | No | |
| description | No | Free-text property description from the canonical source. Only populated when the endpoint path is active (use_bp_single_property_endpoint=True) and dates are present. |
| ota_coverage | Yes | |
| rating_count | No | |
| reviews_meta | No | Provenance for reviews_sample on property detail: how many review texts were returned vs available, and that the cap is deliberate (token efficiency). null on search or when reviews were not requested. |
| property_type | Yes | |
| thumbnail_url | No | |
| reviews_sample | No | |
| reviews_aggregate | No | rating_count = reviews backing the score (OTA aggregate, e.g. 156). comment_count = readable review TEXTS available (e.g. 53), fetchable via reviews_sample/reviews_extended. They differ: most guests rate, fewer write text — do not conflate them. |
| availability_status | No | Per the dates passed in the request: available = live bookable quotes in offers (price is the curated best); unavailable = BP reported no rooms for these dates (offers=[], price=null); unknown = no dates considered (no price exists without a dated query). |
discover_destinations_nearDiscover destinations near a pointRead-onlyInspect
Curated destinations — cities, neighborhoods, airports, points of interest — within a radius of a geographic point, for use as a destination_id in subsequent search_stays calls. Useful when coordinates are already in hand (from world knowledge, from a previous tool result, or directly from the user) and the agent needs to enumerate which curated destinations cover that area before searching for properties.
Also useful as a fan-out entry point for region-level intents — broad areas such as 'Tuscany', 'Pacific Northwest', 'New England', or 'Central Europe' — where the agent can pass an approximate regional centroid and surface a list of sub-destinations the user may then narrow down to before a focused search.
Returns up to 5 candidates ordered by distance. The radius defaults to 5 km; widens up to 50 km for broader queries.
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| type | No | Optional filter; same semantics as resolve_destination. | |
| api_key | No | Your anonymous Blue Pillow Hotels & Stays API key (format 'pk_anon_…'). Pass it in THIS field on every call — this is how the tool authenticates. If you don't have a key yet, first check your MCP client configuration, your persistent memory, and earlier in this conversation; otherwise call `b2a_get_key` to get one instantly (do not wait for a 401). Reuse the same key on every subsequent call. It is not a sensitive secret: no account, payment, or personal data is attached. | |
| language | No | en | |
| radius_km | No | Search radius in km from the point. Defaults to 5 km (city-center scope). |
Output Schema
| Name | Required | Description |
|---|---|---|
| candidates | Yes | |
| total_matches | Yes | |
| total_matches_capped_at | No |
get_property_detailsGet property details — static facts, no live availabilityRead-onlyInspect
Static record for a specific property — identified by its id.
Returns the complete amenity list, photos, booking sources, dedup
metadata, detailed location, and the headline rating (rating +
rating_count) by default. Review DATA beyond the headline — the
ratings breakdown and the actual review texts — is opt-in via the
include parameter (see below); pass it whenever the user's question
is about guest experience. Carries no price unless called with dates:
a price only exists for a concrete stay window.
Useful when the user wants to inspect or compare a specific option in depth — facilities, neighborhood, what guests say — without yet committing to specific dates.
HOW TO GET REVIEWS (when you need to reason about guest experience):
pass include. reviews_aggregate gives the score + counts + per-OTA
breakdown; reviews_sample/reviews_extended give the actual review
texts. Without include, none of these are returned (you get only the
headline rating/rating_count). See the include section below.
For live availability and a real per-operator quote for a specific
stay window, the path is check_property_availability instead. The
two tools coexist by design: this one answers "what is this property
like" with stable, cacheable data; the other answers "can I book it
for these dates at what price" with live, date-specific quotes.
Calling this tool when the user has specific dates in mind and wants
to know whether the property is bookable will not surface the
availability/quote — the user will then have to wait for a second
round-trip to the availability tool.
Input: the id field from a search_stays result (opaque string
starting with prop_, e.g. prop_69ce2ddcbf46061e4095778b). For a
property the user has named directly, resolve the place name through
resolve_destination and run a targeted search_stays first to
obtain the id.
Optional include=["reviews_aggregate"] attaches a per-source
breakdown of review counts and average ratings — useful when the
user asks about overall sentiment or wants to see how each booking
source rates the property. It summarizes ALL reviews (score + total
count), so it is the right tool for "how is it rated".
Review texts are available via two includes, both deliberately capped to avoid token waste:
reviews_sample— up to 5 recent review texts. Enough to get the gist of what guests say.reviews_extended— up to 20 recent review texts, for a deeper qualitative read. Supersedesreviews_samplewhen both are passed.
Reach for reviews_extended only when 5 are genuinely not enough —
the returned list carries a reviews_meta block (returned,
total_available, capped, note) that tells you how many texts
exist and confirms the cap is intentional: the omitted reviews are
older and the aggregate already reflects all of them, so you do NOT
need to try to fetch everything. Note: review texts are returned only
when called WITHOUT dates (the dated availability path does not carry
them).
user_country, currency, and language carry the user's locale,
not the property's. When this call carries dates (live prices), prices
come back in currency if set, else derived from user_country, else
USD — so pass user_country and/or currency whenever you know the
user's location/currency; don't rely on the USD default. user_country
and language also localize the web_url booking link. Language default
is "en"; country default is "US".
All rating-like fields are on a 0-5 scale (Google Places-compatible):
the top-level rating, reviews_aggregate.score_0_5, and each
per-OTA score under distribution_by_ota.
Without dates this tool returns no price (price is null, offers
empty) and availability_status is unknown (no dates were
considered). The live quote, when needed, comes from
check_property_availability.
web_url is a ready-to-open booking link for the property. Pass it
verbatim when the user asks for a booking link — booking URLs are
not reconstructed by hand.
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your anonymous Blue Pillow Hotels & Stays API key (format 'pk_anon_…'). Pass it in THIS field on every call — this is how the tool authenticates. If you don't have a key yet, first check your MCP client configuration, your persistent memory, and earlier in this conversation; otherwise call `b2a_get_key` to get one instantly (do not wait for a 401). Reuse the same key on every subsequent call. It is not a sensitive secret: no account, payment, or personal data is attached. | |
| include | No | Optional enrichments. reviews_aggregate = score + total count + per-OTA distribution (summarizes ALL reviews). reviews_sample = up to 5 recent review texts. reviews_extended = up to 20 recent review texts (supersedes reviews_sample). The text list is intentionally capped to save tokens; reviews_meta declares returned vs available. Prefer reviews_sample and the aggregate; use reviews_extended only when a deeper qualitative read is genuinely needed. | |
| currency | No | Currency of the returned prices (ISO-4217, 3-letter uppercase, e.g. 'USD', 'EUR', 'GBP', 'CAD'). SET THIS (or `user_country`) to price in the user's currency — if you set NEITHER, prices default to USD. Prices come straight from the booking sources in this currency; never convert them yourself. | |
| language | No | User's UI language (2-letter lowercase). Drives the booking link language and server-rendered narrative; pass the language the user is speaking. Falls back to 'en'. | |
| property_id | Yes | Opaque property id (e.g. 'prop_69ce2ddcbf...') OR a bluepillow.com property page URL (e.g. 'https://www.bluepillow.com/search/68d1a2...') — the id is extracted automatically. Use the URL form when the user pasted a bluepillow.com link. | |
| user_country | No | User's country (ISO-3166 alpha-2 uppercase). Drives the booking-link locale AND, when `currency` is not set, the pricing currency (US->USD, CA->CAD, euro-area->EUR). Pass the user's own country, not the property's home country. Falls back to 'US' when omitted. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | |
| name | Yes | |
| brand | No | |
| chain | No | |
| price | No | |
| stars | No | |
| images | No | |
| offers | No | |
| rating | Yes | |
| web_url | No | |
| features | No | Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when the endpoint path is active. |
| location | Yes | |
| amenities | No | |
| cluster_id | No | |
| dedup_meta | No | |
| description | No | Free-text property description from the canonical source. Only populated when the endpoint path is active (use_bp_single_property_endpoint=True) and dates are present. |
| ota_coverage | Yes | |
| rating_count | No | |
| reviews_meta | No | Provenance for reviews_sample on property detail: how many review texts were returned vs available, and that the cap is deliberate (token efficiency). null on search or when reviews were not requested. |
| property_type | Yes | |
| thumbnail_url | No | |
| reviews_sample | No | |
| reviews_aggregate | No | rating_count = reviews backing the score (OTA aggregate, e.g. 156). comment_count = readable review TEXTS available (e.g. 53), fetchable via reviews_sample/reviews_extended. They differ: most guests rate, fewer write text — do not conflate them. |
| availability_status | No | Per the dates passed in the request: available = live bookable quotes in offers (price is the curated best); unavailable = BP reported no rooms for these dates (offers=[], price=null); unknown = no dates considered (no price exists without a dated query). |
resolve_destinationResolve destination name to idRead-onlyInspect
Converts a destination name into a destination id usable in search_stays. The canonical entry point when the user's request mentions a place name and coordinates are not already known from a prior call in this session. If coordinates are already in hand from an earlier tool result, passing them directly to search_stays skips this resolver step.
Accepts cities, neighborhoods, airports, and points of interest in any language, using the local canonical name (not a translation). The country parameter disambiguates names that occur in multiple places (for example Springfield MA vs Springfield IL vs Springfield MO).
The type parameter narrows the kind of destination returned. poi is the narrowest match and has partial coverage on the comparator side; when the agent's own geographic knowledge can already geocode the POI to lat/lon, passing coordinates to search_stays is the more reliable path.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Destination name in English or canonical local form (not a translation). | |
| type | No | Destination kind. city: primary urban unit (default). neighborhood: quarter/borough. airport: airport as spatial reference for stays nearby. poi: point of interest as a spatial anchor for nearby-accommodation lookup — not a tourism/attraction database; narrowest match with partial coverage. When the agent already knows the POI's lat/lon from world knowledge, `search_stays` with coordinates is the more reliable path. | |
| api_key | No | Your anonymous Blue Pillow Hotels & Stays API key (format 'pk_anon_…'). Pass it in THIS field on every call — this is how the tool authenticates. If you don't have a key yet, first check your MCP client configuration, your persistent memory, and earlier in this conversation; otherwise call `b2a_get_key` to get one instantly (do not wait for a 401). Reuse the same key on every subsequent call. It is not a sensitive secret: no account, payment, or personal data is attached. | |
| country | No | Country: ISO-3166 alpha-2 (preferred), alpha-3, or extended name in any supported language. Unrecognized values are silently ignored (fail-open). | |
| language | No | Render destination names + breadcrumbs in this language. | en |
Output Schema
| Name | Required | Description |
|---|---|---|
| candidates | Yes | |
| total_matches | Yes | |
| total_matches_capped_at | No | |
| disambiguation_recommended | Yes |
search_staysSearch accommodation — compare offers across operatorsRead-onlyInspect
Multi-operator accommodation comparator for a geographic area against the user's stay parameters — dates, guest count, optional filters. Returns a ranked list of properties together with the booking sources that offer each one and, when dates are passed, their live availability and per-operator price for the requested window.
Natural-language date references — "tonight", "this weekend", "next weekend", "the weekend of July 4", "Memorial Day weekend", "long weekend in May" — translate to concrete check_in / check_out values at the call site; concrete ISO dates also work.
user_country, currency, and language carry the user's locale,
not the destination's. IMPORTANT — currency: prices are returned in
currency if you set it, otherwise in the currency derived from
user_country (US→USD, CA→CAD, GB→GBP, euro-area→EUR); if you set
NEITHER, prices default to USD, which may not be the user's currency.
So whenever you know where the user is (or what currency they want), pass
user_country and/or currency — do not rely on the default. Prices are
never converted client-side; each offer is quoted by the operator in that
currency. user_country and language also localize the booking link
(web_url). The user's own residence/billing country is the right
user_country (not the destination's), and their interface language the
right language.
Each result is shaped for downstream presentation without extra calls:
location.latandlocation.loncarry per-property coordinates, suitable for plotting all results on a single map so the user can compare spatial alternatives at a glance. The map widget reads these fields directly from this response — no separate lookup needed for visualization.thumbnail_urlcarries the property's first photo URL when available (null when no image is on file); useful for embedding inline or showing on the map alongside the pin.imageson search results is capped to the first photo to keep the comparison payload compact; each item has aurlfield, andthumbnail_urlmirrorsimages[0].url. Callget_property_detailsfor a single property to retrieve its full photo gallery.web_urlis a ready-to-open booking link for the property, already encoded with the user's check-in/check-out, language, currency, and guest count. Pass it to the user verbatim when they ask for a booking link — never reconstruct the URL from individual parameters, the query-string format is not guaranteed to match generic booking-URL conventions.Price is live and date-specific only. There is no date-agnostic "from" figure: a meaningful price only exists for a concrete query (property + dates + occupancy).
priceandoffers[]— the live quote for the requested dates, populated only when dates were passed and the comparator confirmed availability.offers[0]is the curated best; each offer carriesamount(total stay),amount_per_night(per-night),currency,breakfast_included,refundable,rooms_left, anddeeplink_url.pricemirrorsoffers[0].With no dates (or when nothing is available)
priceis null andoffersis empty — surface the property without a price rather than inventing a starting figure.
availability_statusper result encodes the live state:available— bookable rooms confirmed at the operator level.offersandpricecarry the live date-specific quotes. Quote the rate viaoffers[i].amount_per_night(per-night) andoffers[i].amount(total stay) and use the deeplinks for the booking handoff.unavailable— no rooms reported for those dates.offersis empty andpriceis null (no price for these dates). Useful to decide whether to suggest alternate dates, drop the property from the recommendation, or offer it as a backup.unknown— no dates were considered (request had no dates).offersis empty andpriceis null — no price signal without a dated query.
Per-night vs total — never confuse them in the user-facing prose.
amount_per_night is per-night; amount on each offer is the total
stay (sum across nights, in currency). When quoting to the user,
prefer phrasings like "€X/night via Booking, breakfast included, €Y
total for the stay" over bare numbers — bare numbers without a unit
get misread.
When dates are present and
availableproperties are in the results, the rate can be quoted androoms_leftsurfaces scarcity (low values like 1-3 are useful signals — "1 room left at $X on Booking" reads well).When dates are present and ALL results are
unavailable, that's the signal to say so explicitly to the user and offer to widen the dates, location, or filters.offers[]is the per-operator breakdown for the requested dates: each entry includesota,amount,amount_per_night,currency,breakfast_included,refundable, and adeeplink_url. The deeplink is a BluePillow tracked-redirect URL (bluepillow.com/…) that records the click for attribution and then forwards the user to the operator's booking page. Pass it to the user verbatim — never reconstruct it or replace it with a raw operator URL; our APIs never emit direct OTA links.pricemirrors the curated best offer. When no dates were passed (or nothing is available)offersis an empty list andpriceis null — there is no price to show.Free cancellation is a meaningful decision factor and surfaces proactively in the user-facing summary. When a property has
price.refundable=true(or anyoffers[i].refundable=true), it reads naturally as a property feature: "Hotel X — $120/night, free cancellation available", or "Booking offers a refundable rate at $130 (vs $110 non-refundable)". Refundable rates let the user lock in a price now and adjust the booking later, which is often the differentiator between otherwise-similar properties. The same proactive surfacing applies tobreakfast_includedwhen it's true for some offers but not all.Prices in
offers/pricereflect the requested dates and guests; with no dates there is no price. For a final bookable confirmation, the correspondingdeeplink_url(or the property'sweb_url) is the canonical handoff — booking URLs are not reconstructed by hand.All rating-like fields are on a 0-5 scale (Google Places-compatible):
rating,reviews_aggregate.score_0_5, the per-OTA scores underdistribution_by_ota, eachreviews_sample[*].score, and thefilters.min_ratinginput. A user asking "rating at least 8 out of 10" maps tomin_rating: 4.0; "at least 4 stars on Google" maps tomin_rating: 4.0. Note:rating,stars, andrating_countcome from the comparator's list payload and may be 0 or absent for some properties even when the property has reviews or a star classification — this is a comparator list-payload limitation, not a data error. When those fields are 0/absent, or when the per-OTA review breakdown (distribution_by_ota) is needed, callget_property_detailsto get the fullerreviews_aggregate. On the search path,reviews_aggregatecarries the top-linescore_0_5,rating_count(reviews backing the score) andcomment_count(readable review TEXTS available) when the comparator returned a non-zero review count;distribution_by_otais always empty on this path (per-OTA breakdown requiresget_property_details).rating_countandcomment_countare DIFFERENT magnitudes — most guests leave a rating, far fewer write text. Quoterating_countfor "how many reviewed it" andcomment_countfor "how many opinions you can actually read".Pass
include=["reviews_sample"]to attach a sample of up to 5 recent guest review texts per property. Useful when the user's question involves qualitative criteria that don't map to structured filters ("a place with excellent breakfast", "quiet area", "family-friendly atmosphere"); review texts can be searched textually to corroborate or rule out matches. For a DEEPER read on ONE specific property — more review texts (up to 20) or the per-OTA breakdown — callget_property_detailswithinclude=["reviews_extended"](and/orreviews_aggregate).comment_counton each result tells you how many review texts exist, so you can decide whether escalating to the detail call is worth it.
filters.property_types, filters.amenities, filters.min_rating,
and filters.price_max_eur narrow on structured criteria first;
review-based reasoning is one extra round-trip per page and is
typically reserved for fallback.
Location modes:
coordinates: when lat/lon is already known from world knowledge or a prior call in this session (default radius 5 km; widen up to 50 km for broader queries; beyond thatbboxor a parent destination is the right shape).destination_id: opaque id obtained fromresolve_destination, passed verbatim — values are not constructed or guessed.bbox: explicit map rectangle.
Property type tokens (canonical): hotel, apartment, house, villa, bb, hostel, farmstay, holiday-home. Common multi-language synonyms map server-side to the canonical set.
Amenities filter is set-AND — each result has ALL listed codes. Common codes: wi-fi, parking, pool, air-conditioning, kitchen, garden, pets-allowed, for-families, facilities-for-disabled, non-smoking-only.
Results are cursor-paginated; the next_cursor from a previous
response goes into page.cursor for the next page.
location.type=property_id is not accepted here —
get_property_details is the path for a known property.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| sort | No | ||
| dates | Yes | Check-in and check-out dates (ISO 8601, YYYY-MM-DD). Natural-language references — 'tonight', 'this weekend', 'the weekend of July 4', 'Memorial Day weekend', 'long weekend in May' — translate to concrete check_in / check_out values at the call site. The comparator only serves future stays: check_in is a date in the real-time calendar that is today or later. A reference like 'the weekend of June 2' resolves to the next occurrence after today, never a past anniversary; if the current year is unclear, confirm with the user before calling. Past check_in values are rejected at the API boundary. | |
| guests | Yes | ||
| api_key | No | Your anonymous Blue Pillow Hotels & Stays API key (format 'pk_anon_…'). Pass it in THIS field on every call — this is how the tool authenticates. If you don't have a key yet, first check your MCP client configuration, your persistent memory, and earlier in this conversation; otherwise call `b2a_get_key` to get one instantly (do not wait for a 401). Reuse the same key on every subsequent call. It is not a sensitive secret: no account, payment, or personal data is attached. | |
| filters | No | ||
| include | No | Optional enrichments. 'reviews_sample' attaches the 5 most recent individual reviews per property — use for qualitative queries (breakfast, service, ...). One extra Mongo round-trip per page; omit by default. | |
| currency | No | Currency of the returned prices (ISO-4217, 3-letter uppercase, e.g. 'USD', 'EUR', 'GBP', 'CAD'). SET THIS (or `user_country`) to price in the user's currency — if you set NEITHER, prices default to USD, which may not be the user's. Prices come straight from the booking sources in this currency; never convert them yourself. Each offer reflects the currency its operator actually quoted. | |
| language | No | User's UI language (2-letter lowercase). Drives the booking link language and any server-rendered narrative content. Pass the language the user is currently speaking. Falls back to 'en' when omitted. | |
| location | Yes | ||
| user_country | No | User's country (ISO-3166 alpha-2 uppercase). Drives the booking-link locale (the landing page rendered when the user clicks `web_url`) AND, when `currency` is not set, the pricing currency (US->USD, CA->CAD, euro-area->EUR). Pass the user's own country, not the destination's. Falls back to 'US' when omitted. | |
| availability_mode | No | strict (default): return ONLY properties available for the requested dates. include_unavailable: also return properties with no availability (each tagged availability_status). Use strict unless the user explicitly wants to see sold-out options. | |
| include_overbudget | No | Opt-in. When few available results fit the budget, also return (in alternatives.overbudget) available properties in the same area just above price_max_eur. Requires filters.price_max_eur. | |
| include_out_of_bounds | No | Opt-in. When the requested area yields few available results, also return (in alternatives.out_of_bounds) properties just outside the area, within the original budget. Present these explicitly as alternatives, never mixed with primary results. |
Output Schema
| Name | Required | Description |
|---|---|---|
| page | Yes | |
| results | Yes | |
| metadata | Yes | |
| alternatives | No |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!