Skip to main content
Glama

read_sheet

Read sheet data with filtering, sorting, search, and pagination; returns column types and a page of rows with stable IDs so large sheets can be queried without loading everything.

Instructions

Read a sheet with optional filtering, sorting and searching. Returns the sheet config (columns with types) and a page of rows, each with a stable "id". Sheets can be LARGE (tens of thousands of rows) — always filter/search and paginate rather than reading everything.

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": {
      "workspace": "<workspace>",
      "sheetPath": "<sheetPath>"
    },
    "name": "read_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSorting configuration
limitNoMax rows to return (default 50, max 200)
offsetNoRow offset for pagination (default 0)
searchNoSearch query matched across all columns
filtersNoColumn filters to apply (all must match)
sheetPathYesPath to the sheet folder (relative to documents folder, from list_sheets)
workspaceYesWorkspace path or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations and no output schema, the description does carry useful behavioral weight: it discloses the return payload (config plus a page of rows with stable ids) and warns about scale-driven pagination. However, it omits read-only/no-side-effect confirmation, permission needs, and what happens when a filter column is unknown or a page runs past the end — gaps 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?

Three tight sentences in a sensible order: what it does, what it returns, then the scale caveat that changes how an agent calls it. No filler or repetition of the name.

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 7-parameter tool with nested filter/sort objects, no annotations and no output schema, the description covers purpose, return values and the main caller pitfall (large sheets, paginate). Missing pieces are edge behavior — empty result semantics, error on unknown column, and the meaning of workspace/sheetPath — which the schema covers only partially.

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 every parameter (sort, limit, offset, search, filters, sheetPath, workspace) is already documented in the schema, including defaults and max of 200. The description only restates that filtering/sorting/searching exist; baseline 3 is appropriate.

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?

Specific verb and resource ("Read a sheet") plus the offered capabilities (filtering, sorting, searching) and the return shape (sheet config with typed columns and a page of rows with stable ids). It never names a sibling such as read_database or open_sheet, so an agent must infer which read tool applies, which keeps it below a 5.

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

Usage Guidelines4/5

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

Gives concrete operating guidance: treat sheets as potentially huge and "always filter/search and paginate rather than reading everything." That is real when/how guidance, but it addresses invocation strategy rather than tool selection, and no alternative tool or exclusion case is mentioned.

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