Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

boolean_operation

Combine multiple Figma shapes using union, subtract, intersect, or exclude to create merged, cut-out, or overlapping geometry from selected nodes.

Instructions

Combine shapes with union, subtract, intersect or exclude

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>",
      "operation": "<operation>"
    },
    "name": "boolean_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoLayer name
nodeIdsYesShapes; subtract removes the rest from the first
parentIdNoWhere the result goes (default: the first node's parent)
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.1/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 disclosure burden. It never says whether the source shapes are consumed or preserved, whether the document is mutated destructively, whether the operation is reversible, or what happens with non-overlapping shapes — all critical for a geometry-mutating tool.

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?

A single front-loaded sentence with zero filler and the operation list placed early. It is efficient, though the fragmentary phrasing leaves room for one short clause on outcome without breaking concision.

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 a document-mutating operation with no annotations, no output schema, and a result whose location is only hinted at in the schema, the description is too thin. An agent cannot determine from the definition alone what it gets back or what happens to the input nodes.

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 75% and the schema already documents the key semantics, including "subtract removes the rest from the first" and the default parent. The description adds no parameter meaning beyond what the schema states, so the baseline of 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?

The description uses a specific verb and resource ("Combine shapes") and enumerates the four supported operations, so an agent can tell exactly what the tool produces. It does not need to disambiguate from siblings because no sibling performs boolean geometry, but it also never states what the result is (a new shape vs. an in-place merge).

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?

Listing the four operations implies the tool's use case, but there is no explicit when-to-use guidance, no statement of prerequisites such as needing at least two shapes from the same parent, and no guidance on choosing SUBTRACT versus EXCLUDE beyond the bare enum names. Alternative approaches for combining geometry are not mentioned.

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