Skip to main content
Glama
vic08

Google Sheets Advanced MCP Server

by vic08

sheets_get_formulas

Read-onlyIdempotent

Retrieves all formulas from a specified Google Sheets range, returning each cell reference and its formula text for auditing or debugging.

Instructions

Gets all formulas from a specified range, returning cell references and formula text

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeYesThe A1 notation range to inspect for formulas
spreadsheet_idYesThe ID of the spreadsheet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 safety profile is covered. The description adds that results include cell references plus formula text, which is mildly useful, but says nothing about empty cells, partial ranges, or response size behavior.

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?

A single front-loaded sentence with no waste; the essential action and return content are stated immediately.

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?

For a simple two-parameter read tool with no output schema, the description adequately conveys the return shape (references + formula text). The main gap is lack of routing guidance against sibling read tools, but structurally it is nearly 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 description coverage is 100%, so both parameters (range, spreadsheet_id) are already documented in the schema. The description only echoes 'specified range' and adds no syntax, format, or A1-notation detail beyond what the schema provides, so baseline 3 applies.

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 ('Gets all formulas from a specified range') and specifies the return content ('cell references and formula text'). This distinguishes it from a generic value reader, though it never names the obvious sibling (sheets_read_range) that returns values instead of formulas.

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?

No guidance on when to use this versus alternatives. Given the many sibling readers (sheets_read_range, sheets_summarize_range, sheets_read_multiple_ranges), an agent would benefit from being told this specifically extracts formula text rather than computed values, but nothing is stated.

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