Skip to main content
Glama

appendRows

Appends rows to the end of a Google Sheets range, adding data after the last row with content. Use it to insert new records without overwriting existing sheet data.

Instructions

Appends rows to the end of a sheet. Data is added after the last row with content in the specified range.

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

Input Schema

NameRequiredDescriptionDefault
rangeYesA1 notation range indicating where to append (e.g., "A1" or "Sheet1!A1"). Data will be appended starting from this range.
valuesYes2D array of values to append. Each inner array represents a row.
spreadsheetIdYesThe spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL.
valueInputOptionNoHow input data should be interpreted. RAW: values are stored as-is. USER_ENTERED: values are parsed as if typed by a user.USER_ENTERED

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the burden itself. It does disclose one genuinely non-obvious behavior — data lands after the last row with content rather than at the literal range — which prevents a common misassumption. However, it says nothing about required scopes/permissions, what happens if the append exceeds the sheet's grid limits, or how the USER_ENTERED default interprets 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?

Two short sentences, front-loaded with the action and followed immediately by the one behavioral clarification that matters. Nothing is padded and nothing is buried.

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 an unannotated mutation tool with no output schema, the description covers the core insertion behavior adequately but omits the mutation's side effects and result: whether rows are inserted versus overwritten, whether the grid grows, and what the response reports. Those gaps are not fatal given complete parameter documentation, but they leave an agent without full confidence about consequences.

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 all four parameters including the RAW/USER_ENTERED enum are already documented in the schema; the baseline of 3 applies. The description reinforces the range semantics but adds no new parameter-level detail such as formatting, trailing blank columns, or how values interact with the append anchor.

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 gives a specific verb and resource ('Appends rows to the end of a sheet') and adds the exact insertion semantics ('after the last row with content'). That is far more informative than the bare name, but it never distinguishes this tool from siblings such as appendText, appendMarkdown, or appendTableRows, so an agent must infer the boundary itself.

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 prerequisites, and no named alternative. The agent is left to guess whether this is the right append tool versus appendText or appendTableRows, and whether the sheet must already exist.

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