Skip to main content
Glama
nabheet

google-services-mcp

by nabheet

Delete rows

google_sheets_delete_rows

Deletes one or more rows from a Google Sheets sheet starting at a specified 0-based row index, enabling precise cleanup or restructuring of spreadsheet data.

Instructions

Delete rows from a sheet starting at a 0-based row index.

Input Schema

NameRequiredDescriptionDefault
accountNoAccount nickname to use.
numRowsNoNumber of rows (default 1).
sheetIdYesNumeric sheet ID (from google_sheets_get metadata).
startIndexYes0-based row index of the first row to delete.
spreadsheetIdYesSpreadsheet ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.95
    • changedInput schema / properties / startIndex / minimum
      Previous value: --9007199254740991New value: +0
  2. Addedv0.1.60

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It identifies deletion but does not disclose that it is destructive/irreversible, required permissions, or what happens to existing data and formulas.

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?

It is a single front-loaded sentence with no filler. The key operation and indexing semantics are stated immediately.

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 five parameters and no annotations or output schema, the description is too thin. It should at least clarify destructive behavior, default row count, and any permission or irreversibility considerations.

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 the baseline is 3. The description restates the 0-based startIndex semantics already documented in the schema and does not add meaning for spreadsheetId, sheetId, numRows, or account.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: "Delete rows from a sheet." It also states the deletion is scoped by a 0-based row index, which clearly distinguishes it from deleting a whole sheet or inserting rows.

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?

It does not explain when to use this tool versus alternatives such as google_sheets_insert_rows or google_sheets_delete_sheet. The index semantics imply row deletion, but no explicit usage conditions or exclusions are provided.

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