Skip to main content
Glama

Screenshot the live UI

ui_screenshot

Captures the actual browser UI via headless Chrome to verify what viewers see, including canvas, layers panel, and toolbars.

Instructions

Screenshot the actual browser UI (headless Chrome) to verify what the viewer sees: canvas, layers panel, toolbars.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ui_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNoAlso save to this path
delayNoExtra wait in ms before capture
widthNoViewport width (default 1600)
heightNoViewport height (default 1000)
panelsNoShow side panels (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the mechanism (headless Chrome) and the scope of what is rendered, which implies a non-destructive read, but says nothing about whether a browser instance is launched, latency/cost, or preconditions like a running UI server.

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?

A single front-loaded sentence naming the action, implementation, and captured surface. No filler; every clause adds information.

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 5-optional-parameter capture tool with no output schema, the description conveys enough: what is rendered and how. The main missing piece is any precondition (UI must be running) and differentiation from snapshot, but overall it is sufficient to call correctly.

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% with self-documented parameters (save, delay, width, height, panels). The description adds no meaning beyond the schema—e.g., it does not clarify that 'panels' controls the side panels mentioned in the described output. Baseline 3 applies.

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

Purpose4/5

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

States a specific verb+resource combination (screenshot the actual browser UI) and specifies the rendering path (headless Chrome) and captured content (canvas, layers panel, toolbars). An agent knows exactly what the tool produces, though it does not distinguish itself from the sibling 'snapshot' tool by name.

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

Usage Guidelines3/5

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

The clause 'to verify what the viewer sees' implies the use case (visual verification of rendered output), but there is no explicit when-to-use/when-not guidance and no routing to alternatives such as snapshot or analyze for non-visual checks.

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