Skip to main content
Glama

get_screenshot

Read-only

Export Figma nodes as base64 images in PNG, JPG, or SVG format. Automatically recovers off-canvas or clipped nodes at their intrinsic bounds.

Instructions

Export nodes as base64 images: { images: [{ nodeId, format, base64, recovered?, empty? }] }. format is PNG (default) / JPG / SVG; scale applies to raster formats (default 1). 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), default 1
formatNoExport format: PNG (default) / JPG / SVG
nodeIdsYesFigma node ids to export
Behavior5/5

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

The description discloses important behavioral traits beyond annotations: auto-recovery of clipped/off-canvas nodes with recovered:true flag, empty:true for nodes that render nothing, base64 null for missing/non-exportable nodes, and format defaults. It complements the readOnlyHint annotation effectively.

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 a single well-structured paragraph with no extraneous words. It front-loads the core purpose and then details edge cases and defaults. Every sentence adds value, making it efficient for an agent to parse.

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 absence of an output schema, the description fully compensates by detailing the return structure and all edge cases (missing nodes, recovery, empty renders). It covers all parameters and their implications, making the tool's behavior predictable without additional documentation.

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%, but the description adds value by explaining default values (scale=1, format=PNG) and clarifying that scale applies only to raster formats. It also describes the return behavior for nodeIds (null for missing, edge cases). This goes beyond the schema's basic parameter 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 clearly states the tool's purpose: 'Export nodes as base64 images' and details the output structure. It specifies formats (PNG/JPG/SVG) and includes edge cases like recovered and empty flags. This level of detail makes the tool's function unambiguous and distinct from sibling export tools like export_pdf or save_screenshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus alternatives. It does not mention scenarios where sibling tools like save_screenshots (possibly persistent storage) or export_pdf might be preferred. The agent must infer usage from the output format alone.

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