Skip to main content
Glama

Insert page divider

editor_insertPageDivider

Insert a page divider to split the form into multiple pages. For a post-submit thank-you page, ALWAYS pass isThankYouPage: true; otherwise it is a normal pre-submit page. A page divider is a flat break marker, NOT a container: it holds only its name label. The new page's content is the sibling nodes that FOLLOW the divider at the document root — add each header/paragraph/question with a separate insert using after (chain via $prev), never by passing parentId = the divider. A submit-button is automatically prepended to mark the end of the previous page; the form retains its trailing submit-button for the final page, so multi-page forms have one submit-button per page (this is expected, not duplication). Pass after = id of the last content node of the page being closed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPage name/label
afterNoNodeId to insert after. Use $prev to chain. Omitting appends to end (usually wrong).
formIdYesForm ID to insert into
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.
isThankYouPageNoSet true for a thank-you page that is shown only after a successful submission.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With annotations covering the safety profile (readOnlyHint=false, destructiveHint=false), the description adds substantial non-obvious behavior: a submit-button is automatically prepended, the form retains its trailing submit-button, and multi-page forms having one submit-button per page is expected rather than duplication. It also clarifies the divider is not a container and only holds a name label.

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?

The purpose is front-loaded in the first sentence, followed by critical usage constraints and behavioral gotchas in a logical sequence. Despite being longer than a one-liner, every sentence conveys a distinct instruction or warning relevant to correct invocation.

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

Completeness5/5

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

Given the tool's complexity, the 100% schema coverage, and the absence of an output schema, the description is complete enough. It covers the key structural and sequencing gotchas an agent needs without needing to explain return values.

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 description coverage is 100%, so the schema already documents all six parameters. The description still adds meaningful semantic constraints beyond the schema: isThankYouPage must be true for thank-you pages, parentId must not be set to the divider, and after should reference the last content node of the page being closed.

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?

The description states a specific verb and resource ('Insert a page divider'), explains the resulting structure ('split the form into multiple pages'), and distinguishes the divider from content-insertion siblings by clarifying it is a flat break marker, not a container. An agent can identify the tool's role without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance ('For a post-submit thank-you page, ALWAYS pass isThankYouPage: true'), explains how to add page content (separate inserts using after, chaining via $prev), and names the wrong approach to avoid ('never by passing parentId = the divider'). It also specifies after = id of the last content node.

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.