Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_create_rectangle

figma_create_rectangle

Create a rectangle on the current Figma page or within a registered screen by specifying position, size, fill color, corner radius, and optional parent.

Instructions

Create a rectangle on the current page or inside a registered screen.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_create_rectangle"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNo
widthNo
heightNo
parentIdNo
fillColorNo
screenKeyNo
cornerRadiusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

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 burden, yet it discloses nothing about the write being a mutation, whether it requires an active Figma connection or existing page, what a "registered screen" is, or what is returned (node id?). For a mutating creation tool with nine parameters, this is a substantial gap.

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 front-loaded sentence with zero filler, which is structurally sound. The brevity is efficient, though it borders on under-specification given the tool's nine undocumented parameters.

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?

With nine parameters, no annotations, no output schema, and 0% schema description coverage, the definition leaves an agent guessing about geometry units, required context, and return values. One short sentence is not complete for a mutation tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and does not. It never explains units for x/y/width/height, the hex format for fillColor, the meaning of cornerRadius, or how parentId differs from screenKey — it only hints obliquely at the page-versus-screen distinction.

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 gives a specific verb+resource pair ("Create a rectangle") and adds a placement scope ("current page or inside a registered screen"), which is enough to distinguish it from siblings like figma_create_ellipse or figma_create_frame. It stops short of explicitly contrasting with those siblings, but the resource name does the differentiation work.

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 phrase "on the current page or inside a registered screen" implies the two supported creation contexts, but it never says which parameters select which context or when an agent should choose this over figma_create_frame/section. Usage is implied rather than stated.

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