{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.b2a.bluepillow.com",
    "site": "bluepillow.com",
    "addresses": [
      {
        "address": "20.23.134.31",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "20.23.134.31"
        ],
        "first_seen": "2026-11-22T08:02:02.069Z",
        "last_seen": "2026-11-24T08:13:00.674Z",
        "checks": 3
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "Uvicorn (Python)",
        "evidence": "Server header \"uvicorn\""
      }
    ],
    "server_info": {
      "name": "bluepillow-hotels",
      "version": "1.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "uvicorn"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.bluepillow",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "7408",
    "server_name": "com.bluepillow/hotels",
    "url": "https://mcp.b2a.bluepillow.com/",
    "host": "mcp.b2a.bluepillow.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T08:13:00.674Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "29845b738cf04ef536d54b5a12881a943fac22ec03d8b0072df3ce5ff4bcf0b5",
    "first_listed_at": "2026-11-21T07:26:02.107Z",
    "created_at": "2026-11-21T05:25:04.084Z",
    "resolved_addresses": [
      "20.23.134.31"
    ]
  },
  "server": {
    "name": "com.bluepillow/hotels",
    "title": "Blue Pillow Hotels & Stays",
    "description": "Neutral hotel & stay price comparison for AI agents: live prices from 16+ booking sites. No signup.",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://b2a.bluepillow.com",
    "published_at": "2026-09-24T13:34:07.593Z",
    "updated_at": "2026-09-24T13:34:07.593Z",
    "first_seen": "2026-11-21T05:25:03.510Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:58:08.981Z"
  },
  "operator": {
    "key": "bluepillow.com",
    "name": "bluepillow.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 873,
    "first_check_in_window": "2026-11-21T07:26:02.107Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "29845b738cf04ef536d54b5a12881a943fac22ec03d8b0072df3ce5ff4bcf0b5",
    "tools": 6,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T07:26:02.926Z",
    "tool_names": [
      "search_stays",
      "get_property_details",
      "check_property_availability",
      "resolve_destination",
      "discover_destinations_near",
      "get_anonymous_key"
    ],
    "declared": {
      "tools": [
        {
          "name": "search_stays",
          "title": "Search accommodation — compare offers across operators",
          "description": "Multi-operator accommodation comparator for a geographic area and a stay:\ndates (required), guests and optional filters. Returns a ranked list of\nproperties — hotels, B&Bs, apartments, villas, hostels and more — with the\nbooking sites that offer each one and their live availability and\nper-operator price for the requested dates. Questions about one property\nfound here (guest opinions, facilities, a live re-quote) are served by\n`get_property_details` and `check_property_availability` with that\nresult's `id`.\n\nDates: natural-language references (\"this weekend\", \"the weekend of\nJuly 4\", \"long weekend in May\") translate to concrete check_in /\ncheck_out values at the call site; ISO dates also work.\n\nLocale: `user_country`, `currency` and `language` carry the user's\nlocale, not the destination's. Prices come back in `currency` if set,\notherwise in the currency of `user_country` (US→USD, CA→CAD, GB→GBP,\neuro-area→EUR), otherwise USD. Each offer is quoted by its operator in\nthat currency; nothing is converted. `user_country` and `language` also\nlocalize the booking link.\n\nEach result carries:\n- `location.lat` / `location.lon`, suitable for plotting the results on\n  a map.\n- `thumbnail_url` (first photo, or null) and `images`, capped to one\n  photo; `get_property_details` returns the full gallery.\n- `web_url`, a link to the property page with the stay already encoded.\n- `price` and `offers[]`: the live quote for the requested dates,\n  present only when availability was confirmed. Each offer has `ota`,\n  `amount` (total stay), `amount_per_night`, `currency`,\n  `breakfast_included`, `refundable`, `rooms_left` and `deeplink_url` —\n  a Blue Pillow tracked link that records the click and forwards to the\n  operator's booking page; it is what attributes the booking to Blue\n  Pillow, which a raw operator URL does not. `price` mirrors `offers[0]`,\n  Blue Pillow's best value for money (price weighed against breakfast,\n  free cancellation and operator reliability, with a small commercial\n  component), not necessarily the cheapest; `sort=price_asc` orders by\n  price alone. There is no\n  date-agnostic \"from\" price.\n- `availability_status`: `available` (live quotes in `offers`),\n  `unavailable` (no rooms for those dates) or `unknown` (the operators\n  returned nothing conclusive — not evidence that the property is full).\n  The default `availability_mode=strict` returns only `available`\n  results; `include_unavailable` also returns the other two.\n\nReading the numbers: `amount_per_night` is per night and `amount` is the\ntotal stay, so a quote reads clearly with its unit (\"€X/night via\nBooking, €Y total\"). `rooms_left` signals scarcity; `refundable` and\n`breakfast_included` often separate otherwise similar options.\n\nRatings are on a 0-5 scale (`rating`, `reviews_aggregate.score_0_5`,\nreview scores and `filters.min_rating`; \"8 out of 10\" is 4.0). Upstream\nscores arrive rounded, so `rating` is coarse and reads best together with\n`rating_count`. `rating`, `stars` and `rating_count` may be 0 or absent\nin this list even when the property has them; `get_property_details`\nreturns the fuller `reviews_aggregate`. Here `reviews_aggregate` carries\n`score_0_5`, `rating_count` (reviews behind the score) and\n`comment_count` (review texts available) — two different magnitudes.\n`include=[\"reviews_sample\"]` adds up to 5 recent review texts per\nproperty, useful for qualitative criteria (\"great breakfast\", \"quiet\narea\"); a deeper read on one property is `get_property_details` with\n`reviews_extended`.\n\nFilters: `filters.min_rating` and `filters.price_max_eur` narrow the\nresults; `filters.property_types` and `filters.amenities` rank rather\nthan filter, so each result's `property_type` and `amenities` show what\nit actually is. Property type tokens: hotel, apartment, house, villa,\nbb, hostel, farmstay, holiday-home (common Italian and English synonyms\nare accepted). Common amenity codes: wi-fi, parking, pool,\nair-conditioning, kitchen, garden, pets-allowed, for-families,\nfaci",
          "inputSchema": {
            "type": "object",
            "required": [
              "location",
              "dates",
              "guests"
            ],
            "properties": {
              "page": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "integer",
                    "maximum": 100,
                    "minimum": 1
                  },
                  "cursor": {
                    "type": "string"
                  }
                },
                "description": "Pagination. `limit` caps results per page (1-100). To fetch the next page pass `cursor` with the `next_cursor` value from the previous response — cursors are opaque and are never constructed by hand.",
                "additionalProperties": false
              },
              "sort": {
                "enum": [
                  "score_desc",
                  "price_asc",
                  "rating_desc",
                  "conversion_desc"
                ],
                "type": "string",
                "description": "Result ordering. score_desc (default) is the balanced relevance ranking and suits most requests; price_asc when the user asked for the cheapest; rating_desc when they asked for the best-reviewed; conversion_desc favours what comparable travellers actually booked."
              },
              "dates": {
                "type": "object",
                "required": [
                  "check_in",
                  "check_out"
                ],
                "properties": {
                  "check_in": {
                    "type": "string",
                    "format": "date"
                  },
                  "check_out": {
                    "type": "string",
                    "format": "date"
                  }
                },
                "description": "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. Clock calibration: this schema was published in August 2026, so today is August 2026 OR LATER (likely later — schemas outlive their publish date). An assumed 'today' in 2024/2025 is a stale training-time clock; years before 2026 are always in the past. Past check_in values are rejected at the API boundary with a hint carrying the actual current date.",
                "additionalProperties": false
              },
              "guests": {
                "type": "object",
                "required": [
                  "adults"
                ],
                "properties": {
                  "rooms": {
                    "type": "integer",
                    "maximum": 9,
                    "minimum": 1
                  },
                  "adults": {
                    "type": "integer",
                    "maximum": 16,
                    "minimum": 1
                  },
                  "children_ages": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "maximum": 17,
                      "minimum": 0
                    }
                  }
                },
                "description": "Party composition. `adults` is required; give `children_ages` (one age per child, 0-17) rather than a child count — operators price by age. `rooms` defaults to 1; raise it when the party needs separate rooms rather than one shared.",
                "additionalProperties": false
              },
              "api_key": {
                "type": "string",
                "description": "Anonymous key for this server (format 'pk_anon_…'), as returned by `get_anonymous_key`. Required by this tool; the same key works for every call."
              },
              "filters": {
                "type": "object",
                "properties": {
                  "amenities": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Preferred amenity codes. This ranks, it does not filter: properties declaring every code listed here come first and nothing is dropped, because upstream declarations are incomplete — an absent code is not evidence the service is missing. Read each result's `amenities` to see what is actually declared. Common: wi-fi, parking, pool, air-conditioning, kitchen, garden, pets-allowed, for-families, facilities-for-disabled, non-smoking-only."
                  },
                  "min_rating": {
                    "type": "number",
                    "maximum": 5,
                    "minimum": 0
                  },
                  "price_max_eur": {
                    "type": "number",
                    "minimum": 0
                  },
                  "property_types": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Preferred property types. Like `amenities`, this steers rather than excludes: the types listed here come first and a minority of other types can still appear in the page. Read each result's `property_type` when the distinction matters to the user. Canonical tokens: hotel, apartment, house, villa, bb, hostel, farmstay, holiday-home. Italian/English synonyms (agriturismo, bnb, appartamento, casa, ...) are accepted and normalized server-side."
                  }
                },
                "description": "Structured narrowing applied server-side, before ranking. Prefer these over filtering the results yourself: they run across the whole inventory, not just the page you received. Qualitative criteria that do not map here (\"quiet\", \"great breakfast\") are better served by include=['reviews_sample'].",
                "additionalProperties": false
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "reviews_sample"
                  ],
                  "type": "string"
                },
                "description": "Optional enrichments, always a list — pass [\"reviews_sample\"], never the bare string. '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": {
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "description": "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": {
                "type": "string",
                "pattern": "^[a-z]{2}$",
                "description": "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": {
                "type": "object",
                "required": [
                  "type",
                  "value"
                ],
                "properties": {
                  "type": {
                    "enum": [
                      "destination_id",
                      "poi_id",
                      "coordinates",
                      "bbox"
                    ],
                    "type": "string",
                    "description": "Selects the shape of value: destination_id and poi_id take an id string, coordinates takes {lat, lon, radius_km?}, bbox takes {nw: [lat,lon], se: [lat,lon]}. property_id is NOT supported here; use get_property_details."
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "destination_id/poi_id: opaque id string from resolve_destination or discover_destinations_near (e.g. 'dest_590c54056664cf2c60c5c2f6'). Pass it verbatim — the 'dest_'/'poi_' prefix is accepted. NEVER pass a free-form name like 'Ancona'; the API rejects bad identifiers with 400 invalid_request."
                      },
                      {
                        "type": "object",
                        "required": [
                          "lat",
                          "lon"
                        ],
                        "properties": {
                          "lat": {
                            "type": "number",
                            "maximum": 90,
                            "minimum": -90,
                            "description": "Latitude in decimal degrees."
                          },
                          "lon": {
                            "type": "number",
                            "maximum": 180,
                            "minimum": -180,
                            "description": "Longitude in decimal degrees."
                          },
                          "radius_km": {
                            "type": "number",
                            "description": "Search radius in km (default 5).",
                            "exclusiveMinimum": 0
                          }
                        },
                        "description": "coordinates: a known point, searched within radius_km.",
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "required": [
                          "nw",
                          "se"
                        ],
                        "properties": {
                          "nw": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 2,
                            "minItems": 2,
                            "description": "North-west corner as [lat, lon]."
                          },
                          "se": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 2,
                            "minItems": 2,
                            "description": "South-east corner as [lat, lon]."
                          }
                        },
                        "description": "bbox: an explicit map rectangle, given by its north-west and south-east corners.",
                        "additionalProperties": false
                      }
                    ],
                    "description": "Shape depends on type — see each option below."
                  }
                },
                "description": "Where to search, as a {type, value} pair. Use destination_id for a place resolved via resolve_destination, poi_id for a point of interest, coordinates for a known lat/lon, or bbox for an explicit map rectangle. A property is NOT a location — use get_property_details for a known property.",
                "additionalProperties": false
              },
              "user_country": {
                "type": "string",
                "pattern": "^[A-Z]{2}$",
                "description": "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": {
                "enum": [
                  "strict",
                  "include_unavailable"
                ],
                "type": "string",
                "description": "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": {
                "type": "boolean",
                "description": "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": {
                "type": "boolean",
                "description": "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."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "results",
              "page",
              "metadata"
            ],
            "properties": {
              "page": {
                "type": "object",
                "required": [
                  "next_cursor",
                  "total_estimate"
                ],
                "properties": {
                  "next_cursor": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "total_estimate": {
                    "type": "integer"
                  }
                }
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "property_type",
                    "rating",
                    "location",
                    "ota_coverage"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "rate": {
                      "type": "object",
                      "properties": {
                        "occupancy": {
                          "type": "object",
                          "properties": {
                            "total": {
                              "type": "integer"
                            },
                            "adults": {
                              "type": "integer"
                            },
                            "infants": {
                              "type": "integer"
                            },
                            "children": {
                              "type": "integer"
                            },
                            "child_ages": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "stay_dates": {
                          "type": "object",
                          "properties": {
                            "end_date": {
                              "type": "string",
                              "format": "date"
                            },
                            "start_date": {
                              "type": "string",
                              "format": "date"
                            }
                          }
                        },
                        "property_id": {
                          "type": "string"
                        }
                      },
                      "description": "The stay every offer prices: property × stay dates × occupancy."
                    },
                    "brand": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "chain": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "price": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "ota": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "amount": {
                          "type": "number"
                        },
                        "currency": {
                          "type": "string"
                        },
                        "refundable": {
                          "type": "boolean",
                          "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable. Here it mirrors the headline offer; that offer's policy decides."
                        },
                        "is_discounted": {
                          "type": "boolean"
                        },
                        "amount_per_night": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "breakfast_included": {
                          "type": "boolean"
                        },
                        "discount_percentage": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    },
                    "stars": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "images": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "caption": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "offers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "ota": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number",
                            "description": "TOTAL for the requested stay (sum across nights)."
                          },
                          "currency": {
                            "type": "string"
                          },
                          "refundable": {
                            "type": "boolean",
                            "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable."
                          },
                          "rooms_left": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "minimum": 0
                          },
                          "deeplink_url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "is_discounted": {
                            "type": "boolean"
                          },
                          "amount_per_night": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Per-night rate; multiply by nights to get amount."
                          },
                          "breakfast_included": {
                            "type": "boolean"
                          },
                          "cancellation_policy": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string"
                              },
                              "description": {
                                "type": "object",
                                "properties": {
                                  "plain": {
                                    "type": "string"
                                  }
                                }
                              },
                              "refundability": {
                                "enum": [
                                  "refundable",
                                  "partially_refundable",
                                  "non_refundable"
                                ],
                                "type": "string"
                              },
                              "free_cancellation_until": {
                                "type": "string",
                                "format": "date-time"
                              }
                            },
                            "description": "UCP lodging cancellation policy (dev.ucp.lodging.policy.cancellation). Present only when free cancellation is known to be available."
                          },
                          "discount_percentage": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "rating": {
                      "type": "number",
                      "maximum": 5,
                      "minimum": 0
                    },
                    "web_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "features": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "code"
                        ],
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "type": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      },
                      "description": "Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when available."
                    },
                    "location": {
                      "type": "object",
                      "properties": {
                        "lat": {
                          "type": "number"
                        },
                        "lon": {
                          "type": "number"
                        },
                        "city": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "address": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "country": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "neighborhood": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "amenities": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "quoted_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "description": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Free-text property description, when the source provides one. Usually null on search results."
                    },
                    "valid_until": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "ota_coverage": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "rating_count": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "reviews_meta": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "cap": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "note": {
                          "type": "string"
                        },
                        "capped": {
                          "type": "boolean"
                        },
                        "returned": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "total_available": {
                          "type": "integer",
                          "minimum": 0
                        }
                      },
                      "description": "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": {
                      "type": "string"
                    },
                    "thumbnail_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reviews_sample": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "score": {
                            "type": "number",
                            "maximum": 5,
                            "minimum": 0
                          },
                          "language": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "description": {
                            "type": "string"
                          },
                          "connector_name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "validity_source": {
                      "enum": [
                        "b2a_freshness"
                      ],
                      "type": "string",
                      "description": "b2a_freshness: valid_until is Blue Pillow's refresh window, not an operator price guarantee."
                    },
                    "reviews_aggregate": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "score_0_5": {
                          "type": "number",
                          "maximum": 5,
                          "minimum": 0
                        },
                        "rating_count": {
                          "type": "integer"
                        },
                        "comment_count": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "distribution_by_ota": {
                          "type": "object"
                        }
                      },
                      "description": "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": {
                      "enum": [
                        "available",
                        "unavailable",
                        "unknown"
                      ],
                      "type": "string",
                      "description": "available = live bookable quotes in offers for the requested dates (price is the curated best); unavailable = no rooms reported for these dates (offers=[], price=null); unknown = availability not established, either because the call carried no dates or because the operators returned nothing conclusive (offers=[], price=null)."
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "properties": {
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "price_as_of": {
                    "type": "string"
                  }
                }
              },
              "alternatives": {
                "type": "object",
                "properties": {
                  "overbudget": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "property_type",
                        "rating",
                        "location",
                        "ota_coverage"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "rate": {
                          "type": "object",
                          "properties": {
                            "occupancy": {
                              "type": "object",
                              "properties": {
                                "total": {
                                  "type": "integer"
                                },
                                "adults": {
                                  "type": "integer"
                                },
                                "infants": {
                                  "type": "integer"
                                },
                                "children": {
                                  "type": "integer"
                                },
                                "child_ages": {
                                  "type": "array",
                                  "items": {
                                    "type": "integer"
                                  }
                                }
                              }
                            },
                            "stay_dates": {
                              "type": "object",
                              "properties": {
                                "end_date": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "start_date": {
                                  "type": "string",
                                  "format": "date"
                                }
                              }
                            },
                            "property_id": {
                              "type": "string"
                            }
                          },
                          "description": "The stay every offer prices: property × stay dates × occupancy."
                        },
                        "brand": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "chain": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "ota": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "amount": {
                              "type": "number"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "refundable": {
                              "type": "boolean",
                              "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable. Here it mirrors the headline offer; that offer's policy decides."
                            },
                            "is_discounted": {
                              "type": "boolean"
                            },
                            "amount_per_night": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "breakfast_included": {
                              "type": "boolean"
                            },
                            "discount_percentage": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          }
                        },
                        "stars": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "images": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "caption": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "offers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "ota": {
                                "type": "string"
                              },
                              "amount": {
                                "type": "number",
                                "description": "TOTAL for the requested stay (sum across nights)."
                              },
                              "currency": {
                                "type": "string"
                              },
                              "refundable": {
                                "type": "boolean",
                                "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable."
                              },
                              "rooms_left": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "minimum": 0
                              },
                              "deeplink_url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "is_discounted": {
                                "type": "boolean"
                              },
                              "amount_per_night": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Per-night rate; multiply by nights to get amount."
                              },
                              "breakfast_included": {
                                "type": "boolean"
                              },
                              "cancellation_policy": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "object",
                                    "properties": {
                                      "plain": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "refundability": {
                                    "enum": [
                                      "refundable",
                                      "partially_refundable",
                                      "non_refundable"
                                    ],
                                    "type": "string"
                                  },
                                  "free_cancellation_until": {
                                    "type": "string",
                                    "format": "date-time"
                                  }
                                },
                                "description": "UCP lodging cancellation policy (dev.ucp.lodging.policy.cancellation). Present only when free cancellation is known to be available."
                              },
                              "discount_percentage": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "rating": {
                          "type": "number",
                          "maximum": 5,
                          "minimum": 0
                        },
                        "web_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "features": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "code"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "type": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          },
                          "description": "Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when available."
                        },
                        "location": {
                          "type": "object",
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lon": {
                              "type": "number"
                            },
                            "city": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "address": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "country": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "neighborhood": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        "amenities": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "quoted_at": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Free-text property description, when the source provides one. Usually null on search results."
                        },
                        "valid_until": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "ota_coverage": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "rating_count": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "reviews_meta": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "cap": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "note": {
                              "type": "string"
                            },
                            "capped": {
                              "type": "boolean"
                            },
                            "returned": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "total_available": {
                              "type": "integer",
                              "minimum": 0
                            }
                          },
                          "description": "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": {
                          "type": "string"
                        },
                        "thumbnail_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reviews_sample": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "object",
                            "properties": {
                              "date": {
                                "type": "string"
                              },
                              "score": {
                                "type": "number",
                                "maximum": 5,
                                "minimum": 0
                              },
                              "language": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "description": {
                                "type": "string"
                              },
                              "connector_name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "validity_source": {
                          "enum": [
                            "b2a_freshness"
                          ],
                          "type": "string",
                          "description": "b2a_freshness: valid_until is Blue Pillow's refresh window, not an operator price guarantee."
                        },
                        "reviews_aggregate": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "score_0_5": {
                              "type": "number",
                              "maximum": 5,
                              "minimum": 0
                            },
                            "rating_count": {
                              "type": "integer"
                            },
                            "comment_count": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "distribution_by_ota": {
                              "type": "object"
                            }
                          },
                          "description": "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": {
                          "enum": [
                            "available",
                            "unavailable",
                            "unknown"
                          ],
                          "type": "string",
                          "description": "available = live bookable quotes in offers for the requested dates (price is the curated best); unavailable = no rooms reported for these dates (offers=[], price=null); unknown = availability not established, either because the call carried no dates or because the operators returned nothing conclusive (offers=[], price=null)."
                        }
                      }
                    }
                  },
                  "out_of_bounds": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "property_type",
                        "rating",
                        "location",
                        "ota_coverage"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "rate": {
                          "type": "object",
                          "properties": {
                            "occupancy": {
                              "type": "object",
                              "properties": {
                                "total": {
                                  "type": "integer"
                                },
                                "adults": {
                                  "type": "integer"
                                },
                                "infants": {
                                  "type": "integer"
                                },
                                "children": {
                                  "type": "integer"
                                },
                                "child_ages": {
                                  "type": "array",
                                  "items": {
                                    "type": "integer"
                                  }
                                }
                              }
                            },
                            "stay_dates": {
                              "type": "object",
                              "properties": {
                                "end_date": {
                                  "type": "string",
                                  "format": "date"
                                },
                                "start_date": {
                                  "type": "string",
                                  "format": "date"
                                }
                              }
                            },
                            "property_id": {
                              "type": "string"
                            }
                          },
                          "description": "The stay every offer prices: property × stay dates × occupancy."
                        },
                        "brand": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "chain": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "ota": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "amount": {
                              "type": "number"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "refundable": {
                              "type": "boolean",
                              "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable. Here it mirrors the headline offer; that offer's policy decides."
                            },
                            "is_discounted": {
                              "type": "boolean"
                            },
                            "amount_per_night": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "breakfast_included": {
                              "type": "boolean"
                            },
                            "discount_percentage": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          }
                        },
                        "stars": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "images": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "caption": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "offers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "ota": {
                                "type": "string"
                              },
                              "amount": {
                                "type": "number",
                                "description": "TOTAL for the requested stay (sum across nights)."
                              },
                              "currency": {
                                "type": "string"
                              },
                              "refundable": {
                                "type": "boolean",
                                "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable."
                              },
                              "rooms_left": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "minimum": 0
                              },
                              "deeplink_url": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "is_discounted": {
                                "type": "boolean"
                              },
                              "amount_per_night": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Per-night rate; multiply by nights to get amount."
                              },
                              "breakfast_included": {
                                "type": "boolean"
                              },
                              "cancellation_policy": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "object",
                                    "properties": {
                                      "plain": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "refundability": {
                                    "enum": [
                                      "refundable",
                                      "partially_refundable",
                                      "non_refundable"
                                    ],
                                    "type": "string"
                                  },
                                  "free_cancellation_until": {
                                    "type": "string",
                                    "format": "date-time"
                                  }
                                },
                                "description": "UCP lodging cancellation policy (dev.ucp.lodging.policy.cancellation). Present only when free cancellation is known to be available."
                              },
                              "discount_percentage": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "rating": {
                          "type": "number",
                          "maximum": 5,
                          "minimum": 0
                        },
                        "web_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "features": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "code"
                            ],
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "type": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          },
                          "description": "Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when available."
                        },
                        "location": {
                          "type": "object",
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lon": {
                              "type": "number"
                            },
                            "city": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "address": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "country": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "neighborhood": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        "amenities": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "quoted_at": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Free-text property description, when the source provides one. Usually null on search results."
                        },
                        "valid_until": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "ota_coverage": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "rating_count": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "reviews_meta": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "cap": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "note": {
                              "type": "string"
                            },
                            "capped": {
                              "type": "boolean"
                            },
                            "returned": {
                              "type": "integer",
                              "minimum": 0
                            },
                            "total_available": {
                              "type": "integer",
                              "minimum": 0
                            }
                          },
                          "description": "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": {
                          "type": "string"
                        },
                        "thumbnail_url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reviews_sample": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "object",
                            "properties": {
                              "date": {
                                "type": "string"
                              },
                              "score": {
                                "type": "number",
                                "maximum": 5,
                                "minimum": 0
                              },
                              "language": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "description": {
                                "type": "string"
                              },
                              "connector_name": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "validity_source": {
                          "enum": [
                            "b2a_freshness"
                          ],
                          "type": "string",
                          "description": "b2a_freshness: valid_until is Blue Pillow's refresh window, not an operator price guarantee."
                        },
                        "reviews_aggregate": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "score_0_5": {
                              "type": "number",
                              "maximum": 5,
                              "minimum": 0
                            },
                            "rating_count": {
                              "type": "integer"
                            },
                            "comment_count": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "distribution_by_ota": {
                              "type": "object"
                            }
                          },
                          "description": "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": {
                          "enum": [
                            "available",
                            "unavailable",
                            "unknown"
                          ],
                          "type": "string",
                          "description": "available = live bookable quotes in offers for the requested dates (price is the curated best); unavailable = no rooms reported for these dates (offers=[], price=null); unknown = availability not established, either because the call carried no dates or because the operators returned nothing conclusive (offers=[], price=null)."
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Search accommodation — compare offers across operators",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_property_details",
          "title": "Get property details — static facts, no live availability",
          "description": "Details and guest reviews for one specific property — hotel, B&B,\nhostel, apartment, villa — identified by its id. Answers questions such\nas what guests think of it, whether it is clean, quiet or comfortable,\nthe most common complaints, how the breakfast is, which facilities it\noffers, where exactly it is, or how it compares with another option. It\nalso serves follow-up questions about a property returned earlier by\n`search_stays`: the `id` of that result is the `property_id` here.\n\nReturns the amenity list, photos, booking sources, location and the\nheadline rating (`rating` + `rating_count`). Guest-review data is added\nthrough `include`:\n- `reviews_aggregate` — score, total count and per-source breakdown; it\n  summarizes all reviews.\n- `reviews_sample` — up to 5 recent review texts.\n- `reviews_extended` — up to 20 recent review texts for a deeper read;\n  it supersedes `reviews_sample`.\n`reviews_meta` reports how many texts exist and that the cap is\ndeliberate: the omitted texts are older, and the aggregate already\nreflects them.\n\nIt takes no dates and carries no price: a price only exists for a\nconcrete stay window, which is what `check_property_availability`\nquotes. In the response `price` is null, `offers` is empty and\n`availability_status` is `unknown`.\n\nInput: `property_id` is the `id` of a `search_stays` result (an opaque\nstring starting with `prop_`) or a bluepillow.com property URL. For a\nproperty known only by name, `resolve_destination` and a targeted\n`search_stays` return its id.\n\n`user_country`, `currency` and `language` carry the user's locale and\nlocalize the `web_url` link to the property page. Language default is\n\"en\"; country default is \"US\". All rating fields are on a 0-5 scale.\n",
          "inputSchema": {
            "type": "object",
            "required": [
              "property_id"
            ],
            "properties": {
              "api_key": {
                "type": "string",
                "description": "Anonymous key for this server (format 'pk_anon_…'), as returned by `get_anonymous_key`. Required by this tool; the same key works for every call."
              },
              "include": {
                "type": "array",
                "items": {
                  "enum": [
                    "reviews_aggregate",
                    "reviews_sample",
                    "reviews_extended"
                  ],
                  "type": "string"
                },
                "description": "Optional enrichments, always a list — pass [\"reviews_aggregate\"], never the bare string. 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": {
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "description": "User's preferred currency (ISO-4217, 3-letter uppercase, e.g. 'USD', 'EUR'), carried into the `web_url` booking link. This tool returns no prices; live quotes come from `check_property_availability`."
              },
              "language": {
                "type": "string",
                "pattern": "^[a-z]{2}$",
                "description": "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": {
                "type": "string",
                "pattern": "^(prop_|https?://)",
                "description": "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": {
                "type": "string",
                "pattern": "^[A-Z]{2}$",
                "description": "User's country (ISO-3166 alpha-2 uppercase). Localizes the `web_url` booking link. Pass the user's own country, not the property's home country. Falls back to 'US' when omitted."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "property_type",
              "rating",
              "location",
              "ota_coverage"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "rate": {
                "type": "object",
                "properties": {
                  "occupancy": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "adults": {
                        "type": "integer"
                      },
                      "infants": {
                        "type": "integer"
                      },
                      "children": {
                        "type": "integer"
                      },
                      "child_ages": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      }
                    }
                  },
                  "stay_dates": {
                    "type": "object",
                    "properties": {
                      "end_date": {
                        "type": "string",
                        "format": "date"
                      },
                      "start_date": {
                        "type": "string",
                        "format": "date"
                      }
                    }
                  },
                  "property_id": {
                    "type": "string"
                  }
                },
                "description": "The stay every offer prices: property × stay dates × occupancy."
              },
              "brand": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "chain": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "price": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "ota": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "amount": {
                    "type": "number"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "refundable": {
                    "type": "boolean",
                    "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable. Here it mirrors the headline offer; that offer's policy decides."
                  },
                  "is_discounted": {
                    "type": "boolean"
                  },
                  "amount_per_night": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "breakfast_included": {
                    "type": "boolean"
                  },
                  "discount_percentage": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              },
              "stars": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "caption": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ota": {
                      "type": "string"
                    },
                    "amount": {
                      "type": "number",
                      "description": "TOTAL for the requested stay (sum across nights)."
                    },
                    "currency": {
                      "type": "string"
                    },
                    "refundable": {
                      "type": "boolean",
                      "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable."
                    },
                    "rooms_left": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "minimum": 0
                    },
                    "deeplink_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "is_discounted": {
                      "type": "boolean"
                    },
                    "amount_per_night": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Per-night rate; multiply by nights to get amount."
                    },
                    "breakfast_included": {
                      "type": "boolean"
                    },
                    "cancellation_policy": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string"
                        },
                        "description": {
                          "type": "object",
                          "properties": {
                            "plain": {
                              "type": "string"
                            }
                          }
                        },
                        "refundability": {
                          "enum": [
                            "refundable",
                            "partially_refundable",
                            "non_refundable"
                          ],
                          "type": "string"
                        },
                        "free_cancellation_until": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "description": "UCP lodging cancellation policy (dev.ucp.lodging.policy.cancellation). Present only when free cancellation is known to be available."
                    },
                    "discount_percentage": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                }
              },
              "rating": {
                "type": "number",
                "maximum": 5,
                "minimum": 0
              },
              "web_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "features": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "description": "Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when available."
              },
              "location": {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lon": {
                    "type": "number"
                  },
                  "city": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "neighborhood": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "amenities": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "quoted_at": {
                "type": "string",
                "format": "date-time"
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Free-text property description, when the source provides one. Usually null on search results."
              },
              "valid_until": {
                "type": "string",
                "format": "date-time"
              },
              "ota_coverage": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "rating_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reviews_meta": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "cap": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "note": {
                    "type": "string"
                  },
                  "capped": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "total_available": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "description": "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": {
                "type": "string"
              },
              "thumbnail_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reviews_sample": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string"
                    },
                    "score": {
                      "type": "number",
                      "maximum": 5,
                      "minimum": 0
                    },
                    "language": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "description": {
                      "type": "string"
                    },
                    "connector_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "validity_source": {
                "enum": [
                  "b2a_freshness"
                ],
                "type": "string",
                "description": "b2a_freshness: valid_until is Blue Pillow's refresh window, not an operator price guarantee."
              },
              "reviews_aggregate": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "score_0_5": {
                    "type": "number",
                    "maximum": 5,
                    "minimum": 0
                  },
                  "rating_count": {
                    "type": "integer"
                  },
                  "comment_count": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "distribution_by_ota": {
                    "type": "object"
                  }
                },
                "description": "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": {
                "enum": [
                  "available",
                  "unavailable",
                  "unknown"
                ],
                "type": "string",
                "description": "available = live bookable quotes in offers for the requested dates (price is the curated best); unavailable = no rooms reported for these dates (offers=[], price=null); unknown = availability not established, either because the call carried no dates or because the operators returned nothing conclusive (offers=[], price=null)."
              }
            }
          },
          "annotations": {
            "title": "Get property details — static facts, no live availability",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_property_availability",
          "title": "Check live availability and per-operator quotes for a stay",
          "description": "Live availability and per-operator quote for a specific property\nover a specific stay window. Performs a live date-aware lookup\nagainst the BluePillow search layer, returns date-specific prices,\nrooms-left scarcity signals, breakfast-included and refundable\nflags, and a per-operator deep link to complete the booking.\n\nUseful when the user has specific dates in mind for a property they\nalready identified — typically via `search_stays` or\n`get_property_details`. The complementary `get_property_details`\ntool answers \"what is this property like\" with static facts; this\ntool answers \"can I book it for these dates at what price\" with\nlive, date-specific data.\n\nFollow-up questions about a property from an earlier `search_stays`\nresult — is it still available, what does it cost for other dates or\nguests — use that result's `id` as `property_id`.\n\nRequired input: `property_id` (the `id` from a `search_stays`\nresult, opaque string starting with `prop_`), `dates` (check_in +\ncheck_out, ISO 8601), and `guests` (adults / children / infants\ncomposition). Without these the live lookup cannot proceed.\n\nNatural-language date references — \"tonight\", \"this weekend\", \"next\nweekend\", \"the weekend of July 4\", \"Memorial Day weekend\", \"long\nweekend in May\" — translate to concrete check_in / check_out values\nat the call site; concrete ISO dates also work. check_in is a date\nin the real-time calendar that is today or later; past values are\nrejected at the API boundary.\n\n`user_country`, `currency`, and `language` carry the **user's** locale,\nnot the property's. Prices are returned in `currency` if set, else\nderived from `user_country`, else **USD** — pass `user_country` and/or\n`currency` whenever you know the user's location/currency so the quote\nmatches what they'll pay; don't rely on the USD default. `user_country`\nand `language` also localize the `web_url` booking link.\n\nResponse shape:\n\n- `availability_status` — `available`, `unavailable`, or `unknown`.\n  Available means rooms confirmed at the operator level for the\n  requested window; quote freely. Unavailable means no rooms for\n  these dates — surface that explicitly to the user with a\n  suggestion of alternate dates (there is no price for these dates).\n- `offers[]` — per-operator quotes. Each carries `amount` (total\n  stay), `amount_per_night` (per-night), `currency`,\n  `breakfast_included`, `refundable`, `rooms_left`, and\n  `deeplink_url`. `offers[0]` is the best value for money as Blue\n  Pillow ranks it: price weighed against what is included (breakfast,\n  free cancellation) and the operator's historical reliability, with a\n  small commercial component. It is not necessarily the cheapest — the\n  full per-operator list is always in `offers[]`, and `sort=price_asc`\n  gives pure price order. Each\n  `deeplink_url` is a **BluePillow tracked-redirect URL**\n  (bluepillow.com/…) that records the click and forwards the user\n  to the operator's booking page — pass it verbatim, never\n  reconstruct it or replace it with a raw OTA link.\n- `price` — mirror of `offers[0]` for callers that just want the\n  curated headline. `null` when unavailable (no price for these\n  dates).\n\nPer-night vs total — `amount_per_night` is **per-night**; `amount`\non each offer is the **total** for the requested stay. Phrasings\nlike *\"€X/night via Booking, breakfast included, €Y total\"* are\nunambiguous; bare numbers without a unit (\"€192\") get misread.\n\nScarcity signals: low `rooms_left` values (1-3) are useful cues —\n\"1 room left at €X on Booking\" reads naturally. Free cancellation\n(an offer's `cancellation_policy` with `refundability=refundable`;\nthe raw `refundable` flag alone does not guarantee it) and\nbreakfast-included are decision factors worth surfacing proactively\nwhen present on some offers but not others.\n\nWhen all results across operators are `unavailable`, that's the\nsignal to say so explicitly to the user and offer to widen the\ndates or look at alternatives.\n\nFor final booking confirmation, hand the user the correspon",
          "inputSchema": {
            "type": "object",
            "required": [
              "property_id",
              "dates",
              "guests"
            ],
            "properties": {
              "dates": {
                "type": "object",
                "required": [
                  "check_in",
                  "check_out"
                ],
                "properties": {
                  "check_in": {
                    "type": "string",
                    "format": "date"
                  },
                  "check_out": {
                    "type": "string",
                    "format": "date"
                  }
                },
                "description": "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. Clock calibration: this schema was published in August 2026, so today is August 2026 OR LATER; an assumed 'today' in 2024/2025 is a stale training-time clock.",
                "additionalProperties": false
              },
              "guests": {
                "type": "object",
                "required": [
                  "adults"
                ],
                "properties": {
                  "adults": {
                    "type": "integer",
                    "maximum": 20,
                    "minimum": 1
                  },
                  "infants": {
                    "type": "integer",
                    "maximum": 10,
                    "minimum": 0
                  },
                  "children": {
                    "type": "integer",
                    "maximum": 10,
                    "minimum": 0
                  }
                },
                "description": "Guest composition. Adults is required; children and infants default to zero.",
                "additionalProperties": false
              },
              "api_key": {
                "type": "string",
                "description": "Anonymous key for this server (format 'pk_anon_…'), as returned by `get_anonymous_key`. Required by this tool; the same key works for every call."
              },
              "currency": {
                "type": "string",
                "pattern": "^[A-Z]{3}$",
                "description": "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": {
                "type": "string",
                "pattern": "^[a-z]{2}$",
                "description": "User's UI language (2-letter lowercase). Drives the booking link language; falls back to 'en'."
              },
              "property_id": {
                "type": "string",
                "pattern": "^(prop_|https?://)",
                "description": "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": {
                "type": "string",
                "pattern": "^[A-Z]{2}$",
                "description": "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."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "property_type",
              "rating",
              "location",
              "ota_coverage"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "rate": {
                "type": "object",
                "properties": {
                  "occupancy": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "adults": {
                        "type": "integer"
                      },
                      "infants": {
                        "type": "integer"
                      },
                      "children": {
                        "type": "integer"
                      },
                      "child_ages": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      }
                    }
                  },
                  "stay_dates": {
                    "type": "object",
                    "properties": {
                      "end_date": {
                        "type": "string",
                        "format": "date"
                      },
                      "start_date": {
                        "type": "string",
                        "format": "date"
                      }
                    }
                  },
                  "property_id": {
                    "type": "string"
                  }
                },
                "description": "The stay every offer prices: property × stay dates × occupancy."
              },
              "brand": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "chain": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "price": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "ota": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "amount": {
                    "type": "number"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "refundable": {
                    "type": "boolean",
                    "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable. Here it mirrors the headline offer; that offer's policy decides."
                  },
                  "is_discounted": {
                    "type": "boolean"
                  },
                  "amount_per_night": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "breakfast_included": {
                    "type": "boolean"
                  },
                  "discount_percentage": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              },
              "stars": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "images": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "caption": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ota": {
                      "type": "string"
                    },
                    "amount": {
                      "type": "number",
                      "description": "TOTAL for the requested stay (sum across nights)."
                    },
                    "currency": {
                      "type": "string"
                    },
                    "refundable": {
                      "type": "boolean",
                      "description": "Raw flag from the operator. It does not guarantee free cancellation now (its deadline may have passed or be uncertain): state free cancellation only when the offer has a cancellation_policy with refundability=refundable."
                    },
                    "rooms_left": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "minimum": 0
                    },
                    "deeplink_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "is_discounted": {
                      "type": "boolean"
                    },
                    "amount_per_night": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Per-night rate; multiply by nights to get amount."
                    },
                    "breakfast_included": {
                      "type": "boolean"
                    },
                    "cancellation_policy": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string"
                        },
                        "description": {
                          "type": "object",
                          "properties": {
                            "plain": {
                              "type": "string"
                            }
                          }
                        },
                        "refundability": {
                          "enum": [
                            "refundable",
                            "partially_refundable",
                            "non_refundable"
                          ],
                          "type": "string"
                        },
                        "free_cancellation_until": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "description": "UCP lodging cancellation policy (dev.ucp.lodging.policy.cancellation). Present only when free cancellation is known to be available."
                    },
                    "discount_percentage": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                }
              },
              "rating": {
                "type": "number",
                "maximum": 5,
                "minimum": 0
              },
              "web_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "features": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "description": "Structured feature/facility tags (e.g. HouseFacilities, PropertyTypes). Populated alongside description when available."
              },
              "location": {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lon": {
                    "type": "number"
                  },
                  "city": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "neighborhood": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "amenities": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "quoted_at": {
                "type": "string",
                "format": "date-time"
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Free-text property description, when the source provides one. Usually null on search results."
              },
              "valid_until": {
                "type": "string",
                "format": "date-time"
              },
              "ota_coverage": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "rating_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reviews_meta": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "cap": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "note": {
                    "type": "string"
                  },
                  "capped": {
                    "type": "boolean"
                  },
                  "returned": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "total_available": {
                    "type": "integer",
                    "minimum": 0
                  }
                },
                "description": "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": {
                "type": "string"
              },
              "thumbnail_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reviews_sample": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string"
                    },
                    "score": {
                      "type": "number",
                      "maximum": 5,
                      "minimum": 0
                    },
                    "language": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "description": {
                      "type": "string"
                    },
                    "connector_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "validity_source": {
                "enum": [
                  "b2a_freshness"
                ],
                "type": "string",
                "description": "b2a_freshness: valid_until is Blue Pillow's refresh window, not an operator price guarantee."
              },
              "reviews_aggregate": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "score_0_5": {
                    "type": "number",
                    "maximum": 5,
                    "minimum": 0
                  },
                  "rating_count": {
                    "type": "integer"
                  },
                  "comment_count": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "distribution_by_ota": {
                    "type": "object"
                  }
                },
                "description": "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": {
                "enum": [
                  "available",
                  "unavailable",
                  "unknown"
                ],
                "type": "string",
                "description": "available = live bookable quotes in offers for the requested dates (price is the curated best); unavailable = no rooms reported for these dates (offers=[], price=null); unknown = availability not established, either because the call carried no dates or because the operators returned nothing conclusive (offers=[], price=null)."
              }
            }
          },
          "annotations": {
            "title": "Check live availability and per-operator quotes for a stay",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "resolve_destination",
          "title": "Resolve destination name to id",
          "description": "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.\n\nAccepts cities, neighborhoods, airports, points of interest, and named areas such as islands or districts ('Tenerife', 'Crete', 'Trastevere'), written locally or in English. Names are matched against Blue Pillow's own place slugs, which exist for English, Italian, German and Spanish; in other languages the English name is the most reliable. Accents are optional — 'São Paulo' and 'Sao Paulo' resolve alike. A qualifier after the name is tolerated ('Austin, Texas'). The `country` parameter disambiguates names that occur in multiple places (for example Springfield MA vs Springfield IL vs Springfield MO).\n\nThe `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. An `area` candidate can be large: its `location.default_radius_km` says how far a search on its id reaches (an island's may include its neighbours); when the user wants one part of it, coordinates of that part are the tighter search.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 2,
                "description": "Destination name in English or canonical local form (not a translation)."
              },
              "type": {
                "enum": [
                  "city",
                  "neighborhood",
                  "airport",
                  "poi",
                  "area"
                ],
                "type": "string",
                "description": "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. area: a named area the comparator does not class as a city — an island, a district, a region (Tenerife, Crete, Kato Paphos); matched by exact name only."
              },
              "api_key": {
                "type": "string",
                "description": "Anonymous key for this server (format 'pk_anon_…'), as returned by `get_anonymous_key`. Required by this tool; the same key works for every call."
              },
              "country": {
                "type": "string",
                "description": "Country: ISO-3166 alpha-2 (preferred), alpha-3, or extended name in any supported language. Unrecognized values are silently ignored (fail-open)."
              },
              "language": {
                "enum": [
                  "en",
                  "it",
                  "fr",
                  "de",
                  "es",
                  "pt",
                  "nl",
                  "ko",
                  "pl",
                  "ja"
                ],
                "type": "string",
                "default": "en",
                "description": "Render destination names + breadcrumbs in this language."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "candidates",
              "total_matches",
              "disambiguation_recommended"
            ],
            "properties": {
              "candidates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "display_name",
                    "type",
                    "location",
                    "accomodations_count",
                    "path_breadcrumb"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "city",
                        "neighborhood",
                        "airport",
                        "poi",
                        "area"
                      ],
                      "type": "string"
                    },
                    "location": {
                      "type": "object",
                      "properties": {
                        "lat": {
                          "type": "number"
                        },
                        "lon": {
                          "type": "number"
                        },
                        "default_radius_km": {
                          "type": "number"
                        }
                      }
                    },
                    "confidence": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "distance_km": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "country_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "country_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "display_name": {
                      "type": "string"
                    },
                    "path_breadcrumb": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "accomodations_count": {
                      "type": "integer"
                    }
                  }
                }
              },
              "total_matches": {
                "type": "integer"
              },
              "total_matches_capped_at": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "disambiguation_recommended": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Resolve destination name to id",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "discover_destinations_near",
          "title": "Discover destinations near a point",
          "description": "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.\n\nAlso 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.\n\nReturns up to 5 candidates ordered by distance. The radius defaults to 5 km; widens up to 50 km for broader queries.",
          "inputSchema": {
            "type": "object",
            "required": [
              "lat",
              "lon"
            ],
            "properties": {
              "lat": {
                "type": "number",
                "maximum": 90,
                "minimum": -90,
                "description": "Latitude of the centre point, decimal degrees (WGS84). Typically the coordinates of a city or region already known from world knowledge or from an earlier resolve_destination call."
              },
              "lon": {
                "type": "number",
                "maximum": 180,
                "minimum": -180,
                "description": "Longitude of the centre point, decimal degrees (WGS84). Negative west of Greenwich."
              },
              "type": {
                "enum": [
                  "city",
                  "neighborhood",
                  "airport",
                  "poi",
                  "area"
                ],
                "type": "string",
                "description": "Optional filter; same semantics as resolve_destination. Areas are returned only when `area` is asked for explicitly."
              },
              "api_key": {
                "type": "string",
                "description": "Anonymous key for this server (format 'pk_anon_…'), as returned by `get_anonymous_key`. Required by this tool; the same key works for every call."
              },
              "language": {
                "enum": [
                  "en",
                  "it",
                  "fr",
                  "de",
                  "es",
                  "pt",
                  "nl",
                  "ko",
                  "pl",
                  "ja"
                ],
                "type": "string",
                "default": "en",
                "description": "Language of the returned destination names (2-letter lowercase). Pass the language the user is speaking; defaults to 'en'."
              },
              "radius_km": {
                "type": "number",
                "default": 5,
                "maximum": 50,
                "minimum": 0.1,
                "description": "Search radius in km from the point. Defaults to 5 km (city-center scope)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "candidates",
              "total_matches"
            ],
            "properties": {
              "candidates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "display_name",
                    "type",
                    "location",
                    "accomodations_count",
                    "path_breadcrumb"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "city",
                        "neighborhood",
                        "airport",
                        "poi",
                        "area"
                      ],
                      "type": "string"
                    },
                    "location": {
                      "type": "object",
                      "properties": {
                        "lat": {
                          "type": "number"
                        },
                        "lon": {
                          "type": "number"
                        },
                        "default_radius_km": {
                          "type": "number"
                        }
                      }
                    },
                    "confidence": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "distance_km": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "country_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "country_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "display_name": {
                      "type": "string"
                    },
                    "path_breadcrumb": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "accomodations_count": {
                      "type": "integer"
                    }
                  }
                }
              },
              "total_matches": {
                "type": "integer"
              },
              "total_matches_capped_at": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Discover destinations near a point",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_anonymous_key",
          "title": "Get an anonymous API key for Blue Pillow Hotels & Stays",
          "description": "Issues a free anonymous key for Blue Pillow Hotels & Stays, with no\naccount or sign-up. The other tools of this server take the key in their\n`api_key` argument. A key does not expire, so the same key can be used\nfor later calls; calling this tool again issues a new one. Keys carry\nper-key rate limits and let Blue Pillow count usage and booking-link\nreferrals per key, as described in the privacy policy\n(https://b2a.bluepillow.com/legal/privacy).\n\nOptional ``label`` and ``agent`` (max 64 chars each) are stored with\nthe key to name the client that requested it (e.g. 'claude-desktop',\n'chatgpt', 'cursor-ide'); they should not contain personal data and do\nnot affect rate limits or capabilities. Integrators who need higher\nlimits can write to info@bluepillow.com.\n",
          "inputSchema": {
            "type": "object",
            "properties": {
              "agent": {
                "type": "string",
                "maxLength": 64,
                "description": "Optional identifier, stored with the key, of the agent platform requesting it (e.g. 'claude-code', 'chatgpt', 'cursor-ide'). Do not include personal data. Free-form, max 64 chars."
              },
              "label": {
                "type": "string",
                "maxLength": 64,
                "description": "Optional name stored with the key, such as the client app requesting it (e.g. 'claude-desktop' or 'chatgpt'). Do not include personal data. Not a secret, not validated for uniqueness."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "key"
            ],
            "properties": {
              "key": {
                "type": "string",
                "description": "The anonymous key (prefix 'pk_anon_'), used as the `api_key` argument of the other tools."
              },
              "rate_limit": {
                "type": "object",
                "properties": {
                  "requests_per_day": {
                    "type": "integer"
                  },
                  "requests_per_minute": {
                    "type": "integer"
                  }
                },
                "description": "Quota attached to this key, when the issuer reported one.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get an anonymous key — no account or sign-up",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "An accommodation comparator: consolidates live availability, per-operator pricing, ratings, and listings from multiple booking operators across the global market — millions of properties spanning hotels, B&Bs, apartments, vacation rentals, farmstays, hostels, villas, resorts and similar. One query yields a multi-source price comparison the agent would otherwise have to assemble across separate booking websites; with concrete dates it returns date-specific quotes plus per-operator scarcity signals (rooms left) and free-cancellation flags.\n\nScope: accommodation lookup and booking handoff. Questions about sightseeing, attractions, restaurants, things to do, or general travel advice without a lodging component fall outside what these tools cover — the comparator indexes where to stay, not what to visit.\n\nAuthentication: every tool except `get_anonymous_key` takes an anonymous key in its `api_key` argument. `get_anonymous_key` issues one in-band — free, no account or sign-up — and a key does not expire, so the same key serves later calls in the conversation.\n\nTypical workflow for travel-planning intents — a leisure trip, a weekend, a business stay, a relocation, a longer holiday:\n1. `resolve_destination` turns a place name into a destination id when coordinates are not already known from an earlier call in this session. For region-level intents such as 'Tuscany', 'Pacific Northwest', 'Central Europe', or 'Costa del Sol' `discover_destinations_near` returns a fan of sub-destinations the user can pick from before a focused search.\n2. `search_stays` retrieves a ranked list of options for the user's location and stay parameters. The list bundles property information, pricing, geographic position for mapping, ratings, and optional guest review samples — designed so a single call already covers most \"give me an overview\" intents without chaining further lookups. When the call carries dates, each result also carries a live availability check for that window.\n3. `get_property_details` returns the full static record for a specific property — identified by its id (typically the `id` field from a `search_stays` result, also valid for a property the user has named directly when resolved through `resolve_destination`). Useful to inspect amenities, photos, neighborhood, and guest reviews — request the ratings breakdown and review texts via `include=[\"reviews_aggregate\"]` / `[\"reviews_sample\"]` / `[\"reviews_extended\"]`. It carries no price and runs no availability check unless called with dates; for a live quote use `check_property_availability`.\n4. `check_property_availability` answers 'can the user book this property for these specific dates, and at what price'. Required input: `property_id`, `dates`, `guests`. Returns per-operator live quotes, scarcity signals (rooms left), free-cancellation and breakfast flags, and deeplinks to complete the booking. Use this whenever the user has concrete dates in mind for a property they've already identified; `get_property_details` is for static facts only.\n\nThe tools are designed for compact, structured responses the agent can summarise, plot on a map, or filter further without additional round-trips. The per-result `location.lat` and `location.lon` fields are already populated, so results can be plotted on a map from the same response with no separate lookup. If the user shares a bluepillow.com property link, pass that URL directly as property_id to get_property_details or check_property_availability — the id is extracted automatically."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}