Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_get_selection

Retrieve the currently selected Figma nodes with IDs, names, types, and dimensions so an AI assistant can understand what the user is pointing at without asking for a description.

Instructions

Get the currently selected nodes in Figma. Returns node IDs, names, types, and dimensions. WebSocket-only — requires Canvas Bridge plugin. Use this to understand what the user is pointing at instead of asking them to describe it.

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_get_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
verboseNoIf true, fetches additional details (fills, strokes, styles) for each selected node via figma_execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4/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 well: it discloses the transport constraint (WebSocket-only), the required Canvas Bridge plugin, and the shape of the returned data. It omits edge behavior such as what happens when nothing is selected or multiple node types are mixed.

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: purpose first, return contents second, prerequisite and usage rationale last. No filler, no repetition of the tool name, and the key constraint is surfaced early enough to prevent a wrong call.

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 read tool with no output schema, the description supplies the return fields, the environment prerequisite, and the intent. The only real gap is empty-selection or error behavior, which an agent would need to handle gracefully.

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 single 'verbose' parameter is fully documented in the schema, including its dependency on figma_execute. The description adds no parameter-level meaning, so the baseline 3 applies.

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 and resource ('Get the currently selected nodes in Figma') and enumerates the returned fields (node IDs, names, types, dimensions). The selection-scoped framing is distinctive enough to separate it from file-level siblings like figma_get_file_data, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear use case ('understand what the user is pointing at instead of asking them to describe it') and a hard prerequisite ('WebSocket-only — requires Canvas Bridge plugin'). It does not name an alternative for when no selection exists or when the user's target is known, so it stops short of full when/when-not guidance.

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