{
  "serverInfo": {
    "name": "Diminished Value Alliance API",
    "version": "1.0.0",
    "description": "API for diminished value claim assistance and demand letter generation"
  },
  "transport": {
    "type": "http",
    "endpoint": "https://valueafterrepairs.com/api"
  },
  "capabilities": {
    "tools": [
      {
        "name": "check_eligibility",
        "description": "Check if a user qualifies for a diminished value claim",
        "inputSchema": {
          "type": "object",
          "properties": {
            "state": {
              "type": "string",
              "description": "US state where accident occurred"
            },
            "vehicle_year": {
              "type": "integer",
              "description": "Vehicle model year"
            },
            "repair_cost": {
              "type": "number",
              "description": "Total repair cost in USD"
            },
            "at_fault": {
              "type": "boolean",
              "description": "Whether claimant was at fault"
            }
          },
          "required": ["state", "vehicle_year", "repair_cost", "at_fault"]
        }
      },
      {
        "name": "decode_vin",
        "description": "Decode a Vehicle Identification Number to get vehicle details",
        "inputSchema": {
          "type": "object",
          "properties": {
            "vin": {
              "type": "string",
              "description": "17-character VIN"
            }
          },
          "required": ["vin"]
        }
      },
      {
        "name": "get_state_laws",
        "description": "Get diminished value laws and deadlines for a specific state",
        "inputSchema": {
          "type": "object",
          "properties": {
            "state": {
              "type": "string",
              "description": "US state abbreviation"
            }
          },
          "required": ["state"]
        }
      }
    ],
    "resources": [
      {
        "name": "blog_articles",
        "description": "Educational articles about diminished value claims",
        "uri": "/api/articles"
      }
    ]
  }
}
