Skip to main content
Glama
gworkspace-mcp
by ctschak

Inspect cell detail

sheets_inspect

Inspect a small Google Sheets range to return per-cell formulas, values, formatting, notes, validation rules, and hyperlinks for detailed cell-level analysis.

Instructions

Per-cell detail values cannot express: formulas, notes, data validation rules, effective formatting, hyperlinks. Keep the range small — the payload per cell is large.

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>",
      "range": "<range>"
    },
    "name": "sheets_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeYesA single A1 range, e.g. "Sheet1!B2:D10". Keep it small — this returns per-cell detail.
accountNoGoogle account to act as. Optional when one account is authorised or a default is set; required otherwise.
includeNoWhich facets to return per cell. Default: formula, value, note, validation.
spreadsheetYesSpreadsheet URL or file id. Both accepted; a URL has its id extracted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/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 burden, but it does disclose a genuine behavioral trait: the per-cell payload is large, so ranges should be kept small. It says nothing about read-only nature, access requirements, or whether facets like 'formula' trigger computation, which leaves meaningful gaps for an unannotated tool.

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

Conciseness3/5

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

It is short and the size warning is the second, actionable sentence. However, the opening line is a sentence fragment whose subject is the tool's output rather than the tool itself, so the most important information is not front-loaded clearly.

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?

For a four-parameter read tool with full schema coverage and no output schema, the description covers the payload-size caveat but omits how results are shaped, any limits on range size, and how it relates to the plain-read sibling. It is minimally adequate rather than complete.

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 coverage is 100%, so the baseline is 3. The facet list in the description loosely corresponds to the 'include' enum but adds no syntax, defaults, or interaction details (e.g. that format and hyperlink are not in the default set) beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description lists the facets that plain values cannot express (formulas, notes, validation, formatting, hyperlinks), which implies a per-cell detail read, but it never states a verb+resource directly — an agent must infer from the title 'Inspect cell detail'. It also does not distinguish this from the sibling sheets_read, which plausibly returns the plain values mentioned in the first clause.

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

Usage Guidelines2/5

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

The only guidance is 'Keep the range small', which is a sizing constraint rather than a when-to-use rule. There is no statement of when to choose this over sheets_read or sheets_describe, and no prerequisites or exclusions are given.

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