Skip to main content
Glama
gworkspace-mcp
by ctschak

Read ranges

sheets_read

Reads one or more A1 ranges from a Google spreadsheet in one call, returning TSV by default, formula text when requested, and a next range if output is capped.

Instructions

Read one or more A1 ranges in a single call. valueRender FORMULA returns formula text rather than results. Output is TSV by default and capped; a truncated range reports nextRange to continue from.

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": "<spreadsheet>",
      "ranges": "<ranges>"
    },
    "name": "sheets_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput encoding. TSV (default) is substantially cheaper than JSON for a grid.
rangesYesA1 ranges, e.g. ["Sheet1!A1:G100", "Summary!A:C"]. Several are fetched in one call. Use sheets_describe first to get each tab's used range rather than guessing A:ZZ.
accountNoGoogle account to act as. Optional when one account is authorised or a default is set; required otherwise.
maxRowsNoRow cap per range. Default 200.
maxCharsNoCharacter cap per range; whole rows are dropped, never partial ones. Default 50000.
spreadsheetYesSpreadsheet URL or file id. Both accepted; a URL has its id extracted.
valueRenderNoFORMATTED (default) returns cells as displayed; UNFORMATTED returns raw numbers; FORMULA returns the formula text, e.g. "=SUM(A1:A9)".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose two genuinely useful traits beyond structured fields: output is capped and a truncated range reports nextRange to resume — that is real operational context. It does not state that the operation is read-only/non-mutating explicitly, nor does it describe the shape of the returned payload (row/column framing) even though there is no output schema to fall back on.

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 purpose, then the render-mode caveat, then the output/truncation behavior. No filler, no restatement of the tool name, and the most decision-relevant facts appear first.

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 capped-read tool with no output schema, the description covers the essentials an agent needs: default encoding, truncation, and the nextRange continuation handle. Remaining gaps — safety profile and exact payload framing — are modest given 100% schema coverage on the input side.

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?

Schema description coverage is 100%, so the schema already documents all seven parameters thoroughly, which sets the baseline at 3. The description nonetheless reinforces the valueRender FORMULA behavior and the TSV default in the context of reading, tying parameters to output consequences rather than merely restating enums.

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?

The description opens with a specific verb and resource: 'Read one or more A1 ranges in a single call,' which clearly separates it from the mutating sheets_* siblings. It stops short of naming an alternative read tool (e.g. sheets_describe) for sibling differentiation, but the purpose is unambiguous.

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?

'In a single call' hints that batching several ranges is preferred over repeated calls, which is light usage guidance. There is no explicit statement of when to use this versus sheets_describe or sheets_inspect, and no when-not conditions or prerequisite notes (such as account scoping for multi-account users).

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