Skip to main content
Glama

Kalpana Designer

Copy pages

duplicate

Copy pages into the same or a new template. Each copy keeps its layers, layer ids, names, motion and input descriptions, and never replaces a page or a template. Returns the template_id and each copy's page_id and name. With template_id, the copies are added to that template (it can be the pages' own template). Without template_id, a new template is made and the first copy is its first page. To copy a whole template, give all its pages from list_pages. With width and height, each copy gets that page size, and the flows and constraints place its layers again: render the copy and adjust it for the new size. Use it for the slides of a carousel (then restyle them together with update_layers page_ids) and for other sizes of a finished design (plan each size first: design_guide topic sizes); to add an empty page use create_design with template_id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_ids": "<page_ids>"
    },
    "name": "duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe new template's name (default: the source template's name with "copy").
widthNoPage width of each copy in px, with height.
heightNoPage height of each copy in px, with width.
page_idsYesThe pages to copy, in order (their page_ids from list_pages or create_design).
template_idNoAdd the copies to this template. Leave it out to make a new template.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / page_ids / description
      Previous value: -"The pages to copy, in order (their page_ids from pages list or create_design)."New value: +"The pages to copy, in order (their page_ids from list_pages or create_design)."
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description usefully adds the strongest behavioral claim — copies 'never replace a page or a template.' It also lists what is preserved (layers, layer ids, names, motion, input descriptions) and what the response contains. However, the output-schema-free return description is generic ('template_id and each copy's page_id and name') and there is no discussion of ordering guarantees for page_ids, limits, or cost of large copies.

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 core action and the 'never replaces' guarantee, then conditions, then use cases. It is dense and slightly run-on in the width/height clause ('the flows and constraints place its layers again: render the copy and adjust it for the new size'), but every sentence carries information.

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?

For a copy tool with 5 params, 100% schema coverage, no output schema, and non-destructive annotations, the description covers target selection, sizing consequences, return shape, and alternatives. Nothing essential to correct invocation is missing.

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 adds real semantic weight: template_id present vs absent changes whether a new template is created and which copy becomes its first page, and width/height trigger re-flow of layers and constraints requiring a render-and-adjust pass. It also clarifies name defaults implicitly via the schema.

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 (copy pages) plus the scope (into the same or a new template), and immediately distinguishes itself from create_design and update_layers by naming those alternatives. An agent can tell it apart from siblings like create_design or make_carousel without opening a schema.

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?

Explicitly routes usage: carousel slides (then restyle with update_layers page_ids), other sizes of a finished design (plan sizes first via design_guide topic sizes), copying a whole template (feed all pages from list_pages), and adds an exclusion — 'to add an empty page use create_design with template_id.' Both when-to-use and when-not-to-use are covered.

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.

Resources