Skip to main content
Glama

drive_append_rows

Add rows after the last row of a Google Sheet in the registered Google Drive folders. Values are entered as if typed (numbers, dates and formulas are recognised). For a Google Doc use drive.append.

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": {
      "file": "<file>",
      "rows": "<rows>"
    },
    "name": "drive_append_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesDrive id or pasted link of a Google Sheet.
rowsYesRows to add: a list of rows, each a list of cell values.
sheetNoName of the sheet (tab). Default: the first one.
create_tabNoAdd the sheet (tab) first when `sheet` names one that does not exist. OMIT to refuse a missing tab (the answer lists the tabs); true adds it.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / create_tab
      Added value: +{
      +  "description": "Add the sheet (tab) first when `sheet` names one that does not exist. OMIT to refuse a missing tab (the answer lists the tabs); true adds it.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation and safety profile is covered. The description adds genuine value with the type-coercion note (numbers, dates and formulas recognised) and append-position semantics. It says nothing about duplicate rows on repeated calls, permission requirements, or failure behavior on a missing file, which are the remaining behavioral questions for a non-idempotent write.

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 short sentences, front-loaded with the core action and scope, then the coercion caveat, then the sibling routing. No sentence could be removed without losing information.

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 five-parameter write tool with full schema coverage and annotations, the description covers purpose, parsing behavior and the main alternative. It leaves minor gaps around duplicate appends and error cases, but with no output schema and detailed parameter docs, nothing essential 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% and each of the five parameters carries its own explanation, including the create_tab refuse/add behavior and the in_workspace scope. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource ('Add rows after the last row of a Google Sheet') and names the placement and scope ('registered Google Drive folders'). It also explicitly distinguishes itself from drive_append, which is the Doc counterpart, so an agent can tell the two apart 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 Guidelines4/5

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

Gives a clear routing rule for the Doc-vs-Sheet decision ('For a Google Doc use drive.append'), which is the main confusion risk for this family. It does not address when to prefer drive_update_range over appending, so it falls short of full when/when-not coverage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.