Skip to main content
Glama

get_active_player_runes

Retrieve the active player's current rune setup from the League of Legends client to analyze gameplay configuration.

Instructions

Retrieve the full list of runes for the active player.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:110-118 (handler)
    The handler function implementing the 'get_active_player_runes' MCP tool. It uses the @mcp.tool() decorator for registration and @with_timeout decorator for error handling. Fetches the active player's runes from the League of Legends live client API endpoint.
    @mcp.tool() @with_timeout async def get_active_player_runes() -> dict: """ Retrieve the full list of runes for the active player. """ async with get_lol_client() as client: response = await client.get("/liveclientdata/activeplayerrunes") return response.json()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnnyinlee/lol-client-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server