{
  "serverInfo": {
    "name": "BrightArc Solar Agent Server",
    "version": "1.0.0",
    "description": "Model Context Protocol (MCP) server for BrightArc Solutions — sizing rooftop solar systems, retrieving 2026 Pakistan pricing, and verifying LESCO net-metering requirements."
  },
  "transport": {
    "type": "http",
    "url": "https://www.brightarc.pk/api/mcp"
  },
  "capabilities": {
    "tools": {
      "list": true
    },
    "resources": {
      "list": true
    },
    "prompts": {
      "list": true
    }
  },
  "tools": [
    {
      "name": "calculate_solar_system",
      "description": "Calculates recommended solar system capacity in kW, estimated monthly generation in units (kWh), indicative turnkey price, and payback period in Pakistan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "monthly_bill_pkr": {
            "type": "number",
            "description": "Average monthly electricity bill in Pakistani Rupees (PKR)."
          },
          "city": {
            "type": "string",
            "description": "City in Pakistan (e.g. Lahore, Islamabad, Faisalabad, Karachi). Defaults to Lahore."
          },
          "system_type": {
            "type": "string",
            "enum": ["on-grid", "hybrid"],
            "description": "System architecture. On-grid for maximum ROI; Hybrid with LiFePO4 battery for zero load-shedding."
          }
        },
        "required": ["monthly_bill_pkr"]
      }
    },
    {
      "name": "get_system_price",
      "description": "Retrieves the current 2026 indicative turnkey price range, panel count, inverter specifications, and bill coverage for a standard solar package.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "capacity_kw": {
            "type": "number",
            "enum": [3, 5, 7, 10, 15, 20, 50, 100],
            "description": "Solar system capacity in kilowatts (kW)."
          }
        },
        "required": ["capacity_kw"]
      }
    },
    {
      "name": "get_lesco_net_metering_guide",
      "description": "Provides the 7-step walkthrough, required documents, fee breakdown, and estimated approval timeline for LESCO bi-directional green meters in Lahore.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sanctioned_load_kw": {
            "type": "number",
            "description": "Current sanctioned load listed on the consumer electricity bill in kW."
          }
        }
      }
    },
    {
      "name": "request_solar_quote",
      "description": "Transmits consumer rooftop parameters to BrightArc licensed engineers for an on-site solar survey and detailed WhatsApp proposal.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "client_name": { "type": "string", "description": "Full name of customer" },
          "phone_whatsapp": { "type": "string", "description": "Pakistani phone number or WhatsApp (+92...)" },
          "neighborhood": { "type": "string", "description": "Neighborhood/Society (e.g. DHA, Bahria Town, Gulberg, Johar Town)" },
          "monthly_bill_pkr": { "type": "number", "description": "Average monthly bill in PKR" }
        },
        "required": ["client_name", "phone_whatsapp", "monthly_bill_pkr"]
      }
    }
  ]
}
