Skip to main content
Glama

get_screenshot

Capture a Figma node or current selection as a PNG and get a local URL, file path, and dimensions for design handoff.

Instructions

Generate a screenshot for a given node or the currently selected node in Figma. maxDimension (default 1024) caps the longer edge of the PNG (up to 2x the node size). The response gives a local URL and file path plus width/height and original_width/original_height. Set enableBase64Response to also get the image inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdNoThe ID of the node, eg. "123:456" or "123-456" (instance ids like "I1:2;3:4" work too). Omit it to use the current selection in Figma.
fileKeyNoThe key of the Figma file. Accepted for compatibility; the file open in Figma Desktop is always used.
contentsOnlyNoRender the node in isolation, without overlapping content.
maxDimensionNoLongest edge of the PNG in pixels (default 1024).
enableBase64ResponseNoAlso include the PNG inline as base64.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and largely does so: it discloses the return payload (local URL, file path, width/height, original_width/original_height) and the resolution-capping behavior (maxDimension, up to 2x node size). It does not explicitly state side effects, permissions, or whether the file key is ignored beyond the schema note, but the payload disclosure is genuinely useful context.

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 dense sentences, front-loaded with what the tool does, then resolution semantics, then return shape. No filler or restatement of the name; every sentence carries new 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?

There is no output schema, so the description correctly takes on the return-shape explanation, and a 5-param tool with full schema coverage is otherwise well served. The one gap is that contentsOnly is never explained in prose, leaving its practical effect to the schema alone.

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 real meaning beyond the schema: maxDimension "caps the longer edge," clarified as up to 2x node size, and enableBase64Response is framed as getting the image inline. It omits contentsOnly and fileKey behavior, which the schema covers instead.

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 and resource ("Generate a screenshot") plus the target scope ("a given node or the currently selected node in Figma"). This distinguishes it from data-oriented siblings like get_metadata or get_design_context, but it never names an alternative, so the differentiation is implicit rather than stated.

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 only implied: "Omit it to use the current selection in Figma" tells the agent what happens without a nodeId, and "Set enableBase64Response to also get the image inline" hints at a workflow preference. There is no when-to-use-this-vs-download_assets or get_design_context guidance and no exclusions.

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