Skip to main content
Glama

get_game_stats

Retrieve basic game data from the League of Legends client to access current match statistics and player information.

Instructions

Basic data about the game.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:187-195 (handler)
    The handler function for the 'get_game_stats' tool. It is decorated with @mcp.tool() for registration and @with_timeout for error handling. It fetches basic game stats data from the League of Legends live client API endpoint '/liveclientdata/gamestats' using an HTTP client.
    @mcp.tool() @with_timeout async def get_game_stats() -> dict: """ Basic data about the game. """ async with get_lol_client() as client: response = await client.get("/liveclientdata/gamestats") 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