Skip to main content
Glama
figma-mcp
by ivn4k

Select / show nodes

set_selection

Select Figma nodes and zoom the viewport to them, switching pages when needed; pass a page ID to open that page or empty IDs to clear the selection.

Instructions

Select nodes in Figma (switches page when needed) and zoom the viewport to them. A page id just switches to that page. Empty ids clears the selection.

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": {
      "ids": "<ids>"
    },
    "name": "set_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
zoomNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description bears the full burden. It usefully discloses non-obvious side effects — page switching and viewport zooming — and that empty ids clears the selection, but it never states whether a non-empty selection replaces or extends the existing selection, nor what happens with invalid or cross-page 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.

Conciseness4/5

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

Three short sentences, front-loading the main action before the two exceptions. Slightly clipped phrasing ("Empty ids clears the selection") but no wasted wording.

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?

With no annotations, no output schema, and 0% schema coverage, the description covers the core action and two edge cases but leaves the zoom parameter and the return behavior (does it return the selected nodes?) unaddressed.

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 coverage is 0% and neither parameter is documented in the schema, so the description must compensate. It meaningfully explains the ids parameter (node ids, page-id shortcut, empty-array clearing) but never explains the zoom boolean or what zoom=false does.

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 definition gives a specific verb and resource ("Select nodes in Figma") plus two concrete special cases: a page id switches pages, and empty ids clears the selection. It does not explicitly contrast with the get_selection sibling, so it falls short of a 5.

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 edge-case sentences implicitly tell the agent how to trigger page-switching versus clearing, but there is no explicit statement of when to call this instead of get_selection or other node tools, and no prerequisites or warnings.

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