{
  "$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
  "version": "1.0",
  "protocolVersion": "2024-11-05",
  "serverInfo": {
    "name": "picklebase-tactical-mcp",
    "title": "PickleBase Tactical MCP Server",
    "version": "1.0.0"
  },
  "description": "Pro-grade Pickleball biomechanics, doubles tactics, 3D court simulation, and DUPR IQ rating engine.",
  "transport": {
    "type": "streamable-http",
    "endpoint": "/api/mcp"
  },
  "authentication": {
    "required": false
  },
  "tools": [
    {
      "name": "search_shot",
      "title": "Search Shot Biomechanics",
      "description": "Look up RPM, contact point, grip, counters, and biomechanics for 16 core shots (including Topspin Drip, Drop, Dink, Erne, ATP, Scorpion).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Shot name or slug (e.g. drip, dink, drop, drive, erne, reset, roll-volley, atp)"
          }
        },
        "required": ["name"]
      }
    },
    {
      "name": "analyze_tactic",
      "title": "Analyze Doubles Tactic",
      "description": "Analyze 7 pro doubles strategies (The Freezer, Anti-Smash Wall, Banana Roll, Chicken Wing, Deep Return, Push Dink, Stacking).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Tactic name or slug (e.g. the-freezer, anti-smash, stacking, chicken-wing)"
          }
        },
        "required": ["name"]
      }
    },
    {
      "name": "calculate_dupr",
      "title": "Calculate DUPR Rating",
      "description": "Estimate player DUPR tactical rating (2.0 to 5.5+) based on match situation answers.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "answers": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Array of user answer choices (e.g. ['A', 'C', 'B', ...])"
          }
        },
        "required": ["answers"]
      }
    },
    {
      "name": "simulate_trajectory",
      "title": "Simulate 3D Ball Trajectory",
      "description": "Compute physical 3D laser flight trajectory, net clearance, apex height, and landing coordinates on court.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "shot": { "type": "string", "description": "Shot type (e.g. drip, dink, drop, drive)" },
          "power": { "type": "number", "description": "Kinetic power percentage (0-100)" },
          "spin_rpm": { "type": "number", "description": "Topspin or backspin RPM (-2500 to +2500)" }
        },
        "required": ["shot"]
      }
    }
  ]
}
