Skip to main content
Glama
neozhehan

Figma Edit MCP

Create Shape

create_shape

Create a rectangle, ellipse, polygon, or star in Figma with specified position, size, and optional fill/stroke. Use arc data for donuts, point count for polygons/stars, and inner radius for star sharpness.

Instructions

Create a rectangle, ellipse, polygon, or star via type, with position/size and optional fillColor/strokeColor. Shape-specific params (arcData; pointCount/innerRadius) validated by type. pointCount = sides (polygon) or points (star), native count — no even-parity rule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesX position
yYesY position
nameNoOptional name for the shape
typeYesThe type of shape to create
widthYesWidth of the shape
heightYesHeight of the shape
arcDataNoOptional arc data for creating arcs/donuts (ELLIPSE only)
parentIdYesParent node ID to append the shape to
fillColorNoFill color in RGBA format
pointCountNoNumber of sides (polygon) or points (star), ≥3. Required for POLYGON and STAR.
innerRadiusNo0.0–1.0, star sharpness (default: 1.0). STAR only.
strokeColorNoStroke color in RGBA format
parentNodeNameNoName of the parent node to verify against
useAbsolutePositionNoIf true and parent is an auto-layout frame, forces absolute positioning to prevent layout shifts.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the created shape
nameYesName of the created shape
Behavior2/5

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

Annotations only include openWorldHint: true, which indicates side effects, but the description does not disclose behavioral traits beyond creation. No mention of destructive actions, permissions, or side effects like node creation. The description adds minimal behavioral context beyond the fact that it creates shapes.

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?

The description is two sentences long, front-loaded with the key purpose and parameters. Every sentence adds value without repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists (as indicated), the description does not need to explain return values. It covers the main functionality and parameter validation. However, it could briefly mention that the tool creates a node in the document or returns an ID, but the output schema likely covers that.

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 100%, so parameters are described individually. The description adds value by clarifying validation rules for shape-specific parameters (arcData, pointCount, innerRadius) and noting that pointCount is native with no even-parity rule, which goes beyond schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'create' and lists specific shape types (rectangle, ellipse, polygon, star) via the `type` parameter, distinguishing it from sibling tools like create_frame and create_svg. It also mentions position/size and optional color parameters.

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?

The description implies usage for creating basic shapes but does not provide explicit when-to-use or when-not-to-use guidance, nor does it mention alternatives like create_svg or create_connection. It lacks exclusions or context for choosing this tool over siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neozhehan/figma-edit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server