Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_generate_diagram

figma_generate_diagram

Generate structured diagram frames with labeled boxes and connector lines in Figma to map flows, systems, or processes.

Instructions

Create a structured diagram frame with boxes and connector lines.

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": {
      "nodes": "<nodes>"
    },
    "name": "figma_generate_diagram"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
nameNo
edgesNo
nodesYes
widthNo
heightNo
parentIdNo
screenKeyNo
backgroundColorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.4/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. It implies a mutation that creates a frame, but does not disclose permissions, whether the frame is added to the current page or parent, coordinate behavior, failure modes, or what is returned. For a creation tool with nested nodes and edges, this is a significant 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?

The description is a single front-loaded sentence with no wasted wording. It is concise and easy to scan, though its brevity leaves needed detail to other dimensions.

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?

This is a complex creation tool with 10 parameters, required nested nodes, optional edges, and no output schema or annotations. A one-sentence description does not provide enough context for an agent to invoke it correctly, especially regarding node and edge structure, coordinate semantics, and parent placement.

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

Parameters1/5

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

Schema description coverage is 0% across 10 parameters, including required nodes and optional edges, coordinates, dimensions, parentId, screenKey, and backgroundColor. The description mentions only "boxes and connector lines" in passing and does not explain any parameter's meaning or format, so it fails to compensate for the schema gap.

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 uses a specific verb and resource: "Create a structured diagram frame with boxes and connector lines." This clearly tells an agent it builds a diagram with nodes and edges, distinguishing it from generic frame or shape creation. It stops short of naming sibling alternatives, so a 4 rather than 5.

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 explicit guidance on when to use this tool versus siblings like figma_create_frame, figma_create_screen_frames, or figma_generate_screen. The word "diagram" implies a use case, but the description gives no exclusions, prerequisites, or alternative conditions.

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