Skip to main content
Glama
EveryInc

google-workspace-mcp-server

by EveryInc

Batch Get Spreadsheet Values

sheets_batch_get_values
Read-onlyIdempotent

Batch read cell values from multiple ranges in a Google Spreadsheet with a single request, reducing API calls and improving efficiency.

Instructions

Read cell values from multiple ranges in a Google Spreadsheet in a single request.

Args:

  • spreadsheet_id (string): The ID of the Google Spreadsheet

  • ranges (string[]): Array of A1 notation ranges to read (e.g., ['Sheet1!A1:D10', 'Sheet2!A1:B5'])

  • major_dimension ('ROWS' | 'COLUMNS'): Return data by rows or columns (default: 'ROWS')

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: For JSON format: { "spreadsheetId": string, "valueRanges": [{ "range": string, "values": [[...]] }, ...] }

Examples:

  • Read multiple ranges: ranges=["Sheet1!A1:D10", "Sheet2!A:B"]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spreadsheet_idYesThe ID of the Google Spreadsheet
rangesYesArray of A1 notation ranges to read (e.g., ['Sheet1!A1:D10', 'Sheet2!A1:B5'])
major_dimensionNoWhether to return data by rows or columnsROWS
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true, so the description is not burdened with safety disclosure. It adds value by specifying the batch nature and output format options, but does not elaborate on rate limits or permissions beyond what annotations imply.

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: one sentence for purpose, bulleted args, return description, and example. No wasted words, and the most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite lacking an output schema, the description thoroughly explains the return format for both JSON and markdown. It covers all parameters with examples, making it complete for a read-only tool with well-annotated safety.

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 coverage is 100%, so the schema already describes all parameters. The description reiterates them but adds an example and clarifies output formats, providing marginal additional value.

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 action ('Read'), resource ('cell values from multiple ranges'), and context ('in a Google Spreadsheet in a single request'). It distinguishes from sibling tools like sheets_get_values by emphasizing batch and single-request capability.

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 description implies usage for batch reading but does not explicitly state when to use this tool over siblings (e.g., sheets_get_values). No guidance on when not to use or alternatives is provided.

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/EveryInc/google-workspace-mcp-server'

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