Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by akilja24

read_sheet_values

Read values from a specified range in a Google Sheet and return formatted cell data; optionally include hyperlink metadata when needed.

Instructions

Reads values from a specific range in a Google Sheet.

Args: user_google_email (str): The user's Google email address. Required. spreadsheet_id (str): The ID of the spreadsheet. Required. range_name (str): The range to read (e.g., "Sheet1!A1:D10", "A1:D10"). Defaults to "A1:Z1000". include_hyperlinks (bool): If True, also fetch hyperlink metadata for the range. Defaults to False to avoid expensive includeGridData requests.

Returns: str: The formatted values from the specified range.

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": {
      "user_google_email": "<user_google_email>",
      "spreadsheet_id": "<spreadsheet_id>"
    },
    "name": "read_sheet_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
range_nameNoA1:Z1000
spreadsheet_idYes
user_google_emailYes
include_hyperlinksNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does add real context: include_hyperlinks defaults to False specifically to avoid expensive includeGridData requests, which is a genuine performance disclosure. It still leaves out the read-only safety profile, auth/scope requirements implied by user_google_email, and any rate-limit or failure behavior, so it is informative but not thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and the Args/Returns block is scannable, with no filler prose. The Python-style type annotations duplicate information already present in the input schema, which is minor waste but not obscuring.

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 simple four-parameter read tool this covers the essentials, and an output schema exists so return-value structure need not be spelled out beyond the brief 'formatted values' note. The remaining gap is the absence of any permission/scope or error-handling context, which is acceptable given the tool's low complexity.

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 0%, so the description must compensate, and it largely does: all four parameters are named with types and meaning, range_name gets concrete format examples ('Sheet1!A1:D10', 'A1:D10') plus its default, and include_hyperlinks explains both boolean semantics and why it is off by default. It does not explain what spreadsheet_id looks like or where the caller obtains it, keeping it short of a 5.

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 first sentence names a specific verb and resource — reading values from a named range in a Google Sheet — which is unambiguous. It does not, however, distinguish itself from the write-side sibling modify_sheet_values or mention any other alternative, so an agent must infer the read/write split from the name alone.

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?

Usage is implied rather than stated: 'Reads values' positions it as the retrieval path and the include_hyperlinks note hints at a cost tradeoff when extra metadata is needed. There is no explicit when-to-use / when-not-to-use guidance, no mention of prerequisites such as scope or permissions, and no pointer to a sibling for the mutation case.

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