Skip to main content
Glama

write_create

Destructive

Create Figma frames, sections, shapes, text, components, component variants, and instances under a parent node, nesting children to build full design trees in one call.

Instructions

Create nodes under a parent (default: the current page): FRAME, SECTION, RECTANGLE, ELLIPSE, TEXT, COMPONENT, COMPONENT_SET (its children are COMPONENT variants named "Prop=Value, Other=Value"), or INSTANCE of a component (componentKey from read_styles, or componentId). Nest children to build a whole tree in one call. Needs the kit bridge plugin running in that file (read_bridge).

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

Input Schema

NameRequiredDescriptionDefault
fileYesFigma file URL or key
nodesYes
parentNoParent node id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=true, openWorld=true, so the safety profile is covered. The description adds real context beyond that: the mandatory bridge plugin, the default parent page, the fact that nesting `children` builds a whole tree in one call, and that width/height stay fixed under auto layout unless a sizing mode is given. It does not explain why the tool is flagged destructive or what happens on partial failure.

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?

One dense but well-ordered paragraph: creation scope first, node types second, tree nesting third, prerequisite last. Every sentence carries information, though the long type/variant clause is somewhat cramped and could be split for scanability.

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 nested, multi-type creation tool with no output schema, the description covers prerequisites, defaults, and nesting well. It never says what the call returns (e.g., created node IDs), which matters because follow-up operations like write_props likely need those identifiers.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates where the schema is thin: it documents that `parent` defaults to the current page (the schema only says 'Parent node id'), that `componentKey` should come from read_styles, and the COMPONENT_SET naming convention for variant children. The bulk of `props` semantics lives in the schema rather than the description, so it adds meaning but not comprehensively.

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?

Opens with a specific verb+resource ('Create nodes under a parent') and enumerates the exact node types supported (FRAME, SECTION, RECTANGLE, TEXT, COMPONENT_SET, INSTANCE, etc.). It is clearly distinct from write_props (mutate existing) and delete_nodes, though it never names an alternative explicitly.

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?

Gives concrete prerequisites and routing: 'Needs the kit bridge plugin running in that file (read_bridge)' and 'componentKey from read_styles, or componentId'. It also states the default parent ('the current page'). What's missing is any explicit when-not-to-use or a named alternative for updating existing nodes.

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