Skip to main content
Glama
figma-mcp
by ivn4k

Export / screenshot

export_image
Read-only

Render a Figma node to PNG, JPG, SVG, or PDF so you can inspect designs and verify edits.

Instructions

Render a node (frame, layer, component; default: first selected node) to PNG/JPG and return it as an image, or export SVG markup / PDF. Use it to look at designs and verify edits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleNo
formatNoPNG
nodeIdNo
maxSizeNoPNG/JPG: longest side in px; scale is reduced to fit
savePathNoAlso save the file here (absolute, or relative to the MCP server working directory). Required for PDF
returnImageNoPNG/JPG: include the image in the result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses the default selection fallback and the format-dependent behavior of returning PNG/JPG as an image versus exporting SVG or PDF. It leaves error behavior, such as when no node is selected or found, unspecified.

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?

Two compact sentences front-load the operation, target, default, formats, and output distinction, then give the primary use case. There is no filler or unnecessary repetition.

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?

Together with the schema's defaults, constraints, and savePath requirements, the description provides enough information to select and invoke the tool correctly, including its output modalities despite the absence of an output schema. Minor gaps remain around scale semantics and no-selection/error behavior.

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?

With 50% schema coverage, the description usefully explains the otherwise-undescribed nodeId parameter through supported node kinds and the first-selected-node default. It also connects format choices to their output behavior, although it adds no explanation of scale.

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 gives a specific action and resource: rendering a frame, layer, or component, with a default target of the first selected node. It also clearly distinguishes raster image returns from SVG markup and PDF export, and none of the listed siblings appears to overlap with this screenshot/export role.

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?

"Use it to look at designs and verify edits" supplies a clear visual-inspection and post-edit verification use case. It does not state exclusions or name an alternative, but the intended context is nevertheless explicit.

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