Skip to main content
Glama
nabheet

google-services-mcp

by nabheet

Insert rows

google_sheets_insert_rows

Insert blank rows into a Google Sheets tab at a specified 0-based row index, with an optional row count, to make space for new data.

Instructions

Insert blank rows into a sheet 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 where rows are inserted.
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

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state that existing rows shift down, whether surrounding formulas/references are adjusted, whether any formatting is applied to the new blank rows, or what permissions are required. Only the bare mutation is conveyed.

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; the index semantic is included because it is operationally important. It is arguably too terse for a mutation tool, but nothing in it 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?

Parameters are fully covered by the schema, so the only real gap is behavioral: row-shifting effects and side effects of the insert are undocumented for a write operation with zero annotations and no output schema. Minimum viable for a simple insert, but not 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%, and the description only restates the '0-based row index' detail already documented on startIndex. It adds no meaning beyond the schema, 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 and resource ('Insert blank rows into a sheet') and a location semantic, which cleanly separates it from google_sheets_delete_rows and google_sheets_append. It does not name any sibling explicitly, so differentiation is implicit 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus google_sheets_append (add at end) or google_sheets_write (overwrite existing cells), which are the two obvious confusable siblings. The agent must infer the choice from the tool name alone.

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