Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

delete_node

Delete a Figma node by its ID to remove unwanted elements and update the file structure.

Instructions

Delete a node

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

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden of behavioral disclosure, yet it only implies that something is removed. It says nothing about irreversibility, whether child/descendant nodes are cascaded, whether the node can be recovered, or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Three words with zero filler, so nothing is wasted, but there is no structure to speak of and no front-loaded detail an agent could act on. Brevity here reflects under-specification rather than economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an irreversible mutation with no annotations and no output schema, the definition is far too thin — an agent cannot tell whether deletion cascades, fails on referenced nodes, or requires confirmation. Only the single, fully described parameter keeps this from being a 1.

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, so the description need not explain it. Baseline 3 applies; the description adds no meaning beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete a node" restates the tool name delete_node almost verbatim, adding no scope, target type, or differentiating detail. It does convey a specific verb and resource, but there is nothing to separate it from the sibling delete_multiple_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?

No when-to-use guidance, no prerequisites, and no mention of the obvious alternative (delete_multiple_nodes) or of any sequencing needed before deletion. The agent must infer selection purely from the tool name.

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