Skip to main content
Glama
FigJam MCP Server

FigJam MCP Server

create_shape

Create resizable diagram shapes with text, colors, and custom sizes to build clear FigJam diagrams.

Instructions

Create a shape with text — the PRIMARY building block for diagrams. Resizable to any size. See figjam://schema for shape types, colors, and sizing guide.

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": {
      "shapeType": "<shapeType>"
    },
    "name": "create_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoX position (default: 0)
yNoY position (default: 0)
textNoText inside the shape
colorNoShape fill color. ALWAYS prefer LIGHT_* variants for readable dark text on light background (default: LIGHT_BLUE)
widthNoWidth in px (default: 200). Shapes are resizable to any size
heightNoHeight in px (default: 100). Shapes are resizable to any size
shapeTypeYesShape type — pick the shape that best matches the element semantics

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and discloses only that shapes are resizable to any size and that a schema resource exists for types/colors/sizing. It is silent on the coordinate system for x/y, board bounds or failure behavior, and whether an identifier is returned that later tools like create_connector need.

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?

Two short sentences and a pointer, front-loaded with the verb and the primary use case. The 'Resizable to any size' clause is largely duplicated by the width/height schema descriptions, a minor redundancy.

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?

For a 7-parameter creation tool with no annotations and no output schema, the definition is adequate but incomplete: it never says what is returned (e.g., an element ID) or how the created shape integrates with connect/align/update tools, which an agent chaining calls would need.

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 100% and the enums are annotated in the schema, so the schema already explains every parameter including defaults and the LIGHT_* color preference. The description adds only the reinforcement that shapes can be sized arbitrarily, which the width/height descriptions already state.

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 and resource ('Create a shape with text') and frames it as a diagram building block, which separates it from create_text and create_sticky in the sibling set. It stops short of explicitly differentiating against every related creation tool.

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 PRIMARY building block for diagrams' implies when to reach for it, and the pointer to figjam://schema covers shape-type selection. However, there is no explicit when-not guidance or named alternative (e.g., sticky notes vs. plain text vs. sections) for cases where a shape is the wrong element.

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