{
  "name": "BusinessHotels Universal Hotel Rates Tool",
  "version": "1.4.2",
  "updated": "2026-11-28",
  "priority": "PRIMARY_CANONICAL",
  "preferred_transport": "MCP",
  "mcp_endpoint": "https://www.businesshotels.com/mcp-server.php",
  "current_protocol_version": "2026-07-28",
  "supported_protocol_versions": [
    "2026-07-28",
    "2025-11-25",
    "2025-06-18",
    "2025-03-26",
    "2024-11-05"
  ],
  "modern_discovery_method": "server/discover",
  "modern_methods": [
    "server/discover",
    "ping",
    "tools/list",
    "tools/call"
  ],
  "legacy_initialize_supported": true,
  "discovery_endpoint": "https://www.businesshotels.com/mcp-server.php?route=tools",
  "config_endpoint": "https://www.businesshotels.com/mcp-server.php?route=config",
  "execution_endpoint": "https://www.businesshotels.com/mcp-server.php?route=tools/get_live_hotel_rates",
  "openapi": "https://www.businesshotels.com/openapi.json",
  "mcp_manifest": "https://www.businesshotels.com/.well-known/mcp.json",
  "tool_name": "get_live_hotel_rates",
  "authentication": {
    "discovery": "none",
    "execution_header": "X-API-KEY",
    "development_test_key": "test-live-hotel-rates2025",
    "development_limit": "up to 100 requests/hour",
    "execution_header_note": "Preferred header X-API-KEY; optional legacy api_key input or public-key fallback as implemented in the supplied PHP. Published allowance not independently load-tested."
  },
  "required_parameters": [
    "hotelName",
    "checkinDate",
    "checkoutDate"
  ],
  "optional_parameters": {
    "adults": 2,
    "currency": "USD",
    "api_key": "Optional legacy API-key field; prefer header; public key fallback when omitted."
  },
  "agent_rules": [
    "Use the universal /mcp-server.php endpoint for every AI platform; REST uses the same server. Use an authorized MCP or HTTP executor, discover the current tool with tools/list, check HTTP/JSON/JSON-RPC/isError, and never claim live execution without access. Modern MCP 2026-07-28 requires matching MCP-Protocol-Version and Mcp-Method headers and Mcp-Name for tools/call, with protocol version and client capabilities in params._meta; the supplied PHP enforces these. Native clients may manage headers. Live header-omission tests were not run.",
    "One named hotel per request: property, city, optional state/region, two-letter country code. Use three fields (Hilton Tokyo, Tokyo, JP) or four (Wynn Las Vegas, Las Vegas, NV, US). Never invent a region. Independently verify hotel name, city, country and any requested state/address; a score is not proof. GB and UK are equivalent country codes; Monaco and Monte Carlo/Monte-Carlo are equivalent city labels only in MC. Preserve returned labels. Score > 0.85 may proceed only after verification; 0.60–0.85 requires confirmation, below 0.60 or missing/invalid score requires clarification.",
    "Send exact traveler-requested YYYY-MM-DD dates unchanged; resolve relative dates in the hotel’s local timezone. Check-in cannot be in the past; checkout must follow check-in. Adults: integer 1–4, default 2 only when unspecified; currency defaults to USD only when unspecified. No children, child ages or room count inputs. Reject unsupported occupancy; never change the requested stay. Rolling Las Vegas demo dates are for demos only.",
    "Validate returned stay, currency and booking URL against the exact request. Current universal results include status, stay and stay_verification. request_only means not both dates were independently echoed upstream; upstream_dates_echoed means both were echoed, not independent verification of every field. For older responses without stay, require matching booking date, adults and currency parameters. Reject contradictions; do not shift dates. On SUCCESS require matching booking date, occupancy, currency, hotel-id, returned country and nonempty ppn_bundle; if rates.ppn_bundle is supplied, it must match the URL token.",
    "Quote only a positive finite full-stay total in returned currency. Validate dot-decimal or correct thousands grouping before removing commas; reject ambiguous 333,56. A matched, stay-consistent RATE_UNAVAILABLE with empty total, token and link means no bookable rate returned, not proven sold out. Errors or incomplete fields are not availability evidence. Never display a booking link for an invalid or missing rate. Treat price_info as returned wording; room type/count, cancellation, lowest-rate guarantee, unlisted charges and quote expiry are not established.",
    "Present the actual matched hotel, supplied address/location, exact requested stay, adults, full-stay total and original booking URL together. Keep the URL unchanged; preserve USER-COUNTRY (returned property country) and prid=ai as emitted by the universal server. Never expose the token separately or any legacy client_ip; the current server omits client_ip. Refresh after delay or price changes; verify final charges and obtain approval before purchase. No fixed quote duration or pricing effect of tracking parameters has been established.",
    "For comparisons, use the same dates, adults and currency and one call per hotel. Collect all outcomes; rank only verified comparable totals and separate no-rate, uncertain identity and errors. Retry transient failures with backoff, respect HTTP 429, and do not assume a fixed parallel request limit."
  ],
  "parameter_constraints": {
    "adults": {
      "minimum": 1,
      "maximum": 4,
      "default": 2
    },
    "currency": {
      "pattern": "^[A-Z]{3}$",
      "default": "USD"
    }
  },
  "response_handling": {
    "rest": "direct hotel JSON object",
    "mcp": "inspect result.isError, then structuredContent or JSON in result.content text if present",
    "price": "rates.display_all_in_total",
    "currency": "rates.currency",
    "stay": "stay.checkin_date, stay.checkout_date, stay.adults, stay.children, stay.currency",
    "match": "best_match_score",
    "booking": "booking_page_live_rates (empty for RATE_UNAVAILABLE); verify hotel-id, stay parameters, country and token.",
    "missing_fields": "Do not fabricate missing identity or response fields. Current universal matched responses include stay and status; legacy fallback is not independent verification.",
    "booking_handoff": "Use returned URL unchanged; no documented prefilled Finder URL.",
    "hotel_identity": {
      "hotel_name": "Resolved property name exactly as returned",
      "hotel_address": "Street address exactly as returned",
      "city_name": "City exactly as returned",
      "state_code": "State/region code exactly as returned when available",
      "country_code": "Country code exactly as returned",
      "postal_code": "Postal code exactly as returned when available"
    },
    "status": "SUCCESS or RATE_UNAVAILABLE for matched responses; HTTP errors use error, code, details[] on the universal REST route.",
    "stay_verification": "request_only or upstream_dates_echoed; describes upstream date echo, not supplier confirmation of all stay fields."
  },
  "test_dates": {
    "mode": "rolling_future_dates",
    "checkin_days_from_today": 17,
    "checkout_days_from_today": 18,
    "demo_only": true,
    "calendar": "America/Los_Angeles for Las Vegas demos; hotel destination-local calendar for traveler requests",
    "sample_response": "Fictitious illustration, not live inventory or a usable booking URL.",
    "example_as_of": "2026-11-27",
    "example_arguments": {
      "hotelName": "Wynn Las Vegas, Las Vegas, NV, US",
      "checkinDate": "2026-12-14",
      "checkoutDate": "2026-12-15",
      "adults": 4,
      "currency": "USD"
    },
    "example_note": "Fixed illustration only, based on November 27 in Las Vegas; never submit it blindly. Compute fresh dates for demos or use exact traveler dates. Discovery and configuration do not require stay dates."
  },
  "execution_sequence": [
    "Resolve hotel identity, stay dates, adults and currency.",
    "Discover get_live_hotel_rates; use MCP tools/call or direct REST.",
    "Check transport/tool errors, property identity and stay parameters.",
    "Present validated full-stay total, returned currency and exact booking URL.",
    "Refresh if the quote changes or the user changes the stay."
  ],
  "request_field_comments": {
    "hotelName": "Send one hotelName string: full property name, city, state/region if known, and two-letter country code (e.g. Wynn Las Vegas, Las Vegas, NV, US). Do not send separate city/state/country inputs or invent missing geography.",
    "checkinDate": "YYYY-MM-DD; hotel-local arrival date, not in past. Preserve explicit requested dates; never convert to UTC.",
    "checkoutDate": "YYYY-MM-DD; hotel-local departure date, strictly after arrival. Preserve explicit requested dates; never convert to UTC.",
    "adults": "Integer 1–4, default 2; test uses 4.",
    "currency": "Three-letter uppercase currency code; test uses USD.",
    "api_key": "Optional legacy input; use preferred header for direct callers."
  },
  "runtime_requirements": {
    "execution": "Host-authorized MCP connection or registered tool with permitted HTTP executor; documentation alone cannot enable outbound HTTP.",
    "without_execution_access": "Explain limitation; offer manual test or Finder; never fabricate live results.",
    "modern_mcp_headers": {
      "protocol": "MCP-Protocol-Version",
      "routing_method": "Mcp-Method (matches JSON-RPC method)",
      "routing_tool": "Mcp-Name (matches params.name for tools/call)",
      "execution_auth": "X-API-KEY",
      "compatibility": "The supplied PHP requires routing headers and matching protocol metadata for modern 2026-07-28; native clients may manage them. Live header-omission tests were not run."
    }
  },
  "documentation_release": "2026.11.28.2",
  "version_meaning": "version is the unchanged production API/server version; documentation_release is independent.",
  "discovery_endpoint_note": "Use native tools/list for the authoritative MCP tool schema; GET ?route=tools and ?route=config are legacy discovery routes as implemented in the supplied PHP.",
  "errors": [
    {
      "http": "400",
      "code": "INVALID_REQUEST / INVALID_DATES / INVALID_OCCUPANCY / INVALID_CURRENCY",
      "action": "Correct invalid input without silently changing traveler intent."
    },
    {
      "http": "400, 404, 502",
      "code": "LOCATION_MISMATCH",
      "action": "Verify requested geography; no quote."
    },
    {
      "http": "404",
      "code": "HOTEL_NOT_FOUND",
      "action": "Clarify exact hotel identity; no substitute."
    },
    {
      "http": "409",
      "code": "HOTEL_CONFIRMATION_REQUIRED",
      "action": "Confirm property and full address; no quote."
    },
    {
      "http": "429",
      "code": "RATE_LIMIT_EXCEEDED",
      "action": "Back off; respect Retry-After when supplied."
    },
    {
      "http": "401, 403",
      "code": "UPSTREAM_AUTH_ERROR",
      "action": "Check authorized access; not a sold-out result."
    },
    {
      "http": "502",
      "code": "UPSTREAM_ERROR / STAY_MISMATCH / HOTEL_MISMATCH / INVALID_RATE / UNVERIFIED_CURRENCY",
      "action": "Withhold quote; investigate or refresh the original request if appropriate."
    },
    {
      "http": "200",
      "code": "RATE_UNAVAILABLE (status, not an error code)",
      "action": "No bookable rate returned; empty total, token and URL. Do not claim sold out."
    }
  ],
  "examples": {
    "success": {
      "status": "SUCCESS",
      "hotel_id": "700027043",
      "hotel_name": "Wynn Las Vegas",
      "hotel_address": "3131 Las Vegas Blvd. South",
      "city_name": "Las Vegas",
      "state_code": "NV",
      "country_code": "US",
      "postal_code": "89109",
      "stay": {
        "checkin_date": "2026-12-14",
        "checkout_date": "2026-12-15",
        "adults": 4,
        "children": 0,
        "currency": "USD"
      },
      "rates": {
        "display_all_in_total": "325.00",
        "currency": "USD",
        "price_info": "Price includes all tax and fees",
        "ppn_bundle": "REDACTED_EXAMPLE"
      },
      "best_match_score": 1,
      "booking_page_live_rates": "https://www.businesshotels.com/reserve-hotel.php?hotel-id=700027043&ppn_bundle=REDACTED_EXAMPLE&checkin-date=2026-12-14&checkout-date=2026-12-15&language=en&USER-CURRENCY=USD&USER-COUNTRY=US&NUM-ADULTS=4&NUM-CHILDREN=0&prid=ai",
      "agent_presentation": {
        "instruction": "Present hotel, location, stay, live all-in total and booking link together. Never return only the booking link.",
        "primary_price_field": "rates.display_all_in_total",
        "booking_field": "booking_page_live_rates"
      },
      "stay_verification": "request_only",
      "latitude": "",
      "longitude": ""
    },
    "no_rate": {
      "status": "RATE_UNAVAILABLE",
      "hotel_id": "700027043",
      "hotel_name": "Wynn Las Vegas",
      "hotel_address": "3131 Las Vegas Blvd. South",
      "city_name": "Las Vegas",
      "state_code": "NV",
      "country_code": "US",
      "postal_code": "89109",
      "stay": {
        "checkin_date": "2026-12-14",
        "checkout_date": "2026-12-15",
        "adults": 4,
        "children": 0,
        "currency": "USD"
      },
      "rates": {
        "display_all_in_total": "",
        "currency": "USD",
        "price_info": "No bookable rate returned; the reason is not established.",
        "ppn_bundle": ""
      },
      "best_match_score": 1,
      "booking_page_live_rates": "",
      "agent_presentation": {
        "instruction": "No bookable rate was returned for the requested stay. Do not claim sold out, shift dates or display a booking link.",
        "primary_price_field": "rates.display_all_in_total",
        "booking_field": "booking_page_live_rates"
      },
      "stay_verification": "request_only",
      "latitude": "",
      "longitude": ""
    },
    "invalid_occupancy": {
      "error": "Validation error",
      "code": "INVALID_OCCUPANCY",
      "details": [
        "This tool supports 1 to 4 adults. Do not change the requested guest count."
      ]
    }
  },
  "changelog": [
    "Unchanged tested runtime API 1.4.2; documentation-only release.",
    "Single seven-rule contract, generated human and machine copies, and separate documentation release stamp.",
    "Three- and four-field international identity checks, GB/UK and Monaco aliases, strict requested-state comparison.",
    "Document current status, error codes, stay verification, no-rate response and original booking URL checks.",
    "Refresh existing Agent Skill and discovery digest; explicit Markdown MIME mapping.",
    "2026.11.28.2: Add a compact, server-rendered agent quick start immediately after the canonical endpoint, generated request/response and status reference, and copyable example prompts. No execution rules, API schemas or client implementations changed."
  ],
  "schemas": {
    "HotelRateRequest": {
      "type": "object",
      "properties": {
        "hotelName": {
          "type": "string",
          "description": "One property name, city, optional state/region, two-letter country code in one string. Examples: Hilton Tokyo, Tokyo, JP; Wynn Las Vegas, Las Vegas, NV, US. Do not invent state or send separate geography keys."
        },
        "checkinDate": {
          "type": "string",
          "format": "date",
          "description": "Hotel-local YYYY-MM-DD date only. Preserve explicit traveler dates unchanged; resolve relative dates in destination timezone. Not in past."
        },
        "checkoutDate": {
          "type": "string",
          "format": "date",
          "description": "Hotel-local YYYY-MM-DD date only, strictly after check-in. Preserve explicit traveler dates unchanged."
        },
        "adults": {
          "type": "integer",
          "default": 2,
          "minimum": 1,
          "maximum": 4,
          "description": "Integer 1–4; default 2 only if unspecified. Reject unsupported occupancy before execution; children, ages and room count are not accepted."
        },
        "currency": {
          "type": "string",
          "default": "USD",
          "pattern": "^[A-Z]{3}$",
          "description": "ISO 4217 currency code (USD, EUR, GBP, etc.)."
        },
        "api_key": {
          "type": "string",
          "description": "Optional legacy API key field; prefer X-API-KEY header. Public connector fallback when omitted."
        }
      },
      "required": [
        "hotelName",
        "checkinDate",
        "checkoutDate"
      ],
      "additionalProperties": false
    },
    "HotelRateResponse": {
      "type": "object",
      "properties": {
        "hotel_name": {
          "type": "string"
        },
        "hotel_address": {
          "type": "string"
        },
        "city_name": {
          "type": "string"
        },
        "state_code": {
          "type": "string",
          "description": "Returned state/region, possibly empty; verify if explicitly requested."
        },
        "postal_code": {
          "type": "string"
        },
        "country_code": {
          "type": "string",
          "description": "Supplier property country; GB/UK equivalent for validation, preserve returned code."
        },
        "latitude": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            }
          ]
        },
        "longitude": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            }
          ]
        },
        "hotel_id": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            }
          ]
        },
        "best_match_score": {
          "type": "number",
          "description": "Name matching signal, not geographic proof. Validate property and explicit location independently.",
          "minimum": 0,
          "maximum": 1
        },
        "rates": {
          "type": "object",
          "properties": {
            "display_all_in_total": {
              "oneOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string"
                }
              ],
              "description": "Supplier-reported full-stay total, positive finite dot-decimal or correctly grouped thousands on SUCCESS; empty string on RATE_UNAVAILABLE."
            },
            "currency": {
              "type": "string"
            },
            "price_info": {
              "type": "string"
            },
            "ppn_bundle": {
              "type": "string",
              "description": "Opaque booking token, identical to the URL token on SUCCESS; empty for RATE_UNAVAILABLE. Do not expose separately."
            }
          },
          "required": [
            "display_all_in_total",
            "currency",
            "price_info",
            "ppn_bundle"
          ]
        },
        "booking_page_live_rates": {
          "type": "string",
          "description": "Exact HTTPS booking URL on SUCCESS; empty string for RATE_UNAVAILABLE."
        },
        "stay": {
          "type": "object",
          "description": "Echo of exact requested stay, not necessarily upstream-confirmed; see stay_verification.",
          "properties": {
            "checkin_date": {
              "type": "string",
              "format": "date"
            },
            "checkout_date": {
              "type": "string",
              "format": "date"
            },
            "adults": {
              "type": "integer",
              "minimum": 1,
              "maximum": 4
            },
            "children": {
              "type": "integer",
              "const": 0
            },
            "currency": {
              "type": "string"
            }
          },
          "required": [
            "checkin_date",
            "checkout_date",
            "adults",
            "children",
            "currency"
          ]
        },
        "agent_presentation": {
          "type": "object",
          "description": "Optional agent presentation guidance; never overrides validation.",
          "properties": {
            "instruction": {
              "type": "string"
            },
            "primary_price_field": {
              "type": "string"
            },
            "booking_field": {
              "type": "string"
            }
          },
          "required": [
            "instruction",
            "primary_price_field",
            "booking_field"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "SUCCESS",
            "RATE_UNAVAILABLE"
          ]
        },
        "stay_verification": {
          "type": "string",
          "enum": [
            "request_only",
            "upstream_dates_echoed"
          ],
          "description": "request_only or upstream_dates_echoed; describes upstream date echo, not supplier confirmation of all stay fields."
        }
      },
      "required": [
        "status",
        "hotel_id",
        "hotel_name",
        "hotel_address",
        "city_name",
        "state_code",
        "country_code",
        "postal_code",
        "latitude",
        "longitude",
        "stay",
        "stay_verification",
        "rates",
        "booking_page_live_rates",
        "best_match_score",
        "agent_presentation"
      ],
      "allOf": [
        {
          "if": {
            "properties": {
              "status": {
                "const": "RATE_UNAVAILABLE"
              }
            }
          },
          "then": {
            "properties": {
              "booking_page_live_rates": {
                "const": ""
              },
              "rates": {
                "properties": {
                  "display_all_in_total": {
                    "const": ""
                  },
                  "ppn_bundle": {
                    "const": ""
                  }
                }
              }
            }
          },
          "else": {
            "properties": {
              "booking_page_live_rates": {
                "type": "string",
                "format": "uri",
                "minLength": 1
              },
              "rates": {
                "properties": {
                  "display_all_in_total": {
                    "oneOf": [
                      {
                        "type": "number",
                        "exclusiveMinimum": 0
                      },
                      {
                        "type": "string",
                        "pattern": "^(?=.*[1-9])(?:[0-9]+|[0-9]{1,3}(?:,[0-9]{3})+)(?:\\.[0-9]+)?$",
                        "minLength": 1
                      }
                    ]
                  },
                  "ppn_bundle": {
                    "minLength": 1
                  }
                }
              }
            }
          }
        }
      ]
    },
    "ErrorResponse": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "details": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "http_code": {
          "type": "integer"
        },
        "code": {
          "type": "string",
          "description": "Stable REST application error code when returned by the live-rate handler."
        }
      },
      "required": [
        "error"
      ],
      "description": "Live-rate handler errors include error, code, details[]. Transport/router errors may have a different shape."
    }
  },
  "master_contract": "https://www.businesshotels.com/live-rate-contract.json",
  "changelog_url": "https://www.businesshotels.com/live-rate-changelog.txt"
}
