Skip to main content
Glama

get_spreadsheet

Retrieve a Google Sheet's title, URL, and each tab's name and size using its spreadsheet ID—run before reading when tab names are unknown.

Instructions

Get a spreadsheet's title, URL and the name and size of every tab in it.

Call this before reading when you do not already know the tab names.

Args: spreadsheet_id: The long token from the spreadsheet URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spreadsheet_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the return shape (title, URL, tab names/sizes), which is useful, but says nothing about permissions, whether the call is read-only, or rate limits. It is adequate but not rich for a tool with zero annotation coverage.

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?

Front-loads the return contents, follows with the usage condition, and ends with a compact Args section. No filler sentences.

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, so return values need not be fully explained, yet the description still previews them. Combined with the parameter provenance and usage trigger, an agent has enough to invoke it correctly; only the absence of behavioral caveats keeps it from a 5.

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%, but the description explains the single parameter as the 'long token from the spreadsheet URL', which compensates for the missing schema description. With only one parameter and clear provenance guidance, this is above baseline.

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?

States a specific verb and resource (get a spreadsheet) and enumerates exactly what is returned: title, URL, and each tab's name and size. This distinguishes it from siblings like read_range or read_records, which read cell content rather than structure.

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

Usage Guidelines5/5

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

Explicitly says to call this before reading when tab names are unknown, which names both the trigger condition and the downstream action. That is a clear when-to-use statement tied to a specific workflow.

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