Skip to main content
Glama
atezer

F-MCP (Figma MCP Bridge)

by atezer

figma_create_frame

Create a Figma frame node with auto-layout (vertical by default) or free-form. Supports design token binding for fill, padding, spacing, and corner radius.

Instructions

Create a new frame node with optional auto-layout. Returns the created node ID. v1.8.0: defaults to layoutMode='VERTICAL' with paddingTop/Bottom=16, paddingLeft/Right=16, itemSpacing=12, primaryAxisSizingMode='AUTO', counterAxisSizingMode='AUTO'. Pass layoutMode='NONE' for legacy free-form frames.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFrame nameFrame
xNoX position. If omitted, auto-positions to the right of existing content
yNo
widthNo
heightNo
fillColorNoHex color e.g. '#ffffff'. DEPRECATED — prefer fillVariableKey for DS token binding (v1.8.1+).
parentIdNoParent node ID (default: current page)
layoutModeNoAuto-layout direction. VERTICAL by default; pass 'NONE' for free-form frames.VERTICAL
paddingTopNo
paddingBottomNo
paddingLeftNo
paddingRightNo
itemSpacingNoGap between auto-layout children
primaryAxisSizingModeNoAUTO = hug contents, FIXED = use width/heightAUTO
counterAxisSizingModeNoAUTO
primaryAxisAlignItemsNoMain-axis alignment (MIN=top/left, MAX=bottom/right)
counterAxisAlignItemsNoCross-axis alignment
layoutWrapNoWrap children when they exceed primary axis
fillVariableKeyNoDS variable key for fill binding (from figma_get_library_variables). Takes precedence over fillColor.
paddingVariableKeyNoDS spacing variable key — applies to all 4 paddings via setBoundVariable.
itemSpacingVariableKeyNoDS spacing variable key for itemSpacing via setBoundVariable.
cornerRadiusVariableKeyNoDS radius variable key for cornerRadius via setBoundVariable.
cornerRadiusNoHardcoded corner radius in px. DEPRECATED — prefer cornerRadiusVariableKey.
Behavior3/5

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

No annotations are present, so the description must fully cover behavioral aspects. It mentions auto-layout defaults and return value, but does not disclose idempotency, side effects, error conditions, or permissions. The version note is helpful but insufficient for complete transparency.

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?

The description is concise: two sentences front-loaded with the core purpose. The version note is appended. No unnecessary words, but could be slightly better structured by separating version info into a note.

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?

With no output schema and no annotations, the description must compensate. It covers core functionality and key defaults but lacks guidance on prerequisites (e.g., parentId context), error handling, and the many variable-related parameters. For a 23-parameter tool, this is incomplete.

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 65%, meaning many parameters already have descriptions. The description adds overall context about defaults and versioning but does not elaborate on each parameter beyond what the schema already provides. It partially compensates for uncovered parameters by giving examples but not fully.

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 'Create a new frame node with optional auto-layout. Returns the created node ID.' This is a specific verb+resource combination that distinguishes it from sibling tools like figma_create_rectangle or figma_create_text. The mention of auto-layout and return value adds clarity.

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 provides version-specific defaults and mentions auto-layout vs legacy, but does not explicitly guide when to use this tool over alternatives (e.g., when to create a frame vs a group or rectangle). No direct comparison or context for selection.

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/atezer/FMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server