Skip to main content
Glama
EveryInc

google-workspace-mcp-server

by EveryInc

Get Google Spreadsheet

sheets_get_spreadsheet
Read-onlyIdempotent

Retrieve metadata and optional cell data from a Google Spreadsheet. Get title, sheet names, row/column counts, locale, and URL.

Instructions

Retrieve metadata and optionally cell data from a Google Spreadsheet.

Args:

  • spreadsheet_id (string): The ID of the Google Spreadsheet (found in the URL after /d/)

  • include_grid_data (boolean): Whether to include cell data (default: false)

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

Returns: Spreadsheet title, sheets info, and metadata. For JSON format: { "spreadsheetId": string, "title": string, "locale": string, "sheets": [{ "sheetId": number, "title": string, "rowCount": number, "columnCount": number }], "spreadsheetUrl": string }

Examples:

  • Get spreadsheet info: spreadsheet_id="1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spreadsheet_idYesThe ID of the Google Spreadsheet (found in the URL)
include_grid_dataNoWhether to include cell data (can be large)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description goes beyond by detailing return formats, the optional include_grid_data flag, and a note about potentially large data. This provides a complete picture of tool behavior without contradictions.

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 well-structured with a clear one-liner, separate Args/Returns/Examples sections, and efficient use of bullet points and code blocks. Every sentence adds value without redundancy.

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?

Given the three parameters and no output schema, the description provides a thorough explanation of return data (both markdown and JSON formats) and a concrete example. It fully compensates for the lack of an output schema.

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?

The input schema has 100% coverage, and the description adds value by explaining where to find the spreadsheet_id (URL after /d/) and providing a concrete example. This extra context enhances schema information.

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 'Retrieve metadata and optionally cell data from a Google Spreadsheet,' specifying both the verb (retrieve) and resource (metadata and cell data). It distinguishes itself from sibling tools like sheets_get_values by emphasizing the metadata retrieval capability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for when metadata or both metadata and cell data are needed, but it does not explicitly contrast with siblings like sheets_get_values or provide when-not-to-use guidance. However, the context is clear enough for an agent to infer appropriate use.

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