Skip to main content
Glama

get_active_player_runes

Retrieve the active player's rune list in League of Legends using this tool. Access and analyze in-game data to enhance strategy and performance.

Instructions

Retrieve the full list of runes for the active player.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:112-118 (handler)
    The core handler function implementing the 'get_active_player_runes' tool. It asynchronously fetches the runes data for the active player from the League of Legends live client API endpoint '/liveclientdata/activeplayerrunes', with timeout handling via decorator.
    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()
  • main.py:110-110 (registration)
    Registers the 'get_active_player_runes' tool in the FastMCP server using the @mcp.tool() decorator. The tool name is derived from the function name.
    @mcp.tool()

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