Skip to main content
Glama

renameSheet

Rename a sheet tab in a Google Sheets spreadsheet by specifying the spreadsheet ID, numeric sheet ID, and new name. Use getSpreadsheetInfo first to find the sheet ID.

Instructions

Renames a sheet (tab) in a spreadsheet. Use getSpreadsheetInfo to find the numeric sheet 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": {
      "spreadsheetId": "<spreadsheetId>",
      "sheetId": "<sheetId>",
      "newName": "<newName>"
    },
    "name": "renameSheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
newNameYesThe new name for the sheet.
sheetIdYesThe numeric sheet ID to rename. Use getSpreadsheetInfo to find sheet IDs.
spreadsheetIdYesThe spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: no mention of permission requirements, what happens if the new name collides with an existing sheet name, or whether the change is reversible. For a mutation tool with zero annotation coverage, this is a substantial gap beyond the single fact that it mutates.

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 short sentences, operation stated first, prerequisite second. Nothing is wasted and the key fact is front-loaded.

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?

The tool is low complexity and the schema is fully documented, but with no annotations and no output schema the description should at least say what a successful rename returns or how errors (duplicate name, missing sheet) surface. Adequate to invoke, not adequate to predict behavior.

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 100%, so all three parameters are already documented in the schema, including the getSpreadsheetInfo hint on sheetId. The description adds essentially no meaning beyond that, repeating the same guidance about locating the sheet ID — baseline 3 applies when the schema does the heavy lifting.

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: "Renames a sheet (tab) in a spreadsheet," which is unambiguous about the operation. It does not, however, differentiate itself from similarly named siblings such as renameTab or renameFile, leaving the agent to infer which rename applies to which resource.

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?

The second sentence gives a useful prerequisite — call getSpreadsheetInfo to obtain the numeric sheet ID — which is actionable guidance for invoking the tool. But it offers no when-to-use vs. when-not guidance and no guidance on selecting between this and other rename operations.

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