Skip to main content
Glama

Sheets Append Sheet Values

sheets_append_sheet_values

Append new rows below existing Google Sheets table data without overwriting current rows; specify the spreadsheet ID and A1 range to locate the table.

Instructions

Append rows below the existing data of a table in a Google Sheets spreadsheet, leaving the current rows in place. To overwrite a known range use sheets_update_sheet_values; the spreadsheet_id comes from drive_list_files, search_workspace or sheets_create_spreadsheet. Returns status ok, spreadsheet_id, table_range (the table that was found, null on an empty sheet), updated_range, updated_rows, updated_columns, updated_cells and updated_values (the written cells with include_values_in_response, else null).

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": {
      "range_a1": "<range_a1>",
      "spreadsheet_id": "<spreadsheet_id>",
      "values": "<values>"
    },
    "name": "sheets_append_sheet_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesRows to append, each a list of cell values (strings, numbers, booleans), e.g. [['2026-11-03', 'Lunch', 12.5]].
range_a1YesRange that locates the table to append to, e.g. 'Sheet1!A1' or 'Sheet1!A:D'; rows are written after the last row of that table, starting in its first column. Basic A1 notation with an optional sheet prefix: 'Sheet1!A1:C10', 'A1', 'A:C' (whole columns) or '1:5' (whole rows); quote sheet names that contain spaces ('My Sheet'!A1:B2). A bare sheet name or an open-ended range such as A2:C is rejected, and without a prefix the first sheet is used.
spreadsheet_idYesGoogle Sheets spreadsheet ID: the Drive file ID, also the long ID in the spreadsheet's URL.
insert_data_optionNoINSERT_ROWS inserts new rows for the data, shifting any cells below it down; OVERWRITE writes into the cells after the table, replacing whatever is there.INSERT_ROWS
value_input_optionNoHow values are interpreted: USER_ENTERED parses them as if typed into the UI (formulas, numbers, dates); RAW stores them exactly as given, so a string such as '=SUM(A1:A3)' stays text.RAW
include_values_in_responseNoAlso return the written cells, as stored after parsing, in updated_values.

Output Schema

NameRequiredDescriptionDefault
statusNoMachine-readable operation status.
table_rangeNo
updated_rowsNo
updated_cellsNo
updated_rangeNo
spreadsheet_idNo
updated_valuesNo
updated_columnsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-readOnly, non-idempotent, open-world behavior, and the description adds real context on top: existing rows are preserved, table_range is null on an empty sheet, and updated_values is null unless include_values_in_response is set. There is a mild tension between destructiveHint=false and the documented OVERWRITE option that can 'replace whatever is there', but the default INSERT_ROWS and 'leaving the current rows in place' framing keep the primary behavior consistent with the annotations.

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?

Three compact sentences, front-loaded with the core action, then the sibling routing, then the ID source. No filler, and the alternative is stated before the return-value enumeration that a caller only needs secondarily.

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 6-parameter write tool with annotations and an output schema, the description covers action, alternative, ID provenance and the notable edge case (empty sheet). The enumerated return fields duplicate the existing output schema and could be trimmed, but nothing an agent needs to call it correctly is missing.

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 schema already documents every parameter including the enum semantics for insert_data_option and value_input_option. The description adds nothing parameter-specific beyond what the schema states; the null-on-empty-sheet note concerns a return field rather than an input. Baseline 3 is appropriate.

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 first sentence states a specific verb and resource ('Append rows below the existing data of a table in a Google Sheets spreadsheet') and explicitly contrasts the effect with overwriting. An agent can distinguish it from sheets_update_sheet_values purely from the text, without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It names the alternative tool and the condition that selects it ('To overwrite a known range use sheets_update_sheet_values'), and it tells the agent where to obtain the required spreadsheet_id (drive_list_files, search_workspace, sheets_create_spreadsheet). Both the when-to-use and the prerequisite-chaining guidance are explicit.

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