Skip to main content
Glama

get_screenshot

Read-only

Export Figma nodes as PNG, JPG, or SVG images. Automatically fits each node to a legible size or applies a custom scale. Recovers nodes clipped or off-canvas.

Instructions

Export nodes as images the model can see, one image block per node: { images: [{ nodeId, format, base64, width?, height?, scale?, recovered?, empty? }] }. format is PNG (default) / JPG / SVG. scale applies to raster formats; when omitted, each node is auto-fitted to a legible size (long edge into ~512–1536px: oversized frames scale down, tiny icons scale up ≤4x) — pass an explicit scale to force one. Each raster label reports the exported width×height px and the scale, the anchor for mapping raster px back to design px. base64 is null for missing or non-exportable nodes. Nodes that are fully clipped or off-canvas (carousels, masks, off-screen states) are auto-recovered at their intrinsic bounds and flagged recovered:true. empty:true means the node genuinely renders nothing even unclipped (hidden / no content) so the export is blank.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoRaster scale factor (PNG/JPG); omit to auto-fit each node to a legible size
formatNoExport format: PNG (default) / JPG / SVG
nodeIdsYesFigma node ids to export
Behavior4/5

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

The description adds significant behavioral context beyond the readOnlyHint annotation: it details behavior for missing/non-exportable nodes (base64 null), recovered off-canvas nodes (recovered: true), and empty nodes (empty: true). It discloses the auto-fit scaling logic and the reporting of exported dimensions and scale.

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?

The description is a single paragraph but is front-loaded with the output structure and uses clear technical details. It is concise given the amount of information covered, though breaking it into sections could improve readability. Every sentence adds value.

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

Completeness5/5

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

Given the tool's complexity (exporting nodes with multiple formats, auto-fit, recovery logic) and the absence of an output schema, the description completely documents behaviors, edge cases (missing, recovered, empty), and output format. It is sufficiently informative for an agent to use correctly.

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?

Although schema coverage is 100%, the description adds meaningful details beyond schema descriptions: it explains the auto-fit behavior when scale is omitted, notes that scale applies only to raster formats, and describes the 'recovered' and 'empty' flags in the output. It clarifies the purpose of the output fields, which the schema does not.

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?

The description clearly specifies the tool's action: 'Export nodes as images the model can see' with a detailed output structure and parameter effects. It distinguishes itself from sibling tools like 'export_pdf' and 'save_screenshots' by focusing on per-node image export with auto-fitting for model consumption.

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 description explains how the tool works (auto-fit, format, scale) but does not explicitly state when to use this tool versus alternatives like export_pdf or save_screenshots. It provides usage context for the parameters (e.g., 'pass an explicit scale to force one') but lacks direct comparisons or when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awdr74100/figwright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server