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

Append rows

append_rows

Add new rows directly after the last data row in a Google Sheets tab or specified table range, with strings beginning with '=' entered as formulas.

Instructions

Append rows after the last row of data in a sheet (or of the table containing range). Strings starting with '=' become formulas.

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>",
      "values": "<values>"
    },
    "name": "append_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoOptional A1 range identifying the table to append to; defaults to the whole sheet
sheetNoSheet (tab) name; defaults to the first sheet
valuesYes2D array of cell values, one inner array per row
spreadsheetIdYesSpreadsheet ID or full Google Sheets URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose two genuinely non-obvious behaviors: rows land after the last row of data (or of the table containing `range`), and strings beginning with '=' are interpreted as formulas. It does not mention permissions, whether the sheet auto-expands, or what the call returns, leaving some gaps.

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 placement rule is front-loaded and the formula caveat follows as a compact second clause.

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?

For a 4-parameter mutation tool with no annotations and no output schema, the description covers the essential write semantics but says nothing about the response (e.g., the appended range) or whether the sheet grows to accommodate the data, which an agent would need to chain calls.

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 range, sheet, values, and spreadsheetId are already documented in the schema. The description's formula note duplicates the schema's own cell-value note rather than adding new parameter meaning, so 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?

The description names a specific verb and resource ('Append rows') and adds the precise placement rule: after the last row of data in the sheet, or after the last row of the table containing `range`. That placement semantics distinguishes it from positional siblings like insert_rows, though no sibling is named explicitly.

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?

Usage is only implied by the placement semantics — an agent can infer 'use this to add rows at the end rather than at a specific index,' but there is no explicit when-to-use or when-not-to-use statement and no named alternative.

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