Skip to main content
Glama

save_screenshots

Read-only

Export Figma nodes as PNG, JPG, or SVG images to a specified directory. Automatically recovers clipped or off-canvas nodes and handles missing or empty nodes.

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 goes beyond annotations (readOnlyHint) by detailing auto-recovery for clipped nodes, empty flag for blank renders, and format handling. It clearly explains what happens for each node case, which is very transparent.

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 with purpose front-loaded. It is detailed but not overly long. Minor redundancy could be trimmed, but overall efficient.

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?

Given no output schema, the description explains the return structure well. It covers edge cases (missing, empty, recovered) and format nuances. However, it lacks explicit mention of input validation or error states, leaving minor gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the description adds significant meaning: scale only applies to raster formats, null path for unexportable nodes, recovered/empty flags, and naming convention. This is over baseline 3.

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 states the tool exports nodes and writes them to disk. It distinguishes from siblings like 'get_screenshot' which likely returns an image, and 'export_pdf' which exports to a different format. The verb 'Export' and resource 'nodes' are specific.

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 provides detailed behavior but does not explicitly state when to use this tool over alternatives like 'get_screenshot' or 'export_pdf'. There is no guidance on context or exclusions, leaving the agent to infer usage.

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