Riot Games · Capability

Riot Games League of Legends API — Clash

Riot Games League of Legends API — Clash. 1 operations. Lead operation: Get Clash Players By PUUID. Self-contained Naftiko capability covering one Riot Games business surface.

Run with Naftiko Riot GamesClash

What You Can Do

GET
Getclashplayersbypuuid — Get Clash Players By PUUID
/v1/lol/clash/v1/players/by-puuid/{puuid}

MCP Tools

get-clash-players-puuid

Get Clash Players By PUUID

read-only idempotent

Capability Spec

league-of-legends-clash.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Riot Games League of Legends API — Clash
  description: 'Riot Games League of Legends API — Clash. 1 operations. Lead operation: Get Clash Players By PUUID. Self-contained
    Naftiko capability covering one Riot Games business surface.'
  tags:
  - Riot Games
  - Clash
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RIOT_GAMES_API_KEY: RIOT_GAMES_API_KEY
capability:
  consumes:
  - type: http
    namespace: league-of-legends-clash
    baseUri: https://na1.api.riotgames.com
    description: Riot Games League of Legends API — Clash business capability. Self-contained, no shared references.
    resources:
    - name: lol-clash-v1-players-by-puuid-puuid
      path: /lol/clash/v1/players/by-puuid/{puuid}
      operations:
      - name: getclashplayersbypuuid
        method: GET
        description: Get Clash Players By PUUID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: puuid
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: X-Riot-Token
      value: '{{env.RIOT_GAMES_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: league-of-legends-clash-rest
    port: 8080
    description: REST adapter for Riot Games League of Legends API — Clash. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/lol/clash/v1/players/by-puuid/{puuid}
      name: lol-clash-v1-players-by-puuid-puuid
      description: REST surface for lol-clash-v1-players-by-puuid-puuid.
      operations:
      - method: GET
        name: getclashplayersbypuuid
        description: Get Clash Players By PUUID
        call: league-of-legends-clash.getclashplayersbypuuid
        with:
          puuid: rest.puuid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: league-of-legends-clash-mcp
    port: 9090
    transport: http
    description: MCP adapter for Riot Games League of Legends API — Clash. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-clash-players-puuid
      description: Get Clash Players By PUUID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: league-of-legends-clash.getclashplayersbypuuid
      with:
        puuid: tools.puuid
      outputParameters:
      - type: object
        mapping: $.