Skip to main content
Glama

Create star

figma_create_star
Idempotent

Create star or burst shapes in Figma with custom point count, inner radius, and corner rounding – for rating stars, sale bursts, sparkles, and decorative elements.

Instructions

A star or burst: pointCount spikes, innerRadius 0–1 (low = spiky, near 1 = almost a polygon). Rating stars, sale bursts, sparkles, decorative shapes. Editors: Design; unverified: FigJam, Slides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
fillNo
nameNo
widthYes
heightYes
sizingNoHow it sizes, as in Figma's panel: { "horizontal": "fill" } to take the parent column's width; "hug" fits content; "fixed" keeps the number.
strokeNo
sessionNoOptional sessionId or file name, to pick a Figma file when more than one is connected.
parentIdNo
pointCountNoSpikes, default 5.
innerRadiusNoDefault Figma's 0.38.
cornerRadiusNoRounds the outer corners.
strokeWeightNoDefault 1 when a stroke is given.
idempotencyKeyNoCaller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so safety/idempotency is covered structurally. The description adds a genuine behavioral trait not in the annotations: platform support (verified in Design, unverified in FigJam/Slides). It says nothing about what node is returned or how conflicts are handled beyond what idempotencyKey already documents in the schema.

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?

Three dense sentences, front-loaded with the shape semantics before use cases and platform notes. Every clause carries information; no filler or repetition of the tool name.

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 15-parameter mutation tool with no output schema and an openEnded nested sizing object, the description covers purpose, key geometry params, and editor constraints but leaves most parameters and the return shape undocumented. Adequate minimum viable context, with visible gaps.

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 coverage is only 47% across 15 parameters, so the description would need to compensate more. It does add real interpretation for innerRadius (low = spiky, near 1 = polygon) and pointCount (spikes), which goes beyond the terse schema defaults, but x, y, fill, stroke, name, parentId, cornerRadius, strokeWeight, and sizing get no descriptive support.

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 states the resource precisely ('a star or burst') and defines its two defining parameters (pointCount spikes, innerRadius 0–1), which implicitly separates it from the sibling figma_create_polygon ('near 1 = almost a polygon'). The verb is carried only by the name/title, so it is clear but not fully self-contained.

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?

It supplies concrete use cases (rating stars, sale bursts, sparkles, decorative shapes) and an editor-compatibility caveat ('Editors: Design; unverified: FigJam, Slides'), which tells the agent when this tool is applicable. It does not name an explicit alternative for regular polygons, so it stops short of full routing guidance.

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

Deploy Server

Other Tools