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

Delete columns

delete_columns
Destructive

Remove entire columns from a Google Sheets spreadsheet by start column and count, shifting remaining columns left to eliminate the selected columns and their values.

Instructions

Delete entire columns, shifting the columns to the right left. This removes the columns themselves, not just their values.

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>",
      "startColumn": "<startColumn>"
    },
    "name": "delete_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many to affect
sheetNoSheet (tab) name; defaults to the first sheet
startColumnYesColumn letter where the operation starts, e.g. "C"
spreadsheetIdYesSpreadsheet ID or full Google Sheets URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A3.6/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 added value is the shift semantics: columns to the right move left. That is useful behavioral context for a schema-altering mutation. It does not mention irreversibility, effect on formulas or references pointing at the removed columns, or required permissions, which are meaningful gaps for a destructive structural edit.

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 with no waste. The core action is front-loaded and the disambiguating clause follows immediately, making it easy to scan before invoking a destructive tool.

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

Completeness4/5

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

For a four-parameter destructive tool with no output schema, the description covers the essential mechanics (entire columns, left-shift of trailing columns) and the destructive nature is carried by annotations. Remaining gaps around irreversibility and effects on dependent formulas or references keep it from being fully complete.

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%, so startColumn, count, sheet, and spreadsheetId are already documented in the schema. The description adds no format, indexing, or edge-case detail (for example behavior when startColumn plus count exceeds the sheet width), so the baseline of 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?

"Delete entire columns" names a specific verb and resource, and the follow-up clarifies that the columns themselves are removed rather than their values, which implicitly separates it from value-clearing siblings like clear_range. It stops short of naming an explicit alternative, so the differentiation is inferred rather than stated.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternatives. The clause "not just their values" implies the choice against a clear-values operation, but the agent must infer that a structural change (versus a value reset) is the intended use case.

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