{
    "name": "ScrapDukaan Model Context Protocol (WebMCP) Server",
    "version": "1.0.0",
    "status": "online",
    "protocolVersion": "2024-11-05",
    "endpoints": {
        "json_rpc_2_0": "POST /mcp_server.php",
        "discovery_manifest": "/.well-known/mcp.json"
    },
    "tools": [
        {
            "name": "get_scrap_valuation",
            "description": "Calculates estimated scrap valuation quote for a vehicle (car, bike, commercial) based on make, model, registration year, fuel type, and condition in Pune / Maharashtra.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "vehicleType": {
                        "type": "string",
                        "enum": [
                            "car",
                            "bike",
                            "commercial"
                        ],
                        "description": "Type of vehicle: car, bike, or commercial truck/van"
                    },
                    "brand": {
                        "type": "string",
                        "description": "Make or manufacturer of vehicle (e.g. Maruti, Hyundai, Honda, Tata, Mahindra, Bajaj)"
                    },
                    "model": {
                        "type": "string",
                        "description": "Model of vehicle (e.g. Swift, City, Activa, Ace, Pulsar)"
                    },
                    "regYear": {
                        "type": "integer",
                        "description": "Registration year of vehicle (e.g. 2008, 2012)"
                    },
                    "fuelType": {
                        "type": "string",
                        "enum": [
                            "Petrol",
                            "Diesel",
                            "CNG",
                            "Electric"
                        ],
                        "description": "Fuel type of vehicle"
                    },
                    "condition": {
                        "type": "string",
                        "enum": [
                            "Running",
                            "Non-Running",
                            "Scrap/Accidental"
                        ],
                        "description": "Current physical & mechanical condition of the vehicle"
                    }
                },
                "required": [
                    "vehicleType"
                ]
            }
        },
        {
            "name": "get_metal_rates",
            "description": "Returns live mandi scrap rates per kg for ferrous iron, copper, brass, aluminium, stainless steel 304, and lead acid batteries in Pune / Maharashtra.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "category": {
                        "type": "string",
                        "description": "Optional category filter: iron, steel, copper, brass, aluminium, ss, battery"
                    }
                }
            }
        },
        {
            "name": "get_contact_info",
            "description": "Returns official ScrapDukaan company identity, contact numbers (+91 7024317024), Katraj-Kondhwa yard address in Pune, Kasba Peth city branch, founders info, and operating hours.",
            "inputSchema": {
                "type": "object",
                "properties": []
            }
        },
        {
            "name": "submit_scrap_lead",
            "description": "Submits a new scrap vehicle or metal lead for free doorstep pickup and instant payout quote in Pune / PCMC.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "customerName": {
                        "type": "string",
                        "description": "Name of customer or vehicle owner"
                    },
                    "mobileNumber": {
                        "type": "string",
                        "description": "10-digit mobile contact number"
                    },
                    "location": {
                        "type": "string",
                        "description": "Area or address in Pune / PCMC (e.g. Katraj, Kothrud, Hadapsar, Wakad, Hinjewadi)"
                    },
                    "vehicleOrMetalDetails": {
                        "type": "string",
                        "description": "Description of vehicle or scrap metal (e.g. 2008 Maruti Swift Petrol or 500kg Heavy Iron Scrap)"
                    }
                },
                "required": [
                    "customerName",
                    "mobileNumber"
                ]
            }
        }
    ]
}