Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

get_selection

Lists selected nodes on the current Figma page, returning each node's ID, name, type, and visibility so you can inspect the current selection.

Instructions

List the current page's selected nodes: ID, name, type and visibility

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the scope is limited to the current page and that results are node summaries rather than full node data, but it says nothing about what happens when the selection is empty, whether multiple selection is possible, or ordering of the returned list.

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 sentence that front-loads the operation and then lists the returned fields. There is no filler, hedging, or repetition.

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 zero-parameter read tool with no output schema, the description covers the essentials: what is read, from where, and roughly which attributes come back. The only meaningful gap is edge-case behavior (empty selection, multi-select ordering), which is minor for this level of complexity.

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?

The tool takes zero parameters and the schema is empty, so there is nothing for the description to disambiguate. Per the no-parameter baseline this sits at 4, but the description also gives no indication of implicit inputs (such as which page is considered "current"), keeping it at the baseline-neutral level.

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?

Uses a specific verb ("List") with a precise resource ("the current page's selected nodes") and even enumerates the fields returned (ID, name, type, visibility). This clearly separates it from per-node siblings like get_node_info or get_nodes_info, which require node IDs rather than reading the live selection.

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 phrase "current page's selected" implies the usage context: call it when the user refers to a selection rather than to explicit node IDs. However, no alternative tool is named and there is no explicit statement of when not to use it, so an agent must infer the routing from the sibling list.

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