Skip to main content
Glama

create_table

Creates a FigJam table from a 2D array of cell strings, with optional rows, columns, font size, header fill, and per-cell error reporting.

Instructions

Create a FigJam table (FigJam only). rows/columns default to the size of cells (or 2x2). cells is a 2D array of strings [row][column]; fonts are loaded automatically. Per-cell failures are reported in errors.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
fileNoTarget file (fileKey, id or name). Defaults to the most recently active file.
nameNo
rowsNo
cellsNo
columnsNo
fontSizeNo
parentIdNo
headerFillNoHex fill for the first row

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, the description carries the full burden, and it does add genuinely useful behavior: rows/columns infer from cells with a 2x2 fallback, fonts load automatically, and per-cell failures surface in `errors` instead of aborting. It still omits mutation/permission implications, coordinate semantics for x/y, and what parentId does when set, so the disclosure is partial rather than complete.

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?

Front-loaded with the action and the platform restriction, then the defaults, then the array format, then error behavior — a sensible priority order with no filler. It is dense but readable; a slightly cleaner separation of the cells format from the defaults sentence would earn a 5.

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 10-parameter mutation tool with no annotations and no output schema, the description covers the core mechanics (cells layout, dimension defaults, font loading, partial-failure reporting) but leaves positioning, naming, parenting, and styling parameters unaddressed. It is adequate to make a successful basic call, not to fully understand the tool's surface.

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 coverage is only 20% across 10 parameters, so the description must compensate, and it partly does: the `cells` shape is clarified as a 2D string array indexed [row][column], and rows/columns defaulting behavior is explained. It says nothing about x, y, name, parentId, fontSize, or headerFill, leaving most parameters undocumented in both places.

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 names a specific verb and resource ('Create a FigJam table') and immediately scopes it with '(FigJam only)', which separates it from shape/frame/connector siblings that also create canvas content. It stops short of naming a concrete alternative to use for non-FigJam files, but the resource is unambiguous.

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 FigJam-only constraint implicitly tells the agent when this tool applies versus other creation tools, which is real routing value. However, there is no explicit 'use X instead for Design files' statement, no mention of prerequisites such as file targeting, and no guidance on when to omit cells and rely on rows/columns defaults.

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