Skip to main content
Glama
FigeloMCP
by mmonzera

export_image

Exports a Figma node as PNG, SVG, JPG, or PDF at a chosen scale, returning base64 data for download or further processing.

Instructions

Export a Figma node as PNG, SVG, JPG, or PDF (returns base64 data).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
scaleNoExport scale (default 2)
formatNoExport format (default PNG)
nodeIdYesNode ID to export
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does add one genuinely useful fact: the return value is base64 data. It omits other behavioral traits such as whether export is read-only, what permissions or plan constraints apply, Figma's export rate limits, and how output differs per format (PDF/SVG vs raster).

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?

A single front-loaded sentence with the operation first and the return payload in parentheses. No filler or repetition; every clause earns its place.

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?

For a simple four-parameter export tool with full schema coverage, the description plus schema give enough to call it correctly, and the base64 note covers the missing output schema. It falls short of complete because no-annotation tools would benefit from stated preconditions and error/limits context.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents nodeId, format, scale, and channel, including scale bounds and defaults. The description only restates the format list and adds the base64 return note, adding little meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Export') and resource ('a Figma node') plus the four supported formats, so the operation is unambiguous. It does not distinguish itself from the closest sibling, get_screenshot, which an agent could plausibly pick for a similar goal.

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?

Usage is only implied: the mention of base64 data hints this is for obtaining file bytes rather than a rendered preview, but nothing says when to prefer this over get_screenshot or get_node. No exclusions or prerequisites are given.

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