Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

boolean_operation

Combine two or more Figma vector nodes using union, subtract, intersect, or exclude operations; node order controls subtract results.

Instructions

Perform a boolean operation (union, subtract, intersect, exclude) on 2 or more vector nodes.

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
nameNoName for the resulting node
nodeIdsYesIDs of nodes to combine (order matters for subtract)
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

C2.7/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 and largely drops it. It does not disclose whether a new node is created (the 'name' param hints at this but is never explained), whether the source nodes are consumed or left intact, whether the operation is destructive, or what happens with non-overlapping geometry. For a mutating geometry tool this is a significant gap.

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 well-formed sentence with the operation list front-loaded and zero filler. It is efficient, though the brevity comes at the cost of the behavioral detail noted elsewhere rather than being genuinely complete.

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?

A destructive-capable geometry tool with no annotations, no output schema, and only partial parameter documentation. An agent cannot determine from this definition what it gets back, whether inputs survive, or how each operation mode behaves, which is well short of what a three-parameter mutation tool needs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67% and the schema already documents name and nodeIds, including 'order matters for subtract'. The description only restates the operation names in lowercase, adding no meaning to the enum — notably it never explains that SUBTRACT is order-sensitive or what EXCLUDE removes. It adds nothing beyond the structured fields.

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 (perform a boolean operation) plus the resource (2+ vector nodes) and enumerates the four operation modes. It is unambiguously distinct from every sibling in the list, none of which do boolean geometry. It stops short of 5 only because it doesn't say what the result is (a new node vs. modified input).

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?

The phrase 'on 2 or more vector nodes' is a light precondition, but there is no guidance on when to prefer union vs. subtract vs. intersect, no note that inputs must be vector-type or already exist, and no mention of alternatives such as group_nodes or create_mask. The agent must infer all selection logic from the enum alone.

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