Skip to main content
Glama

readSpreadsheet

Reads rows from a specified Google Sheets range using A1 notation and returns values as arrays for analysis or batch processing.

Instructions

Reads data from a range in a spreadsheet. Returns rows as arrays. Use A1 notation for the range (e.g., "Sheet1!A1:C10").

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": {
      "spreadsheetId": "<spreadsheetId>"
    },
    "name": "readSpreadsheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoOne bounded A1 range to read (e.g., "A1:B10" or "Sheet1!A1:B10").
rangesNoSeveral bounded A1 ranges to read into one handle, for a later batchWrite.
spreadsheetIdYesThe spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL.
valueRenderOptionNoHow values should be rendered in the output.FORMATTED_VALUE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does disclose the return shape ('rows as arrays'), which is genuinely useful. It says nothing about permission requirements, error behavior on invalid or empty ranges, or how the multiple-`ranges` handle behaves, so that burden is only partly met.

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, then the return shape, then the syntax convention. There is no filler.

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?

The definition is complete enough to call for the simple case: it names the required ID and gives the range syntax. It leaves unexplained how the singular `range` relates to the plural `ranges` handle used for a later batchWrite, and how valueRenderOption affects the output, which an agent must infer from the schema alone.

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 every parameter is already documented and the baseline is 3. The A1-notation note and its example merely restate what the `range` and `ranges` schema descriptions already say, adding no meaning beyond the schema.

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?

States a specific verb and resource: 'Reads data from a range in a spreadsheet.' That clearly separates it from writeSpreadsheet and getSpreadsheetInfo by implication. It does not name a sibling such as readCellFormat to distinguish a data read from a format read, so it falls short of the top score.

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?

The description gives syntax guidance ('Use A1 notation') rather than situational guidance. It never says when to choose this tool over readCellFormat, getSpreadsheetInfo, or a batched read, and it states no prerequisites or exclusions.

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

Deploy Server

Other Tools