Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

create_section

Create a named section on the canvas to group related Figma content by specifying x, y, width, and height.

Instructions

Create a section to group related content on the canvas

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": {
      "x": "<x>",
      "y": "<y>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "create_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesX position
yYesY position
nameNoOptional name for the section
widthYesWidth of the section
heightYesHeight of the section

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/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 disclosure burden and does very little with it. It never says what the call returns (e.g., a new section node/id), whether the section is created empty or becomes selected, where in the layer hierarchy it lands, or any permission or nesting constraints. Only the bare mutation intent is conveyed.

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 short sentence with the action front-loaded and no filler. It is efficient, though its brevity is part of the reason the other dimensions are thin.

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 mutating creation tool with 5 parameters, no annotations, and no output schema, the description is too sparse. An agent cannot tell what it gets back, whether the four required geometry parameters define the section's initial bounds in canvas coordinates, or how the new section relates to existing nodes.

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%, and each of x, y, width, height, and name is documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies — the schema is doing all the work.

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 concrete verb and resource ("Create a section") plus its intent ("group related content on the canvas"), which is enough to distinguish it from generic node creators like create_rectangle or create_text. It does not, however, differentiate itself from close conceptual siblings such as create_frame or group_nodes, which an agent would also consider for grouping content.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. The phrase "group related content" implies a grouping scenario, but the agent is left to infer on its own whether a section, a frame, or group_nodes is the right choice.

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