Skip to main content
Glama

Screenshot

get_screenshot
Read-only

Renders Figma targets as PNG screenshots scaled for vision models, splitting tall frames into tiles. Optionally saves full-resolution PNGs for visual comparison and testing.

Instructions

Renders the target as PNG image(s) you can look at. Wide renders are scaled to what vision can read; tall ones are split into tiles. Optionally saves the full-resolution PNG.

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": "get_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoWhich open Figma file (name or key) when several are connected. Default: the most recently active.
scaleNoRender scale (default: 2, reduced to fit 1568px wide).
targetNoFigma URL, node id(s) like "12:34" (comma-separated), or omit for the current selection in Figma.
save_toNoAlso write the PNG to this path (e.g. for visual tests).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this as a safe read operation, and the description stays consistent with that. It adds genuinely useful behavior beyond the annotations — width capping for vision, tiling of tall renders, and optional full-resolution saving — but says nothing about cost, latency, or limits on number of tiles.

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?

Three short sentences with the core purpose front-loaded and zero redundant wording. Each sentence carries distinct information: what it produces, how output is shaped, and the optional save.

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 all parameters optional, no output schema, and a simple read-only operation, the description covers what an agent needs to call it and what to expect back. Minor gaps remain around tile count limits and whether multiple targets return multiple images, but nothing essential is missing.

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 100%, so all four parameters are already documented in the schema, making 3 the baseline. The description reinforces save_to ("Optionally saves the full-resolution PNG") and the 1568px scaling interaction with scale, but adds no format or syntax detail beyond the schema.

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?

"Renders the target as PNG image(s) you can look at" gives a concrete verb plus output artifact, and the tiling/scaling clause tells the agent what kind of image it will receive. It does not explicitly contrast with siblings such as compare_screenshot or export_assets, so the agent must infer that this is the plain single-target visual capture tool.

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?

Usage is implied rather than stated: the phrase "you can look at" and "for visual tests" hint at visual inspection and test snapshots, but there is no explicit when-to-use or when-to-prefer-a-sibling guidance. No exclusions or prerequisites are given.

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