Skip to main content
Glama
figma-forge-mcp

figma-forge-mcp

by TBlopT

combine_variants

Combine selected Figma components into a component set and name each variant using Prop=Value syntax. Set layout, fills, and radius to organize reusable variant families.

Instructions

Combine components into a component set (variants). Name each component 'Prop=Value'.

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": {
      "ids": "<ids>"
    },
    "name": "combine_variants"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesComponent node ids
nameNoComponent set name
fillsNo
layoutNo{ mode, gap, pad } to lay out the set
radiusNo
parentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. 'Combine' implies a mutation of existing nodes, but nothing says whether the originals are consumed, repositioned, or preserved, nor whether permissions or a plugin channel are required. The 'Prop=Value' naming rule is a genuine behavioral requirement and the only real disclosure here.

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?

Two short sentences with the core operation front-loaded and no filler. The second sentence is useful but slightly ambiguous about which object 'Name each component' applies to.

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 six-parameter mutating layout operation with no annotations and no output schema, the definition says far too little. An agent cannot predict what the resulting set looks like, whether inputs are destroyed, or how layout/radius/parentId affect the outcome.

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 coverage is 50%, and the description only touches ids (as 'components') plus a renaming rule that arguably concerns the nodes rather than the `name` parameter. layout ({ mode, gap, pad }), radius, fills, and parentId get no meaning from the description at all, and the naming instruction risks confusion with the separate `name` parameter.

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 and resource: 'Combine components into a component set (variants).' That is clearly distinct from siblings like create_component_instance or get_local_components, which read or instantiate rather than merge. No explicit sibling routing, but the operation is unambiguous.

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 guidance on when to choose this over alternatives, and no prerequisites are given — e.g. that the ids must be component nodes, that they must not already belong to a set, or what to do when the naming convention is absent. The agent must infer all preconditions.

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