get_selection
Read current Figma selection details so AI assistants and scripts can inspect selected layers before editing.
Instructions
Get information about the current selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Read current Figma selection details so AI assistants and scripts can inspect selected layers before editing.
Get information about the current selection.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It implies a read operation but does not state whether the selection can contain multiple nodes, what information is returned, or what happens when nothing is selected.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that is front-loaded and free of waste. It is appropriately sized for a parameterless tool, though its terseness leaves little room for the additional context an agent might need.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations and no output schema, the description does not explain what 'information' is returned or how the selection is represented. For an agent to use the result correctly, more detail about the return shape would be needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so there are no parameter semantics to document. Per the baseline rule for parameterless tools, a 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Get) and resource (current selection information), making the basic purpose clear. However, it does not differentiate this tool from similar siblings like get_selection_context or get_node_info, so the agent must infer the distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance about when to use this tool instead of alternatives such as get_selection_context, get_node_info, or set_selections. The description gives only a bare purpose statement with no context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.