Skip to main content
Glama

pages_add

Adds a new page to a document for building multi-page catalogs, brochures, lookbooks, magazines, or pitch decks. Set title, dimensions, background color, and optionally clone current canvas content.

Instructions

Adds a new page to the document. Ideal for designing multi-page catalogs, product lookbooks, brochures, magazines, and pitch decks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoTitle or label for the page (e.g. "Page 2 - Products Grid", "Features", "Back Cover")
widthNoPage width in pixels (defaults to current canvas width)
heightNoPage height in pixels (defaults to current canvas height)
bgColorNoBackground color hex (default "#ffffff")
switchNowNoAutomatically switch active canvas view to the newly created page
copyCurrentNoWhether to clone existing canvas content to the new page as a starting template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.7

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a document mutation but says nothing about side effects, whether the current view is switched (that is only in the schema's switchNow), permissions required, or what the result looks like.

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

Conciseness3/5

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

The core purpose is front-loaded in the first sentence, which is good. The second sentence is largely promotional ('Ideal for...') and does not earn its place by helping an agent decide or invoke, so it dilutes the conciseness.

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

Completeness2/5

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

For a 6-parameter mutation tool with no annotations and no output schema, the description omits behavioral context entirely (side effects, view switching, cloning semantics). The parameter schema is complete, but the definition leaves the agent without the operational context this tool type needs.

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%, so all six parameters (title, width, height, bgColor, switchNow, copyCurrent) are already documented with defaults and examples. The description adds nothing beyond the schema, so the baseline 3 applies.

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?

States a clear verb+resource: 'Adds a new page to the document.' This distinguishes it from siblings like pages_switch, pages_duplicate, and pages_delete by function. However, it never names those alternatives, so differentiation is inferred rather than explicit.

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

Usage Guidelines2/5

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

The second sentence ('Ideal for designing multi-page catalogs, product lookbooks...') is marketing-oriented use-case color rather than actionable when-to-use guidance. It gives no condition for choosing pages_add over canvas_create_new or pages_duplicate, and no prerequisites.

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