Skip to main content
Glama

export_node_image

Render a Figma frame or component as a PNG base64 data URI, giving visual feedback for design and prototyping.

Instructions

Render a PNG snapshot of a frame or component and return as base64 data URI for visual feedback

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoExport scale (defaults to 2 for sharp Retina display)
nodeIdYesNode ID to export

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description must disclose behavioral aspects. It only mentions the return format and defaults for scale, but doesn't state safety (read-only vs destructive), permission requirements, or error behavior on invalid node IDs.

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?

One sentence, front-loaded with action and output, no filler. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple export tool, it mentions return format and scale default, but lacks details on error handling or prerequisites like whether the node must be selected.

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?

The schema already covers both parameters with descriptions, and the description adds that nodeId likely refers to a frame or component, adding useful context.

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?

The description clearly states the action (render a PNG snapshot), the target (frame or component), and the output format (base64 data URI). It distinguishes itself from siblings by its focus on rendering, though it doesn't explicitly name a sibling alternative.

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 phrase 'for visual feedback' implies when to use it, but it doesn't provide explicit guidance on when not to use it or mention alternative tools like rest_get_images for image fetching.

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