Skip to main content
Glama
GRID MCP Server

GRID MCP Server

Official
by GRID-is

query_workbook

Idempotent

Read cell values and formulas from a GRID spreadsheet, and optionally update specified cells in the same request.

Instructions

Interact with a spreadsheet. Optionally, apply (update) values to cells. Read values from cells and formulas.

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": {
      "workbookId": "<workbookId>",
      "read": "<read>"
    },
    "name": "query_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
readYes
applyNo
workbookIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already provide idempotentHint=true and destructiveHint=false, so the safety bar is lower, but the description adds little: it does not say that applying values overwrites existing cell contents, what happens to omitted cells, or what the response contains. Calling the write path "apply (update)" sits uneasily with destructiveHint=false, though it is not a hard contradiction since idempotent overwrites are not deletions.

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?

Three short sentences with no filler, which is good, but the leading sentence is the vaguest and occupies the front-loaded position where the concrete operations should be.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with no schema descriptions and no output schema, the definition leaves critical gaps: reference syntax, what a read returns (values only, formulas, both), and the effect of apply on existing data are all unstated.

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?

Schema description coverage is 0%, so the description must carry all semantics and mostly does not. It loosely maps to read and apply, but never explains that read takes an array of cell references, what syntax a reference uses, or what "target" in an apply entry means.

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?

"Interact with a spreadsheet" is close to tautological, but the two following sentences do specify the operations: reading cell values/formulas and optionally writing values to cells. It never distinguishes itself from siblings such as get_workbook_chart or list_workbooks, so the agent must infer scope.

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 word "Optionally" implies apply is an add-on to a mandatory read, which is the only usage signal. There is no statement of when to pick this tool over the chart or list siblings, and no prerequisites or exclusions.

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