Skip to main content
Glama

create_shape_with_text

Create FigJam shapes with editable text for flowcharts and diagrams, including rounded rectangles, cylinders, and queues, with control over size, fill, stroke, and font.

Instructions

Create a FigJam shape with text, e.g. flowchart boxes (FigJam only). shapeType ENG_DATABASE = cylinder, ENG_QUEUE = horizontal cylinder. Default ROUNDED_RECTANGLE 208x208.

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_shape_with_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
fileNoTarget file (fileKey, id or name). Defaults to the most recently active file.
fillNoHex, or 'none'
nameNo
textNo
widthNo
heightNo
strokeNoHex, or 'none'
fontSizeNo
parentIdNo
shapeTypeNo
textColorNoHex
strokeWeightNo

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?

No annotations exist, so the description carries the full burden. It does disclose valuable behavior: the FigJam-only restriction and the default shapeType and 208x208 dimensions applied when unspecified. It omits other meaningful behavior for a creation tool, such as coordinate origin, whether parentId is required for placement, and whether text is mandatory.

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?

Three terse sentences, front-loaded with the core action and platform constraint, then enum clarification and defaults. Every clause carries information; the telegraphic style is dense but not padded.

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 14-parameter creation tool with no annotations and no output schema, the description covers the essentials an agent most needs: platform restriction, shape defaults, and the two non-obvious enum mappings. It still leaves the majority of geometric and styling parameters unexplained, so it is adequate rather than complete.

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 only 29% across 14 parameters, so the description must compensate. It adds real meaning for the most confusing enum values (ENG_DATABASE = cylinder, ENG_QUEUE = horizontal cylinder) and states defaults for shapeType, width, and height, but says nothing about x/y coordinate semantics, parentId, fill/stroke, or fontSize.

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 FigJam shape with text') and clarifies that it combines shape plus text, implicitly distinguishing it from the separate create_shape and create_text siblings. The '(FigJam only)' scope note further narrows the purpose, though no sibling is named explicitly.

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 'e.g. flowchart boxes (FigJam only)' phrasing implies the intended use case and the platform restriction, which is useful context. However, it never says when to prefer this over create_shape plus create_text, nor what happens if used in a Figma design file, leaving the alternative-selection decision to inference.

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