Skip to main content
Glama

get_active_player_abilities

Retrieve active player abilities in real-time using the League of Legends Live Client Data API. Access key in-game data to enhance strategy and gameplay analysis.

Instructions

Get Abilities for the active player.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:99-99 (registration)
    Registers the get_active_player_abilities tool using the FastMCP @mcp.tool() decorator.
    @mcp.tool()
  • main.py:101-107 (handler)
    The main handler function that fetches the active player's abilities from the League of Legends live client API endpoint and returns the JSON response.
    async def get_active_player_abilities() -> dict: """ Get Abilities for the active player. """ async with get_lol_client() as client: response = await client.get("/liveclientdata/activeplayerabilities") return response.json()
  • Applies the timeout decorator to handle potential connection and timeout errors in the tool handler.
    @with_timeout

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