Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_get_component_image

Render a Figma component or node as a PNG, JPG, SVG, or PDF and return a 30-day image URL for visual previews, screenshots, design review, and documentation.

Instructions

Render a specific component or node as an image (PNG, JPG, SVG, PDF). Returns image URL valid for 30 days. Use when user asks for: component screenshot, visual preview, rendered output, or 'show me'. NOT for component metadata/properties (use figma_get_component). NOT for getting code/layout data (use figma_get_component_for_development). Best for: visual references, design review, documentation.

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": "figma_get_component_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleNoImage scale factor (0.01-4, default: 2 for high quality)
formatNoImage format (default: png)png
nodeIdYesComponent node ID to render as image (e.g., '695:313')
fileUrlNoFigma file URL (e.g., https://figma.com/design/abc123). Auto-detected from WebSocket Desktop Bridge connection. Only required if not connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a key behavioral trait the schema does not: the returned image URL is valid for only 30 days, which affects how an agent should consume or cache the result. It does not mention permission requirements, whether the call is read-only, or failure behavior when nodeId is invalid or the bridge is disconnected.

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?

Front-loaded with the action, then segmented into use-when, not-for, and best-for clauses. Every sentence performs routing work and there is no filler or repetition of the schema.

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?

No output schema exists, but the description fills that gap by stating the return value is an image URL with a 30-day lifetime. For a read-style render tool with fully documented parameters, the remaining omission is environmental prerequisites (auth/desktop bridge connection), which the schema's fileUrl note partially covers.

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%, and the schema already documents scale range/default, format enum/default, nodeId example, and fileUrl auto-detection, so the baseline of 3 applies. The description only restates the format options and adds no syntax or edge-case guidance (e.g., what happens to scale for SVG/PDF) beyond the schema.

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?

Opens with a specific verb and resource ("Render a specific component or node as an image") and names the supported formats, so the agent knows exactly what comes back. It explicitly differentiates itself from figma_get_component and figma_get_component_for_development by name and by output type.

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?

Gives concrete trigger phrases ("component screenshot, visual preview, rendered output, or 'show me'") plus explicit exclusions with the correct alternative for each (metadata → figma_get_component, code/layout → figma_get_component_for_development). This is exactly the when/when-not/alternatives structure that removes ambiguity.

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