Skip to main content
Glama
tg-tool

Google Sheets Write MCP Server

by tg-tool

batch_update_values

Write data to multiple Google Sheets ranges in a single API call, with options for dry-run preview or raw input.

Instructions

Write multiple ranges in one call (one API request, atomic-ish).

Args: spreadsheet_id_or_url: Full Sheets URL or bare spreadsheet ID. updates: List of {"sheet": str, "range": str, "values": list[list]}. 'sheet' is a name or gid; 'range' is bare A1 without prefix. raw: If true, store inputs literally (formulas become plain text). dry_run: If true, return the execution plan without writing. force: Allow writes touching more than the cell limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNo
forceNo
dry_runNo
updatesYes
spreadsheet_id_or_urlYes
Behavior2/5

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

With no annotations, the description carries full burden. It mentions 'atomic-ish' but does not clarify what that means operationally (e.g., partial failures, rollback behavior). It glosses over the force parameter's effect on cell limits and does not disclose potential side effects, error handling, or rate limits.

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?

The description is concise: two lines of purpose followed by a structured list of parameter explanations. Every sentence adds necessary information without redundancy. It is front-loaded with the core purpose.

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?

Given no output schema and no annotations, the description is fairly complete. It explains the purpose, parameters, and atomic-ish behavior. However, it lacks guidance on expected return values, error codes, and when to choose this tool over siblings like update_range. A small improvement would be to mention the dry_run output format.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate. It provides detailed explanations for all five parameters in the Args section, including the structure of 'updates' (sheet, range, values) and the meaning of boolean flags (raw, dry_run, force). This adds significant value beyond the bare schema.

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 description clearly states the purpose: 'Write multiple ranges in one call (one API request, atomic-ish).' It uses a specific verb (write) and resource (multiple ranges), and the term 'atomic-ish' distinguishes it from siblings like update_range that likely handle single ranges.

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?

No explicit guidance on when to use this tool versus alternatives like update_range, append_rows, or clear_range. The description mentions 'atomic-ish' but does not explain when atomicity is critical or when to avoid batch updates. Given 17 sibling tools, this omission is significant.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tg-tool/google-sheets-write-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server