{
  "$schema": "https://modelcontextprotocol.io/schema/server-card.json",
  "serverInfo": {
    "name": "tarvaa-new-energy",
    "version": "1.0.0",
    "description": "Model Context Protocol tools for Tarvaa New Energy (a unit of Tarvaa Ventures). Enables AI agents to calculate solar rooftop savings, look up PM Surya Ghar subsidies, and schedule engineering site surveys in Maharashtra (Nashik, Bhusawal, Nagpur)."
  },
  "transport": {
    "type": "http",
    "endpoint": "https://tarvaa.in/api/mcp"
  },
  "discovery": {
    "dnsAid": "_index._agents.tarvaa.in",
    "apiCatalog": "https://tarvaa.in/.well-known/api-catalog",
    "llmsTxt": "https://tarvaa.in/llms.txt"
  },
  "capabilities": {
    "tools": [
      {
        "name": "calculate_solar_savings",
        "description": "Calculate estimated solar rooftop system capacity in kW, annual generation in units (kWh), annual financial savings in INR, and PM Surya Ghar subsidy for residential and commercial premises in Maharashtra.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "monthly_bill": {
              "type": "number",
              "description": "Average monthly electricity bill in Indian Rupees (INR)"
            },
            "customer_type": {
              "type": "string",
              "enum": ["residential", "commercial", "industrial", "housing_society"],
              "description": "Premises electricity tariff category"
            },
            "district": {
              "type": "string",
              "enum": ["Nashik", "Bhusawal", "Nagpur", "Other Maharashtra"],
              "description": "District in Maharashtra for DISCOM (MSEDCL) net-metering alignment"
            }
          },
          "required": ["monthly_bill", "customer_type"]
        }
      },
      {
        "name": "get_subsidy_details",
        "description": "Retrieve official PM Surya Ghar: Muft Bijli Yojana Central Government subsidy slabs and eligibility criteria for Maharashtra residential consumers.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "system_capacity_kw": {
              "type": "number",
              "description": "Planned solar system capacity in kW"
            }
          },
          "required": ["system_capacity_kw"]
        }
      },
      {
        "name": "request_site_survey",
        "description": "Book a certified solar engineer for a physical rooftop load assessment, shade analysis, and customized 3D solar proposal in Maharashtra.",
        "inputSchema": {
          "type": "object",
          "properties": {
            "full_name": { "type": "string" },
            "phone": { "type": "string", "description": "10-digit Indian mobile number" },
            "city": { "type": "string", "description": "City or town in Maharashtra (e.g., Nashik, Bhusawal, Nagpur)" },
            "monthly_bill": { "type": "number" }
          },
          "required": ["full_name", "phone", "city"]
        }
      }
    ],
    "resources": [
      {
        "uri": "tarvaa://knowledge/pm-surya-ghar-guide",
        "name": "PM Surya Ghar Maharashtra Rooftop Solar Subsidy Guide",
        "mimeType": "text/markdown",
        "description": "Complete breakdown of subsidy slabs (₹30,000 for 1kW, ₹60,000 for 2kW, ₹78,000 for 3kW+), net metering with Mahavitaran (MSEDCL), and document checklist."
      },
      {
        "uri": "tarvaa://knowledge/company-profile",
        "name": "Tarvaa New Energy Company Profile & Certifications",
        "mimeType": "text/markdown",
        "description": "Company registration, parent entity (Tarvaa Ventures), registered vendor details, tier-1 equipment partnerships (Tata Power Solar, Adani Solar, Waaree, Polycab, Sungrow), and service areas."
      }
    ]
  }
}
