Skip to main content
Glama
Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Read Sheet Values

read_sheet_values
Read-onlyIdempotent

Reads cell values from a specified Google Sheets range, returning each row with its sheet row number and tab-separated cell contents for inspection or processing.

Instructions

Reads values from a specific range in a Google Sheet, one line per row: the sheet row number, then the row's cells separated by tabs.

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_nameNoThe range to read (e.g., "Sheet1!A1:D10", "A1:D10"). Defaults to "A1:Z1000". Open-ended or oversized ranges are clamped to at most 1000 rows before the Sheets API request to bound memory use.A1:Z1000
include_notesNoIf True, also fetch cell notes for the range. Defaults to False to avoid expensive includeGridData requests.
spreadsheet_idYesThe ID of the spreadsheet. Required.
include_formulasNoIf True, also fetch raw formula strings for cells that contain formulas. Useful for identifying cross-sheet references before writing back to a range. Defaults to False to avoid an extra API request.
user_google_emailYesThe user's Google email address. Required.
include_hyperlinksNoIf True, also fetch hyperlink metadata for the range. Defaults to False to avoid expensive includeGridData requests.
include_validationNoIf True, also fetch data validation rules (dropdowns, checkboxes, ranges, custom formulas) for the range. Defaults to False to avoid expensive includeGridData requests.
include_smart_chipsNoIf True, also fetch smart chips metadata (Drive files/folders and People chips) for the range. Defaults to False to avoid expensive includeGridData requests.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.0
    • addedInput schema / properties / include_validation
      Added value: +{
      +  "default": false,
      +  "description": "If True, also fetch data validation rules (dropdowns,\ncheckboxes, ranges, custom formulas) for the range. Defaults to False to avoid\nexpensive includeGridData requests.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv1.28.0
    • addedInput schema / properties / include_smart_chips
      Added value: +{
      +  "default": false,
      +  "description": "If True, also fetch smart chips metadata (Drive files/folders\nand People chips) for the range. Defaults to False to avoid expensive includeGridData requests.",
      +  "type": "boolean"
      +}
  3. Changed14 schema fields changedv1.0.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / include_formulas
      Added value: +{
      +  "default": false,
      +  "description": "If True, also fetch raw formula strings for cells that\ncontain formulas. Useful for identifying cross-sheet references before writing\nback to a range. Defaults to False to avoid an extra API request.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_hyperlinks
      Added value: +{
      +  "default": false,
      +  "description": "If True, also fetch hyperlink metadata for the range.\nDefaults to False to avoid expensive includeGridData requests.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_notes
      Added value: +{
      +  "default": false,
      +  "description": "If True, also fetch cell notes for the range.\nDefaults to False to avoid expensive includeGridData requests.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / range_name / description
      Added value: +"The range to read (e.g., \"Sheet1!A1:D10\", \"A1:D10\").\nDefaults to \"A1:Z1000\". Open-ended or oversized ranges are clamped to\nat most 1000 rows before the Sheets API request to bound memory use."
    • removedInput schema / properties / range_name / title
      Removed value: -"Range Name"
    • removedInput schema / properties / service
      Removed value: -{
      -  "title": "service",
      -  "type": "string"
      -}
    • addedInput schema / properties / spreadsheet_id / description
      Added value: +"The ID of the spreadsheet. Required."
    • removedInput schema / properties / spreadsheet_id / title
      Removed value: -"Spreadsheet Id"
    • addedInput schema / properties / user_google_email / description
      Added value: +"The user's Google email address. Required."
    • removedInput schema / properties / user_google_email / title
      Removed value: -"User Google Email"
    • changedInput schema / required
      Previous value: -[
      -  "service",
      -  "user_google_email",
      -  "spreadsheet_id"
      -]New value: +[
      +  "user_google_email",
      +  "spreadsheet_id"
      +]
    • removedInput schema / title
      Removed value: -"read_sheet_valuesArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "result": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "type": "object",
      +  "x-fastmcp-wrap-result": true
      +}
  4. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely useful behavioral detail beyond that: the response is rendered one line per row with the sheet row number followed by tab-separated cells, which tells the agent how to parse output. It does not mention permission requirements 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?

Two sentences, front-loaded with the purpose and followed immediately by the output format. No filler or redundant restatement of the title.

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?

An output schema exists, annotations cover safety, and the schema fully documents all 8 parameters, so the description only needs to establish purpose and shape. It does both, though it omits any note about very large ranges or the cost of the include_* flags, which is left entirely to the schema.

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 including range clamping and each include_* flag is already documented in the schema. The description adds no parameter-level meaning beyond that, which is the expected baseline.

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 values from a specific range in a Google Sheet') and is easily distinguished from the write-oriented sibling modify_sheet_values by the read-only framing. It does not explicitly name an alternative, so it falls short of the 5 bar.

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 by 'Reads values from a specific range' but there is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named for other read needs. Adequate but with a clear gap.

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