Skip to main content
Glama
neozhehan

Figma Edit MCP

by neozhehan

create_polygon_star

Add a polygon or star to a Figma canvas; set vertex count, inner radius for star sharpness, fill/stroke colors, and exact position.

Instructions

Create a new polygon or star in Figma

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesX position
yYesY position
widthYesWidth of the shape
heightYesHeight of the shape
pointCountYesTotal vertex count (≥3). For stars, this is the number of points.
innerRadiusNo0.0–1.0, star sharpness (default: 1.0 = polygon). If < 1.0, pointCount must be even.
nameNoOptional name for the shape
parentIdNoOptional parent node ID to append the shape to
parentNodeNameNoName of the parent node to verify against
fillColorNoFill color in RGBA format
strokeColorNoStroke color in RGBA format
useAbsolutePositionNoIf true and parent is an auto-layout frame, forces absolute positioning to prevent layout shifts.
Behavior1/5

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

No annotations are present, and the description does not disclose any behavioral traits such as mutation, permissions required, or effects on the document. The agent cannot infer whether this is a safe operation or what side effects occur.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only one sentence, which is too brief for a tool with 12 parameters. While concise, it sacrifices necessary detail, making it under-specified.

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

Completeness1/5

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

The description is incomplete given the tool's complexity: no mention of return value, the distinction between polygon and star (innerRadius), or prerequisites like parent node. The description fails to provide a complete understanding.

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%, so the schema already documents all parameters. The description adds no additional parameter information beyond the schema, hence baseline score of 3.

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 clearly states the verb 'Create' and the resource 'polygon or star', which matches the tool name. However, it does not differentiate between creating a polygon vs. a star, nor from other create tools like create_rectangle or create_ellipse, but the specificity of the name helps.

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?

No guidance is provided on when to use this tool vs. alternatives (e.g., create_rectangle, create_ellipse). The description is a single sentence with no context about prerequisites or scenarios.

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