Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

create_batch

Batch commands into one round-trip to avoid repeated calls. Runs in order, returns per-command success or error status, and enables complex compositions like SVG placement, labeling, and grouping.

Instructions

Execute multiple commands in a single round-trip. Commands run sequentially. Each result includes success/error status. Use this for complex compositions (e.g. place an SVG, add a label, group them) to avoid multiple round-trips.

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": {
      "commands": "<commands>"
    },
    "name": "create_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandsYesOrdered list of commands to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that commands execute sequentially and that each result carries success/error status, but it never says whether a failed command stops the batch, whether the batch is atomic/rolls back, what the batch-size limit is, or what permissions are needed.

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?

Four short sentences, front-loaded with the core action, then execution semantics, then the use case. Nothing is padded, though the 'avoid multiple round-trips' rationale is stated twice in slightly different wording.

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?

For a tool with no annotations and no output schema, the description does cover execution order and the shape of results. It's still silent on failure semantics, atomicity, and limits, which matter a lot for a batch mutation tool.

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 100% and there's effectively one parameter (the commands array with nested command/params), so the baseline is 3. The description adds a little meaning through the composition examples, but doesn't explain ordering constraints, valid command names, or per-command params beyond what the schema already states.

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 names a specific action and resource: 'Execute multiple commands in a single round-trip.' This makes it distinct from the single-operation siblings like create_rectangle and create_text, though it never names a sibling explicitly. The purpose is clear to an agent without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete when-to-use guidance plus examples ('place an SVG, add a label, group them') and states the reason (avoid multiple round-trips). It doesn't state when not to use it, e.g. that a single command should be called directly instead of wrapped in a batch.

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