{
  "openapi": "3.1.0",
  "info": {
    "title": "Ballzy cache-only MCP",
    "version": "1.0.0",
    "description": "Read-only tools served from a static snapshot. JSON-RPC at https://ballzygolf.com/mcp-cache. No Firestore on the request path. No PII."
  },
  "servers": [
    {
      "url": "https://ballzygolf.com"
    }
  ],
  "paths": {
    "/mcp-cache": {
      "post": {
        "summary": "MCP Streamable HTTP (JSON-RPC 2.0)",
        "responses": {
          "200": {
            "description": "JSON-RPC response"
          }
        }
      },
      "get": {
        "summary": "MCP discovery",
        "responses": {
          "200": {
            "description": "Server info and tools"
          }
        }
      }
    },
    "/tools/golf_game_rules": {
      "post": {
        "operationId": "golf_game_rules",
        "summary": "Rules and support status for golf formats Ballzy names in the create-round picker or scores in the app.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "game": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result from the cache-only snapshot"
          }
        }
      }
    },
    "/tools/side_bets": {
      "post": {
        "operationId": "side_bets",
        "summary": "Money side games Ballzy can settle (who owes whom; no pot held) and related format notes from the 2026-11-24 code check.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result from the cache-only snapshot"
          }
        }
      }
    }
  }
}
