Skip to main content
Glama
google-sheets-mcp
by ezrazhang7

Delete a sheet (tab)

delete_sheet
Destructive

Delete a specified sheet or tab and remove all its data from a Google spreadsheet by providing the spreadsheet ID or URL and sheet name.

Instructions

Delete a sheet (tab) and all of its data from a spreadsheet.

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>",
      "sheet": "<sheet>"
    },
    "name": "delete_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetYesName of the sheet to delete
spreadsheetIdYesSpreadsheet ID or full Google Sheets URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

B3.2/5.0
Behavior3/5

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

The destructiveHint annotation already flags this as a destructive operation, so the description's main added value is scoping the damage ('and all of its data'), which tells the agent the tab's contents go with it. It does not state that the deletion is irreversible or whether an undo path exists, which is the key remaining behavioral question for a destructive tool.

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?

A single tight sentence with the object of the action front-loaded and no filler. It is perhaps too terse given the destructive nature of the tool, but nothing is wasted.

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 two-parameter destructive tool with full schema coverage and a destructiveHint annotation, the essentials are present. What is missing is the irreversibility warning and any steer toward clear_range when the user wants to keep the tab, which matters for a tool that silently removes an entire tab.

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 description coverage is 100%; both parameters, including the 'ID or full Google Sheets URL' flexibility, are fully documented in the schema. The description adds no meaning beyond that, so the baseline 3 applies.

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 (delete) and resource (a sheet/tab), and the parenthetical '(tab)' disambiguates it from row/column operations in the sibling set. It stops short of naming a specific sibling to contrast with, but the scope is unambiguous.

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 or when-not-to-use guidance. In particular it never distinguishes this from clear_range, which empties a tab but keeps it, or from delete_rows/delete_columns, which remove content without removing the tab itself.

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