Skip to main content
Glama

Poll buffered disk log entries

lol_logs_watch_poll
Read-onlyIdempotent

Poll newly buffered League of Legends log entries from an active disk watcher using a cursor to consume real-time lines without duplicates.

Instructions

Poll newly buffered disk log entries captured by the active disk log watcher since a given cursor. Use this tool to consume real-time log lines while watching is active. Prerequisite: Requires lol_logs_watch_start to be running; returns empty if stopped. For reading historical lines from file EOF, use lol_logs_tail instead. Behavior: Safe and read-only. Supports cursor-based incremental polling without duplicates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoFilter entries by log level: "ALWAYS", "OKAY", "INFO", "WARN", "ERROR", or "ALL"
limitNoMaximum entries to return (1-2000, default: 100)
cursorNoSequence cursor from a previous poll call for incremental reading
searchNoCase-insensitive substring filter applied to log entry text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real value: the watch-start prerequisite, the empty-return condition when stopped, and duplicate-free cursor-based incremental polling. The only omission is any hint about ordering or return shape, which is minor.

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

Conciseness4/5

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

Front-loaded with the core purpose, then prerequisite, alternative, and behavior in a compact structure. The "Behavior: Safe and read-only" clause partly restates annotations, a small redundancy, but overall it is tight and earns its place.

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

Completeness4/5

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

For a 4-parameter read tool with no output schema, it covers purpose, gating prerequisite, the alternative sibling, and polling semantics. It does not describe the shape of returned entries, but with no output schema that is a modest gap rather than a blocking one.

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 baseline is 3, but the description adds meaning for the cursor parameter by explaining it as a sequence cursor enabling incremental, duplicate-free polling. The level/search/limit filters get no extra description beyond the schema, keeping this just above baseline.

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?

States a specific verb (poll) and resource (newly buffered disk log entries from the active watcher) with explicit scope (since a given cursor). It is clearly distinguishable from the sibling lol_logs_tail, which the description names directly.

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?

Explicitly states when to use it (consuming real-time lines while watching is active), the prerequisite (lol_logs_watch_start must be running, empty if stopped), and the alternative for historical reads (lol_logs_tail). Nothing is left to inference.

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