Skip to main content
Glama

screenshot

Capture a PNG of a board or a single element and save it to the design folder, so you can check how a change looks. Requires playwright.

Instructions

Take a PNG screenshot of a board, or of an element inside it, and return the image (plus the path it was saved to, in the design folder's .easel/screenshots/). Use it to check how a change looks (requires playwright).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>"
    },
    "name": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
pathNoElement path, e.g. 0/2/1; omit for the whole board

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does real work: it discloses the output (image plus saved path), the persistent side effect (a file written under the design folder's .easel/screenshots/), and a dependency (playwright). Gaps remain around performance/timeouts and what happens if no board is open, which keeps it off a 5.

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?

Two sentences, no filler, with the action and scope front-loaded and the return value and prerequisite packed into the follow-up. Every clause carries 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?

With no output schema, the description correctly explains the return value and side effect, and it flags the playwright prerequisite. The main remaining hole is the required 'file' parameter, whose meaning is not established anywhere, which matters for a tool that must be invoked correctly on the first try.

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 description coverage is only 50%: 'path' is documented with an example and the whole-board default, while the required 'file' parameter is bare in both schema and description. The description reinforces the board-vs-element distinction for path but adds no meaning for 'file', so it only partially compensates for the coverage gap.

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?

The description gives a concrete verb plus resource ('Take a PNG screenshot of a board, or of an element inside it') and states what comes back. That is unambiguous on its own, but it never contrasts itself against plausibly similar siblings such as save_snapshot or read_board, so an agent must infer the boundary.

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

Usage Guidelines4/5

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

It provides an explicit when-to-use ('Use it to check how a change looks') plus a hard prerequisite ('requires playwright'), which is exactly the kind of runtime condition an agent needs before calling. It stops short of saying when not to use it or naming an alternative for capture scenarios.

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