Skip to main content
Glama

duplicate_sheet

Destructive

Duplicates a sheet tab within the same spreadsheet and optionally assigns a new name or insertion position, enabling local copies of existing sheets.

Instructions

Duplicate a sheet tab within the same spreadsheet.

Distinct from copy_sheet, which copies a sheet across spreadsheets.

Args: spreadsheet_id: The ID of the spreadsheet sheet: The name of the sheet to duplicate new_name: Optional title for the new sheet. Defaults to Google's auto-generated name (e.g. "Copy of Sheet1") if omitted. insert_index: Optional 0-based tab position for the new sheet. Defaults to immediately after the source sheet if omitted.

Returns: Information about the newly created sheet

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": {
      "spreadsheet_id": "<spreadsheet_id>",
      "sheet": "<sheet>"
    },
    "name": "duplicate_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetYes
new_nameNo
insert_indexNo
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.4/5.0
Behavior3/5

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

Annotations supply only destructiveHint=true, so the extra value here is the disclosure of defaulting behavior: auto-generated names like "Copy of Sheet1" and insertion immediately after the source sheet. It does not say whether the source sheet is affected, what permissions are required, or whether the new tab is linked to anything, leaving the destructive flag unexplained. Useful but partial behavioral context beyond the annotations.

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?

A one-sentence purpose plus a one-sentence sibling distinction up front, followed by compact Args/Returns blocks. Every line adds information; nothing is restated from the name or the schema.

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 4-parameter mutation tool with an output schema, the definition covers purpose, disambiguation, each parameter's default, and a return summary. The only shortfall is the absence of permission/error context for a write operation flagged as destructive.

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 0%, so the description carries the burden and largely meets it: new_name's default and format, insert_index's 0-based convention and default position, and sheet's meaning are all clarified. Only spreadsheet_id is described minimally ("The ID of the spreadsheet"), which is the one unresolved semantic.

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 ("Duplicate a sheet tab within the same spreadsheet") and immediately scopes it against the closest sibling, copy_sheet. An agent can distinguish it from copy_sheet, create_sheet, and rename_sheet without opening any 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?

The definition gives both the use condition (same spreadsheet) and the alternative that selects otherwise (copy_sheet, for cross-spreadsheet copies). That is explicit when-to-use plus an exclusion, not merely implied context.

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

Deploy Server

Other Tools