Skip to main content
Glama

Export / screenshot a node

figma_export_node
Read-only

Render a Figma node as PNG, JPG, SVG, or PDF for visual comparison, with controls for scale, size, and save path.

Instructions

Render a node so you can see it — the screenshot to compare against. No nodeId: the one selected layer. Without saveTo, PNG/JPG come back as an image (≤ 5 MB) with its bounds and pixel size, and SVG as markup; an inline PNG/JPG with no scale is held to 1024 px on its longest side (maxSize changes that; capped says it happened; scale asks for an exact size instead). With saveTo, or for PDF, or when larger than 5 MB, the file is written and its path returned. A relative saveTo lands in the export directory; other folders must be listed in BRIDGE_EXPORT_ROOTS. If format is omitted, the saveTo extension decides, else PNG. An animated frame renders at rest: see its motion with figma_export_video, then figma_review_video. Skill: critique (figma_get_guide). For files a codebase ships (presets, original images), use figma_download_assets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoExact pixel scale for PNG/JPG; bypasses the size cap.
formatNoPNG (default), JPG, SVG or PDF.
nodeIdNoThe node to render: an id ("12:34") or a Figma link. Default: the one selected layer.
saveToNoWrite to this file instead of returning the render inline.
maxSizeNoLongest side in pixels for PNG/JPG (never upscales). Default 1024 inline.
sessionNoOptional sessionId or file name, to pick a Figma file when more than one is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only carry the read-only/safe profile, but the description adds substantial behavioral detail beyond them: the ≤5 MB inline threshold, the 1024 px inline cap, the `capped` signal, cross-parameter defaults (format vs saveTo extension), and the BRIDGE_EXPORT_ROOTS requirement for write locations. This is rich disclosure about side effects and limits that the annotations do not cover.

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?

Front-loaded with the core purpose, and nearly every clause adds functional information. It is a dense single paragraph with many parenthetical asides, which is slightly heavy to scan, but it avoids padding and repetition.

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?

Despite no output schema, the description explains what comes back in each mode (inline image with bounds and pixel size, SVG markup, or a written file path). Combined with the coverage of defaults, limits, and path rules, an agent has everything needed to invoke it 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 schema already documents all six parameters (baseline 3). The description goes further by explaining cross-parameter interactions the schema cannot: scale bypassing the size cap, format being inferred from the saveTo extension when omitted, relative saveTo destinations, and nodeId defaulting to the selected layer.

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?

States a specific verb+resource ('Render a node') plus the intent ('so you can see it — the screenshot to compare against'), making the purpose immediately actionable. It also distinguishes itself from siblings by name (figma_export_video for motion, figma_download_assets for shipped files), so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

Explicit when-to-use vs alternatives: animated frames render at rest, so use figma_export_video then figma_review_video for motion; for files a codebase ships use figma_download_assets. It also names the relevant skill (critique via figma_get_guide). Nothing is left to inference.

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

Deploy Server

Other Tools