Skip to main content
Glama
FigeloMCP
by mmonzera

create_frame

Creates Figma frames with optional auto-layout, fill, stroke, corner radius, and parent assignment to structure layouts and place elements in targeted pages or frames.

Instructions

Create a frame (with optional auto-layout, fill, stroke, cornerRadius, and parentId).

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": "create_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNoFrame name
widthNo
heightNo
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open
fillHexNoBackground fill color hex e.g. #FFFFFF
parentIdNoOptional parent frame/page node ID
strokeHexNoStroke color hex
layoutModeNo
paddingTopNo
itemSpacingNo
paddingLeftNo
placeholderNoMark frame as a section placeholder (stored in pluginData with subtle dashed styling)
clipsContentNo
cornerRadiusNo
paddingRightNo
strokeWeightNo
paddingBottomNo
counterAxisAlignItemsNo
primaryAxisAlignItemsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely drops it. It never states where a frame lands when parentId is omitted, whether the channel parameter is required when multiple Figma files are open, what defaults apply when width/height are omitted (they are not required), or that placeholder writes pluginData and changes styling.

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 no filler and no redundancy. It is efficient, though its brevity is closer to under-specification than to tight writing given the 21-parameter surface.

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?

For a 21-parameter creation tool with zero annotations, no output schema, and 29% schema coverage, the description is far too thin. An agent cannot tell what a successful call returns, how unspecified geometry is resolved, or how the many optional layout parameters interact.

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 only 29% across 21 parameters, so the description must compensate and does so only partially. It names fill, stroke, cornerRadius, parentId, and auto-layout, but leaves x, y, width, height, layoutMode, the four paddings, itemSpacing, strokeWeight, clipsContent, and both alignment enums with no explanation beyond their bare names.

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 a specific verb and resource ("Create a frame") and enumerates the optional capabilities it supports. It is clear what the tool does, but it never distinguishes a frame from sibling creators such as create_rectangle, create_section, or create_component, so an agent gets no help choosing among them.

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?

There is no when-to-use guidance, no prerequisites, and no named alternative. The word "optional" implies everything is discretionary, but the description never says when a frame is the right node type versus a section or rectangle, nor when the auto-layout path should be preferred over set_auto_layout.

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