Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_capture_screenshot

Capture a Figma node or current page as PNG, JPG, or SVG from the plugin runtime to validate design changes immediately, including right after edits.

Instructions

Capture a screenshot of a node using the plugin's exportAsync API. IMPORTANT: This tool captures the CURRENT state from the plugin runtime (not cloud state like REST API), making it reliable for validating changes immediately after making them. Use this instead of figma_get_component_image when you need to verify that changes were applied correctly. Requires Desktop Bridge connection (Figma Desktop with plugin running).

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

Input Schema

NameRequiredDescriptionDefault
scaleNoScale factor (default: 2 for 2x resolution)
formatNoImage format (default: PNG)PNG
nodeIdNoID of the node to capture (e.g., '1:234'). If not provided, captures the current page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that output reflects the CURRENT plugin-runtime state rather than cloud/REST state, and that a Desktop Bridge connection (Figma Desktop with the plugin running) is required. It does not describe the return payload (image bytes/URL) or any size or performance limits, which keeps it below a 5.

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?

The purpose is front-loaded in the first sentence, followed by the state caveat, the sibling routing rule, and the dependency requirement in a logical order. The capitalized 'IMPORTANT' emphasis is slightly heavy-handed but each sentence carries distinct decision-relevant information.

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 three-parameter capture tool with no output schema, the description covers purpose, the runtime-vs-cloud distinction, sibling routing, and the Desktop Bridge prerequisite. The main remaining gap is what the call returns and how it behaves at high scale, though the absence of an output schema makes that less critical.

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 scale, format, and nodeId are already fully documented, including the default-captures-current-page behavior. The description adds no syntax or constraint detail beyond the schema, so the baseline 3 applies.

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 and resource ('Capture a screenshot of a node') plus the underlying mechanism (exportAsync). It also explicitly distinguishes itself from a sibling, figma_get_component_image, so an agent can tell the two apart without opening either 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?

Gives an explicit when-to-use rule: use this instead of figma_get_component_image when verifying that changes were applied correctly. It also states the key operating context (post-mutation validation), which is precisely the decision an agent needs to make.

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