Skip to main content
Glama
neozhehan

Figma Edit MCP

Create Shape

create_shape

Create geometric shapes in Figma by specifying type, position, size, colors, and shape-specific parameters like arc data or point count.

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

Output Schema

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

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

Annotations only provide openWorldHint=true, so description carries burden. It discloses validation by type and the no even-parity rule for pointCount, but lacks details on side effects, error conditions, or behavior with invalid parameters (e.g., missing parentId).

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, front-loaded with the action and shape types, and includes key cross-parameter constraints. No redundant or unnecessary text.

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?

Given the tool's complexity (14 params, nested objects, output schema present), the description covers core functionality but misses context like prerequisites (parent node requirements), error handling, or integration with siblings. Lacks guidance on when to prefer this over other creation tools.

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%, baseline 3. Description adds value by explaining shape-specific parameter validation and clarifying pointCount semantics ('native count — no even-parity rule'). This 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 tool creates shapes (rectangle, ellipse, polygon, star) with specific parameters. It distinguishes from sibling creation tools like create_frame or create_svg by focusing on these shape types.

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 when creating the listed shape types but does not explicitly state when to use this tool vs alternatives like create_frame, create_svg, or create_component. No when-not or exclusion criteria are provided.

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