Skip to main content
Glama
Triggered0

lcu-mcp

by Triggered0

Capture screenshot of the League Client

lol_cdp_screenshot

Capture a screenshot of the League Client window via CDP, returning image content and JSON metadata; optionally save the image to a file.

Instructions

Capture a screenshot of the League Client window using CDP. Returns both an MCP image content block and JSON metadata, and optionally saves to disk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoImage formatpng
qualityNoCompression quality for jpeg/webp
savePathNoOptional file path to save screenshot on disk
targetIdNoCDP target ID to screenshot (defaults to active main page)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add useful behavioral context: returns both an MCP image content block AND JSON metadata, and optionally saves to disk. However, it doesn't disclose failure modes (e.g., what happens if CDP isn't connected, whether targetId defaults to active page is described in the schema not description), or whether this is read-only. Moderate disclosure.

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?

Single well-structured sentence with the key mechanism and outputs front-loaded. No waste, though it could be tightened slightly.

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

Completeness3/5

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

With no output schema and no annotations, the description should carry more weight. It notes the return shape (image block + JSON metadata) which is helpful, but lacks prerequisites (CDP must be active), failure behavior, and any note that this is a read/safe operation. Adequate but with clear gaps.

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

Parameters3/5

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

Schema coverage is 100%, so all four parameters are documented in the schema with defaults and constraints. The description adds only the high-level notion that savePath is optional, which repeats the schema's 'Optional file path' description. Baseline 3 applies when schema does the heavy lifting.

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?

Specific verb+resource ('Capture a screenshot of the League Client window') with the mechanism named (CDP). Clearly distinguishes itself from siblings like lol_dom_query or lol_eval, which inspect state rather than produce an image.

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

Usage Guidelines2/5

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

No when-to-use guidance, no alternatives named, no conditions under which a screenshot is preferred over other inspection tools like lol_eval or lol_dom_query. The agent must infer that this is for visual capture.

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