Skip to main content
Glama

save_screenshots

Read-only

Export Figma nodes to PNG, JPG, or SVG files on disk, with configurable scale. Automatically recovers off-canvas elements while flagging blank or missing nodes for accurate output.

Instructions

Export nodes and write them to disk under outDir: { saved: [{ nodeId, format, path, recovered?, empty? }] }. format is PNG (default) / JPG / SVG; scale applies to raster formats (default 1). path is null for missing or non-exportable nodes. Nodes that are fully clipped or off-canvas (e.g. a carousel's edge items) 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 file is blank. Files are named after a sanitized node id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoRaster scale factor (PNG/JPG), default 1
formatNoExport format: PNG (default) / JPG / SVG
outDirYesDirectory to write files into (created if missing)
nodeIdsYesFigma node ids to export
Behavior5/5

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

The description discloses edge cases beyond the readOnlyHint annotation: clipped nodes are auto-recovered and flagged, empty nodes render blank, missing nodes produce null paths, and file names are sanitized. It also explains format and scale behavior, giving the agent a strong mental model of what happens.

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?

The description is dense but every sentence earns its place: it covers the operation, output shape, defaults, edge cases, and file naming without filler. The structure moves from general behavior to specific flags, making it easy to scan.

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?

With no output schema, the description carries the full burden of explaining return values and does so precisely with the saved array, path nullability, recovered/empty flags, and naming convention. For a 4-parameter tool, this is complete enough to invoke 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?

Schema coverage is 100%, so the baseline is 3. The description adds value by clarifying that scale only applies to raster formats, path is null for missing nodes, and outDir is created if missing—details beyond the raw schema field descriptions.

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 opens with a specific verb ('Export nodes') and clearly identifies the resource (nodes) and destination (disk under outDir). It distinguishes itself from sibling tools by specifying per-node export with a saved-array output, and the detailed format list reinforces the purpose.

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?

The description provides clear context for when to use the tool: when you need to export specific nodes to a directory on disk. It does not explicitly name alternatives or exclusions, but the behavior and output are fully specified, making the use case evident.

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