Skip to main content
Glama

delete_sheet

Destructive

Deletes a specified sheet tab from a Google Spreadsheet by spreadsheet ID and sheet name, useful for removing unneeded tabs during workbook cleanup.

Instructions

Delete a sheet tab from a Google Spreadsheet.

Args: spreadsheet_id: The ID of the spreadsheet (found in the URL) sheet: The name of the sheet to delete

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

Input Schema

NameRequiredDescriptionDefault
sheetYes
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether the deletion is permanent, whether sheet data is lost with the tab, whether it can be undone, or what permissions are needed. "Returns: Result of the operation" is effectively tautological.

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?

The core action is front-loaded in the first sentence, and the Args block is tight and scannable. The Returns line is filler since an output schema already exists, but the overall footprint is small and waste is minimal.

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?

With an output schema present and both parameters documented, the essentials for invocation are covered. For an irreversible destructive operation, however, the definition omits the consequences (data loss, irreversibility, required access) that would let an agent decide whether to confirm with the user first.

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 full burden and does so reasonably: it identifies spreadsheet_id as coming from the URL and clarifies that 'sheet' is the sheet's name rather than an ID — a distinction that matters given sibling tools use various identifiers. It stops short of format examples or name-matching rules.

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?

"Delete a sheet tab from a Google Spreadsheet" gives a specific verb (delete) plus a precise resource (sheet tab within a spreadsheet), so the agent knows exactly what is removed. It does not distinguish itself from nearby destructive siblings such as delete_rows or delete_columns, but the resource noun is specific enough to route correctly.

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, no prerequisite statement (e.g., that the sheet must exist or that the caller needs edit access), and no pointer to alternatives for other deletion granularities. The only guidance is implied by the verb.

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