Skip to main content
Glama

Update a cell

update_cell

Set a single Google Sheets cell value by reference, changing only that cell. Use instead of range writes when targeting one cell to avoid accidental changes to nearby data.

Instructions

Changes the value of a single cell. Prefer this over write_range when the target is one cell: it cannot touch anything around it by accident.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellYesSingle-cell reference, e.g. 'Log!D12'.
valueYesNew value. Formulas must start with an equals sign.
spreadsheetIdYesSpreadsheet ID, or its full URL. The ID is the segment between /d/ and /edit in the URL.
valueInputOptionNoUSER_ENTERED parses values as if typed by hand (formulas, dates, numbers). RAW stores them literally as strings.USER_ENTERED

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the key behavioral trait — the write is narrowly scoped to one cell and cannot affect neighbors — which is genuine added value. However, it says nothing about permissions, whether the previous value is overwritten/destroyed, or what the response looks like, leaving gaps for a mutation tool.

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 sentences, zero filler, and the core purpose plus the routing hint are front-loaded. Every clause earns its place.

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 4-parameter mutation tool with no annotations and no output schema, the description covers purpose, scope, and the sibling routing decision well. It would be complete at 5 if it stated the mutation is destructive/overwriting or mentioned the success response, but overall it is adequate.

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 (cell, value, spreadsheetId, valueInputOption) are already documented with formats and enum semantics in the schema. The description adds no parameter detail beyond that, so the 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?

States a specific verb and resource ('Changes the value of a single cell') and immediately differentiates itself from the sibling write_range. An agent can tell exactly what this does and how it differs from the range-writing alternative.

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?

Explicitly names the alternative (write_range) and the condition that selects this tool (single-cell target), plus the reason (cannot touch surrounding cells). This is exactly the when-to-use guidance an agent needs.

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