Skip to main content
Glama

Duplicate Sheet Page Or Folder

item_tree.duplicate

Copy a sheet (structure and rows), a page, a whiteboard, a Vista page, or a folder with what is in it, into a space or folder. Ids come from workspace.structure (an item's refId).

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": {
      "toSpaceId": "<toSpaceId>"
    },
    "name": "item_tree.duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNo
sheetIdNoThe sheet to copy (give exactly one of sheetId, pageId, whiteboardId, vistaId, folderId)
vistaIdNoA Vista page
folderIdNoA folder is copied, with the sheets, pages and whiteboards in it, within its own space
toSpaceIdYesThe space the copy goes to
toFolderIdNoA folder of `toSpaceId`; omit for the top of the space
whiteboardIdNo

Output Schema

NameRequiredDescriptionDefault
kindYes
nameYesThe name of what was copied
locationYesWhere the copy sits
sourceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / folderId / description
      Previous value: -"A folder is copied, with the sheets and pages in it, within its own space"New value: +"A folder is copied, with the sheets, pages and whiteboards in it, within its own space"
    • changedInput schema / properties / sheetId / description
      Previous value: -"The sheet to copy (give exactly one of sheetId, pageId, folderId)"New value: +"The sheet to copy (give exactly one of sheetId, pageId, whiteboardId, vistaId, folderId)"
    • addedInput schema / properties / vistaId
      Added value: +{
      +  "description": "A Vista page",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / whiteboardId
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / kind / enum
      Previous value: -[
      -  "sheet",
      -  "page",
      -  "folder"
      -]New value: +[
      +  "sheet",
      +  "page",
      +  "whiteboard",
      +  "vista",
      +  "folder"
      +]
  2. Changed4 schema fields changed
    • removedOutput schema / properties / location / properties / folderId / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / location / properties / folderId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / location / properties / folderName / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / location / properties / folderName / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-readOnly, non-destructive, non-idempotent, closed-world behavior, so the safety profile is covered. The description adds genuinely new behavioral detail: a folder is copied recursively with the sheets, pages, and whiteboards inside it, and a sheet copy includes structure and rows. It does not mention permission requirements or how the copy is named, which keeps it out of the top band.

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, front-loaded with the operation and its supported item types, followed by the id-sourcing note. No filler or redundant restatement of the title.

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?

With 7 parameters, an output schema present, and 71% schema description coverage, the description supplies enough to call the tool correctly. The remaining gaps (permissions on the destination space, naming of the resulting copy) are minor given the annotation and output-schema coverage.

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 71%, and the schema already documents the exactly-one-of constraint and the toFolderId default. The description's high-value addition is explaining that the integer ids are `refId` values obtained from `workspace.structure`, which the schema does not state and which an agent needs to supply valid arguments.

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 ("Copy") and enumerates the exact resource types it handles (sheet, page, whiteboard, Vista page, folder), plus the destination (a space or folder). It also clarifies that sheet copies include "structure and rows" and folder copies include their contents, which distinguishes it from move/create siblings. It stops just short of naming the contrasting operation (item_tree.move) explicitly.

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 gives one useful usage signal: ids come from `workspace.structure` (an item's `refId`), which tells the agent where to source arguments. However, there is no explicit when-to-use/when-not guidance versus alternatives such as item_tree.move, sheet.create, or item.create_humanized, and no stated prerequisites for the destination space.

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