{
  "mcp": {
    "version": "1.0.0",
    "name": "Scale My Hotel Web Agent Service",
    "description": "Exposes hospitality growth calculators and template generation APIs to AI agents.",
    "transports": [
      {
        "type": "http",
        "url": "https://scalemyhotel.com/api"
      }
    ],
    "capabilities": {
      "tools": {
        "list": [
          {
            "name": "calculate_direct_booking_roi",
            "description": "Calculates potential direct booking savings and ROI based on rooms count, ADR, occupancy, OTA commission, and OTA share.",
            "inputSchema": {
              "type": "object",
              "properties": {
                "rooms": {
                  "type": "number",
                  "description": "Number of keys/rooms in the hotel"
                },
                "adr": {
                  "type": "number",
                  "description": "Average Daily Rate (ADR) in INR"
                },
                "occupancy": {
                  "type": "number",
                  "description": "Average occupancy percentage (e.g. 70)"
                },
                "otaCommission": {
                  "type": "number",
                  "description": "Average commission rate charged by OTAs in percentage (e.g. 18)"
                },
                "otaShare": {
                  "type": "number",
                  "description": "Percentage of bookings originating from OTAs (e.g. 80)"
                }
              },
              "required": [
                "rooms",
                "adr",
                "occupancy",
                "otaCommission",
                "otaShare"
              ]
            }
          },
          {
            "name": "generate_guest_review_response",
            "description": "Generates a professional, personalized response to a guest review using AI.",
            "inputSchema": {
              "type": "object",
              "properties": {
                "reviewText": {
                  "type": "string",
                  "description": "Full text of the guest review to respond to"
                },
                "sentiment": {
                  "type": "string",
                  "enum": [
                    "positive",
                    "neutral",
                    "negative"
                  ],
                  "description": "Sentiment of the guest review"
                },
                "guestName": {
                  "type": "string",
                  "description": "Name of the guest (optional)"
                }
              },
              "required": [
                "reviewText",
                "sentiment"
              ]
            }
          },
          {
            "name": "generate_whatsapp_template",
            "description": "Generates custom guest-communication templates for WhatsApp.",
            "inputSchema": {
              "type": "object",
              "properties": {
                "hotelName": {
                  "type": "string",
                  "description": "Name of the hotel"
                },
                "templateType": {
                  "type": "string",
                  "description": "The category of templates to generate (e.g. booking_confirmation, pre_arrival, check_in_instructions, feedback_request)"
                }
              },
              "required": [
                "hotelName",
                "templateType"
              ]
            }
          }
        ]
      }
    }
  }
}