player_battles

Pack: brawl-stars · Endpoint: https://gateway.pipeworx.io/brawl-stars/mcp

Recent battles.

Parameters

NameTypeRequiredDescription
tagstringyes

Example call

curl -X POST https://gateway.pipeworx.io/brawl-stars/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"player_battles","arguments":{}}}'

Response shape

FieldTypeDescription
itemsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "battleTime": {
            "type": "string",
            "description": "Battle timestamp"
          },
          "event": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "Event ID"
              },
              "mode": {
                "type": "string",
                "description": "Game mode"
              },
              "map": {
                "type": "string",
                "description": "Map name"
              }
            }
          },
          "battle": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "description": "Battle mode"
              },
              "type": {
                "type": "string",
                "description": "Battle type"
              },
              "result": {
                "type": "string",
                "description": "Battle result"
              },
              "duration": {
                "type": "number",
                "description": "Battle duration"
              },
              "trophyChange": {
                "type": "number",
                "description": "Trophy change"
              },
              "players": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Players in battle"
              },
              "teams": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Teams in battle"
              }
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "brawl-stars": {
      "url": "https://gateway.pipeworx.io/brawl-stars/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026