summoner_top_mastery

Pack: riot-games · Endpoint: https://gateway.pipeworx.io/riot-games/mcp

Top N champion mastery.

Parameters

NameTypeRequiredDescription
platformstringyes
puuidstringyes
countnumberno

Example call

Arguments

{
  "platform": "na1",
  "puuid": "player-puuid-123456",
  "count": 5
}

curl

curl -X POST https://gateway.pipeworx.io/riot-games/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"summoner_top_mastery","arguments":{"platform":"na1","puuid":"player-puuid-123456","count":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('summoner_top_mastery', {
  "platform": "na1",
  "puuid": "player-puuid-123456",
  "count": 5
});

Response shape

Always returns: items, count

FieldTypeDescription
itemsarrayTop N champion mastery entries
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "championId": {
            "type": "number",
            "description": "Champion ID"
          },
          "championLevel": {
            "type": "number",
            "description": "Mastery level"
          },
          "championPoints": {
            "type": "number",
            "description": "Mastery points"
          },
          "lastPlayTime": {
            "type": "number",
            "description": "Last play time timestamp"
          }
        }
      },
      "description": "Top N champion mastery entries"
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

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

{
  "mcpServers": {
    "riot-games": {
      "url": "https://gateway.pipeworx.io/riot-games/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026