Skip to main content
Glama

Insert row

editor_insertRow

Insert a row layout element with 1-6 columns for a side-by-side layout. Returns columnIds left to right — pass one as parentId (position: "last") to the insert that fills it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoNodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong).
formIdYesForm ID to insert into
columnsYesNumber of columns (1-6)
parentIdNoParent node ID to insert into (e.g., column1)
positionNoPosition among siblings: inside parentId when given, else at the top level ('first' = top of the form, e.g. a title). Not combinable with after.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations mark this as a non-destructive, non-open-world write, so safety is covered; the description adds genuinely new behavioral context by disclosing the return shape ('columnIds left to right') and the intended chaining mechanism, which matters because there is no output schema. It stops short of saying what happens to existing siblings or the form layout on insert.

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

Conciseness5/5

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

Two sentences, zero waste, with the core purpose front-loaded and the follow-up workflow second. Nothing is repeated from the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write tool with no output schema, the description covers what is created and what is returned plus how to consume it, which is close to complete. It could add a note on ordering pitfalls or whether the row must be inserted into a specific parent, but the gaps are minor.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description goes beyond it by tying the returned columnIds to the parentId and position parameters, explaining the relationship between inputs and outputs rather than merely naming fields.

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

Purpose5/5

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

States a specific verb and resource ('Insert a row layout element with 1-6 columns') and clarifies the intent ('side-by-side layout'), which cleanly separates it from siblings like editor_insertTable or editor_insertList. An agent knows what this creates without opening the schema.

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?

It describes the follow-up pattern (use a returned columnId as parentId with position 'last' to fill the row), which implies a workflow, but never states when to use this tool versus alternatives such as editor_insertTable or editor_insertRepeatingGroup, nor any prerequisites. Usage is implied rather than guided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.