Skip to main content
Glama
Talk to Figma MCP

Talk to Figma MCP

by thanatusdev

flatten_node

Convert a selected Figma node into a single vector, similar to Outline Stroke, to simplify shapes for editing, export, or further design operations.

Instructions

Flatten a node to a single vector (like Outline Stroke)

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": {
      "nodeId": "<nodeId>"
    },
    "name": "flatten_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to flatten

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It never says whether the operation is destructive, whether the original node is replaced or a new node is returned, whether edits remain possible afterward, or what happens if the input is already a single vector — the Outline Stroke analogy only loosely implies loss of structure.

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?

One short sentence, front-loaded with the verb and the resulting state, with zero filler. It is efficient, though the brevity comes partly at the cost of the behavioral detail noted elsewhere.

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 one-parameter tool with a fully described schema and no output schema, the description covers the core purpose adequately. However, with no annotations and no output schema, the agent is left guessing about mutation semantics and return value, which is the main remaining gap.

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 nodeId parameter is fully documented in the schema as 'The ID of the node to flatten'. The description adds no format, source, or constraint details about nodeId, so 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 (flatten) and resource (node) with a concrete outcome, 'a single vector', plus an analogy to Outline Stroke that pins down the operation. It does not name or distinguish itself from any sibling, but the verb is distinct enough that an agent won't confuse it with resize_node or group_nodes.

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 explicit when-to-use or when-not guidance, and no prerequisites (e.g. whether the node must be a vector-eligible type). The Outline Stroke analogy hints at the intended effect but does not tell the agent which situations call for flattening versus leaving the node as-is.

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