Skip to main content
Glama
google-sheets-readonly-mcp

google-sheets-readonly-mcp

by taittag

sheets_get_metadata

Read-onlyIdempotent

Read a Google Spreadsheet's title and list its tabs and dimensions through read-only OAuth access, helping you inspect workbook structure before fetching cell data.

Instructions

Read Google Spreadsheet title and list of tabs/dimensions via OAuth spreadsheets.readonly (READ ONLY).

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": {
      "spreadsheet": "<spreadsheet>"
    },
    "name": "sheets_get_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
spreadsheetYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the '(READ ONLY)' restatement adds nothing. The genuinely additive detail is the required OAuth scope (spreadsheets.readonly), which tells the agent what credential must be in place before calling.

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?

One compact sentence, front-loaded with the verb and resource, with the auth scope appended as a parenthetical. Nothing is padded, though the space spent on the redundant 'READ ONLY' would have been better spent on the parameter format.

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

Completeness3/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 no explanation, and the tool is simple with one parameter. The remaining gap is the ambiguous input format, which all the structured fields leave undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is exactly one required parameter and schema description coverage is 0%, so the description carries the full burden. It never clarifies whether 'spreadsheet' expects a spreadsheet ID, a full URL, or a title – the single most likely cause of a failed call.

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 spreadsheet title plus the list of tabs/dimensions. The metadata focus implicitly separates it from content-reading siblings such as sheets_read_tab, though no sibling is named explicitly.

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 only implied by the word 'metadata' – an agent can infer this is the cheap discovery step before reading tab content, but the description never says when to prefer it over sheets_read_tab or sheets_read_persona_matrix.

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