Skip to main content
Glama
FigeloMCP
by mmonzera

set_selection

Select specific Figma node IDs and optionally scroll the viewport into view, enabling targeted navigation when working across documents.

Instructions

Select specific node IDs in Figma and optionally zoom viewport into view.

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

Input Schema

NameRequiredDescriptionDefault
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open
nodeIdsYesArray of node IDs to select
scrollIntoViewNoScroll viewport to selection (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the two observable effects (selection changes, optional viewport scroll). It omits important behaviors such as whether the selection replaces or adds to an existing selection, and what happens with invalid node IDs or a missing channel.

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?

A single front-loaded sentence with no filler; the primary action precedes the optional secondary effect.

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?

For a three-parameter tool with no output schema and no annotations, the description covers the core action but leaves the channel parameter, selection-replacement semantics, and failure modes unaddressed. It is adequate but has clear gaps.

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 all three parameters are already documented, including the default for scrollIntoView. The description only echoes nodeIds and the zoom behavior and says nothing about the channel parameter, so it adds little beyond the schema.

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 description names a specific verb and resource ('Select specific node IDs in Figma') plus a secondary effect ('zoom viewport into view'), so the operation is immediately identifiable. It does not explicitly contrast with the read-only sibling get_selection, leaving that distinction to inference.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus alternatives, no prerequisites (e.g., an active Figma connection or open file), and no exclusions. The only implied usage is that it establishes a selection for later operations.

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