Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_generate_screen

figma_generate_screen

Creates a structured app screen in Figma from JSON elements, letting AI agents generate layout-ready frames with specified dimensions and backgrounds.

Instructions

Create a structured app screen from JSON elements.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "elements": "<elements>"
    },
    "name": "figma_generate_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameYes
widthNo
heightNo
elementsYes
parentIdNo
screenKeyNo
backgroundColorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.3/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 behavioral burden, yet it discloses nothing beyond the word "Create". It does not say whether the screen is registered in the screen registry (there is a sibling figma_get_screen_registry), whether parentId/screenKey are required for certain behaviors, what happens on name collision, or what the response contains.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but the brevity reflects under-specification rather than discipline. There is room for a clause on what a screen is and how it relates to the sibling creation tools.

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?

A 9-parameter mutation tool with zero annotation coverage, zero parameter documentation, and no output schema needs substantial description to be invocable correctly. One sentence leaves the agent guessing about nearly every parameter and about the tool's side effects, which is inadequate for 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% across 9 parameters, so the description must compensate and largely fails. The phrase "from JSON elements" hints at the required `elements` array, but name, x, y, width, height, parentId, screenKey, and backgroundColor receive no meaning at all — notably screenKey and parentId, whose semantics are impossible to guess.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb ("Create") and a resource ("a structured app screen from JSON elements"), which is more than a tautology of the name. However, "structured app screen" is undefined, and the description gives no way to distinguish this tool from siblings like figma_create_screen_frames or figma_create_frame, so the agent cannot tell which generator applies.

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 or when-not-to-use guidance, and no alternative tool is named. The agent must infer from the name alone whether this is the screen generator, a frame generator, or a diagram generator.

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