Skip to main content
Glama

rename_sheet

Destructive

Rename a sheet in a Google Spreadsheet by specifying the spreadsheet ID, current sheet name, and new name to update tab labels without altering sheet data.

Instructions

Rename a sheet in a Google Spreadsheet.

Args: spreadsheet: Spreadsheet ID sheet: Current sheet name new_name: New sheet name

Returns: Result of the operation

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": "<spreadsheet>",
      "sheet": "<sheet>",
      "new_name": "<new_name>"
    },
    "name": "rename_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetYes
new_nameYes
spreadsheetYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true; the description adds nothing about what is actually put at risk (formula/reference breakage, name collisions, failure modes) or about permissions. 'Returns: Result of the operation' is empty filler rather than behavioral disclosure.

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 one-line purpose followed by a compact Args list is easy to scan and wastes little. The Returns section is dead weight given an output schema already exists.

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

Completeness3/5

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

For a 3-parameter destructive mutation the parameter meaning is adequately covered and an output schema handles return values. What is missing is any behavioral context an agent would want before renaming: whether the old name must exist, what happens on collision, and whether references to the sheet break.

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 coverage is 0% and the properties are bare titles ('Sheet', 'New Name'), so the Args block genuinely compensates by clarifying that `sheet` is the CURRENT name while `new_name` is the target, and that `spreadsheet` expects an ID. It still doesn't say whether a URL is accepted or what format/restrictions apply to the new name.

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 specific verb and resource: 'Rename a sheet in a Google Spreadsheet.' That distinguishes it from file-level siblings like rename_file and from copy_sheet/delete_sheet, though it never says explicitly whether 'sheet' means a tab within a spreadsheet or a standalone file.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as copy_sheet/duplicate_sheet when a rename is not what the caller wants. The agent must infer everything from the verb alone.

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