openapi: 3.1.0
info:
  title: BusinessHotels Live Rates
  description: Get real-time hotel prices, addresses, and booking links.
  version: 1.0.0
servers:
  - url: https://www.businesshotels.com
paths:
  /mcp-server.php:
    post:
      operationId: getLiveRates
      summary: Get hotel rates by name and dates
      parameters:
        - name: route
          in: query
          required: true
          schema:
            type: string
            default: "tools/get_live_hotel_rates"
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - hotelName
                - checkinDate
                - checkoutDate
              properties:
                hotelName:
                  type: string
                  description: "Full hotel name and city. Example: 'Luxor Las Vegas'"
                checkinDate:
                  type: string
                  description: "Check-in date in YYYY-MM-DD format"
                checkoutDate:
                  type: string
                  description: "Check-out date in YYYY-MM-DD format"
                adults:
                  type: integer
                  default: 2
                currency:
                  type: string
                  default: "USD"
                api_key:
                  type: string
                  default: "test-live-hotel-rates2025"
      responses:
        '200':
          description: Successful response with rates and booking link.
          content:
            application/json:
              schema:
                type: object
                properties:
                  hotel_name:
                    type: string
                  display_all_in_total:
                    type: string
                  booking_page_live_rates:
                    type: string