Skip to main content
Glama
Google Sheets MCP Server

Google Sheets MCP Server

by xmqywx

delete_sheet

Deletes a specific tab from a Google Sheets spreadsheet using the spreadsheet ID and sheet ID, removing unwanted or obsolete sheets.

Instructions

Delete a sheet/tab 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>",
      "sheetId": "<sheetId>"
    },
    "name": "delete_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetIdYesThe numeric ID of the sheet to delete (from list_sheets)
spreadsheetIdYesThe ID of the spreadsheet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/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 burden for a destructive operation. It does not say the deletion is irreversible, that all data and formatting in the tab are lost, whether permissions are required, or whether the response returns anything; only the bare verb is disclosed.

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 front-loaded sentence with no filler. It is terse to the point of under-specification, but nothing in it is wasted.

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

Completeness2/5

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

For a destructive mutation with no annotations and no output schema, an agent needs to know irreversibility and side effects before calling. The definition documents neither, leaving a meaningful gap relative to the tool's risk.

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%, and the schema already explains that sheetId is numeric and comes from list_sheets and that spreadsheetId identifies the target file. The description adds no format or sourcing detail 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 (sheet/tab in a spreadsheet), which an agent can immediately distinguish from siblings like add_sheet or clear_range. It stops short of naming which sibling to use instead when the intent is ambiguous.

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?

No guidance on when to use this versus alternatives such as clear_range (which removes contents but keeps the tab) or add_sheet. No prerequisites, no mention that IDs should come from list_sheets even though the schema hints at it.

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