Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_batch_get_node_states

Read fills, strokes, and bound variable IDs from multiple Figma nodes in one call. Bulk-audit designs without looping single-node requests, with per-node errors returned inline.

Instructions

Read fills, strokes, and bound variable IDs from multiple nodes in one call. Use instead of calling figma_get_node_state in a loop — 10-50x faster for bulk audits. Per-node errors are returned inline (nodes not found return an error field). Requires Desktop Bridge connection.

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": {
      "nodeIds": "<nodeIds>"
    },
    "name": "figma_batch_get_node_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdsYesArray of node IDs to inspect (e.g. ['15:203', '15:204']).

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 supplied, the description carries the full burden, and it does disclose non-obvious behavior: per-node errors are returned inline rather than failing the whole call, missing nodes yield an error field, and a Desktop Bridge connection is required. What it omits is the result ordering/shape and whether the operation is strictly non-mutating, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, zero filler. Capability comes first, the sibling routing second, then error semantics and the connection prerequisite — a well front-loaded order.

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 one-parameter batch read with no output schema, the description covers what is read, how failures surface per node, and the connection prerequisite. A brief note on the per-node result structure or ordering would close the remaining gap, but nothing critical to correct invocation is missing.

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?

There is a single parameter at 100% schema coverage, with the schema providing a format example. The description adds only the notion that nodeIds is a batch set whose members are independently inspected, which is modest added meaning. Baseline 3 applies when the schema already documents the parameter fully.

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 opens with a specific verb and a precise payload: 'Read fills, strokes, and bound variable IDs from multiple nodes in one call.' It names the batch scope explicitly and contrasts itself with the sibling figma_get_node_state, so the agent can distinguish the two without inspecting schemas.

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?

It states exactly when to choose this tool ('instead of calling figma_get_node_state in a loop') and the motivating scenario ('bulk audits'), with a concrete performance claim. Both the alternative and the selection condition are spelled out.

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