Skip to main content
Glama

Start buffering LCU events

lol_events_start
Idempotent

Open a WebSocket event tap to buffer live League Client Create/Update/Delete notifications in memory for real-time monitoring of champ select, gameflow, or lobby updates. Poll via lol_events_poll.

Instructions

Open the League Client WebSocket event tap and buffer live OnJsonApiEvent Create/Update/Delete notifications in memory. Use this tool to monitor real-time client state changes (such as champ select progress, gameflow phase, or lobby party updates). To poll buffered events, call lol_events_poll. To record raw WAMP frames with socket lifecycle diagnostics, use lol_wamp_record_start instead. For static game assets, use lol_static instead. Behavior: Ring buffer evicts oldest events after buffer limit is reached. Calling while running updates URI filters and preserves already buffered events. Prerequisite: League client must be running.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoArray of URI prefix filters applied at ingest (e.g. ["/lol-champ-select/", "/lol-gameflow/"]); omit for unfiltered firehose

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • changedInput schema / properties / filters / description
      Previous value: -"URI prefixes, e.g. [\"/lol-champ-select/\", \"/lol-gameflow/\"]"New value: +"Array of URI prefix filters applied at ingest (e.g. [\"/lol-champ-select/\", \"/lol-gameflow/\"]); omit for unfiltered firehose"
  2. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already disclose the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), and the description adds substantial behavioral context beyond them: in-memory ring-buffer eviction, the fact that calling while running updates URI filters and preserves buffered events, and the client-running prerequisite.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with its core purpose, then proceeds through usage, alternatives, behavior, and prerequisite in a dense but well-structured way. Every sentence provides routing or behavioral value, and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter start-buffering tool with no output schema, the description covers what the tool opens, what it buffers, how to consume the buffer, competing alternatives, ring-buffer limits, update behavior, and the client prerequisite. Nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the filter parameter's syntax and default behavior are already documented. The description still adds meaning beyond the schema by clarifying that calling while running updates URI filters without discarding already buffered events, which is a useful lifecycle detail for that parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: opening the League Client WebSocket event tap and buffering live OnJsonApiEvent Create/Update/Delete notifications. It explicitly distinguishes this tool from lol_events_poll, lol_wamp_record_start, and lol_static, so an agent can route correctly without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear when-to-use guidance for monitoring real-time client state changes and names concrete examples such as champ select, gameflow, and lobby updates. It also routes agents to alternatives for polling, raw WAMP recording, and static assets, and states the prerequisite that the League client must be running.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.