Skip to main content
Glama
FigeloMCP
by mmonzera

batch_create

Creates a nested UI tree of frames, text, shapes, SVGs, components, and instances in one call to build complex Figma layouts without multiple requests.

Instructions

Create a nested UI tree of frames, texts, shapes, SVGs, components, and instances in a single call.

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": {
      "nodes": "<nodes>"
    },
    "name": "batch_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodesYesArray of node specs ({ type: "FRAME"|"TEXT"|"RECTANGLE"|"ELLIPSE"|"SVG"|"COMPONENT"|"INSTANCE", children?: [...], ...props })
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open
parentIdNoOptional container node ID (defaults to current page)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.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 carries the full behavioral burden for a mutation tool. Beyond 'single call' it says nothing about atomicity (does one bad node spec fail the whole batch?), whether creation is undoable, what permissions or file state are required, or what identifiers come back.

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

Conciseness5/5

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

One sentence, front-loaded with the verb and the batch scope, with zero filler. The important qualifier ('nested ... in a single call') arrives before the enumeration of node types.

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?

The tool is moderately complex (free-form nested node specs) and has no annotations and no output schema, so the description should ideally explain return values (created node IDs) and failure behavior. It conveys the core capability but leaves an agent guessing about the response shape and partial-failure semantics.

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%, so all three parameters are already documented with meaning and format. The description's enumeration of node types merely restates what the nodes schema says and adds no syntax, nesting-depth, or default-behavior detail beyond it, making the baseline 3 appropriate.

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 ('Create') with a clear resource ('a nested UI tree of frames, texts, shapes, SVGs, components, and instances') and adds the differentiating scope marker 'in a single call,' which separates it from the single-node siblings like create_frame or create_text. It stops short of naming an alternative outright, so it lands at 4 rather than 5.

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?

Usage is only implied: the agent can infer this is the tool for building multiple nodes at once, but there is no explicit when-to-use vs when-to-use-a-sibling guidance and no exclusions. With roughly twenty create_* siblings in the catalog, an explicit routing sentence would have been valuable.

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