Skip to main content
Glama
Google Sheets MCP
by heist1337

Sheets Write

sheets_write
Destructive

Replace values in an approved A1 range of a spreadsheet, defaulting to RAW; read the range back before retrying uncertain writes to prevent incorrect or duplicate updates.

Instructions

Replace values in the approved A1 range. Default RAW; read back before retrying uncertain writes.

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

Input Schema

NameRequiredDescriptionDefault
rangeYes
valuesYes
parametersNo
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is largely carried by structured data. The description adds real value beyond that by warning against blind retries and by naming the default input mode (RAW). It still omits what a replace actually destroys (existing values across the full range, formatting, formulas) and any auth or quota constraints.

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?

Two short clauses, front-loaded with the action and the addressing scope, with no padding. The compactness is only slightly costly: 'approved' is doing unclear work and the retry advice is stated without the read-back tool being named. Terseness here borders on under-specification rather than elegance.

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?

An output schema exists, so return values need not be explained, and annotations fully cover the mutation risk profile. What remains missing is material for a four-parameter write: the purpose of the anonymous 'parameters' object, the expected shape of 'values', and any statement of what a replace does to pre-existing content. Adequate to invoke, thin for invoking correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Scoring note: this dimension's baseline is set by schema coverage, which is 0% here, so the description must carry the burden. The 'parameters' anyOf object is undocumented in both schema and description, and 'values' shape is never described, but the 'Default RAW' hint partially covers the input-value mode even though no such parameter appears in the schema. I therefore score this 4 rather than the maximum.

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?

'Replace values in the approved A1 range' names a concrete verb (replace), the resource (values), and the addressing scheme (A1 range), which is enough to separate it from sheets_read and sheets_get. It is weaker against sheets_batch_update, since nothing here explains when a single write beats a batch write. The word 'approved' is unexplained and could mislead an agent into thinking a separate approval step exists.

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?

The only usage guidance is 'read back before retrying uncertain writes', which is a genuinely useful retry policy for a non-idempotent write but covers just one scenario. There is no statement of when to choose this over sheets_batch_update, no mention of overwrite versus append semantics, and no preconditions such as required scopes. Usage is implied rather than specified.

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