{
  "$schema": "https://spec.modelcontextprotocol.io/schema/server-card.json",
  "name": "mangal-uday-villa",
  "version": "1.0.0",
  "description": "Model Context Protocol (MCP) server for Mangal Uday Villa, a luxury private villa in Jaipur. Exposes tools and resources to check villa accommodations, compute seasonal rates, inspect house policies, and submit booking inquiries.",
  "homepage": "https://mangaludayvilla.com",
  "endpoint": "https://mangaludayvilla.com/api/mcp",
  "capabilities": {
    "tools": {
      "list": [
        {
          "name": "get_villa_overview",
          "description": "Retrieve comprehensive details about Mangal Uday Villa, including suites, capacities, amenities, and location.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          }
        },
        {
          "name": "calculate_rate",
          "description": "Calculate estimated stay charges based on check-in date, check-out date, and total guest count.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkInDate": { "type": "string", "description": "ISO date YYYY-MM-DD" },
              "checkOutDate": { "type": "string", "description": "ISO date YYYY-MM-DD" },
              "guestCount": { "type": "integer", "description": "Number of guests (up to 15)" }
            },
            "required": ["checkInDate", "checkOutDate", "guestCount"]
          }
        },
        {
          "name": "check_policies",
          "description": "Retrieve house rules, pure-vegetarian code, pet rules, and check-in/out policies.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          }
        },
        {
          "name": "submit_inquiry",
          "description": "Create a reservation inquiry message for the villa host with contact details.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": { "type": "string" },
              "phone": { "type": "string" },
              "dates": { "type": "string" },
              "guestCount": { "type": "integer" },
              "message": { "type": "string" }
            },
            "required": ["name", "phone"]
          }
        }
      ]
    },
    "resources": {
      "list": [
        {
          "uri": "villa://overview",
          "name": "Villa Overview and Specifications",
          "mimeType": "text/markdown"
        },
        {
          "uri": "villa://rules",
          "name": "House Rules & Guidelines",
          "mimeType": "text/markdown"
        },
        {
          "uri": "villa://amenities",
          "name": "Complete Estate Amenities",
          "mimeType": "text/markdown"
        }
      ]
    }
  }
}

