Skip to main content
Glama

Read grid sheet view

read_grid_sheet_view
Read-onlyIdempotent

Read the same filtered and sorted rows as Grid. Use page mode for up to 100 rows or ids mode to select every match across all pages.

Pass filters or filterId. Omit both for the unfiltered view. For another page, keep the same filter and sort and use nextOffset. Use ids mode to count or select the full match set before bulk work.

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": {
      "sheetId": "<sheetId>"
    },
    "name": "read_grid_sheet_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDefaults to page. ids returns every matching row ID without cells.
sortNoOptional sort order for this view.
offsetNoPage offset. Use nextOffset from the preceding page.
contextNoUser task for usage analytics. Omit private details.
filtersNoGrid filter rules joined by AND. Supply filterId instead to reuse saved rules.
sheetIdYesSheet ID from get_grid in this project or the result of create_grid_sheet.
filterIdNoSaved filter ID for this sheet, from save_grid_sheet_filters or the filters parameter in its URL.
llm_modelNoExact model ID from the calling runtime. Send on every call when known. Omit if unavailable.
projectIdNoProject ID from list_projects. Omit to use the configured or sole accessible project.

Output Schema

NameRequiredDescriptionDefault
dataNoCurrent matching rows and cells or all matching row IDs, with their total.
successYesTrue when the tool returns normally.
executionTimeNoElapsed time, e.g. 0.12s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so safety is covered. The description adds real behavior beyond that: a 100-row page cap and the fact that ids mode returns identifiers without cells, which shapes how an agent should plan bulk work.

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?

Three short sentences, front-loaded with the core purpose before mode, filtering, and paging guidance. Dense but every sentence carries an instruction; no filler.

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?

With nine parameters and an output schema present, the description covers the decision points that matter: mode choice, filter source, and pagination. Return shape need not be described because the output schema exists, leaving only minor gaps around sorting semantics.

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 is already self-documenting and the baseline is 3. The description adds the relationship between filters and filterId and ties offset to nextOffset, but does not explain sort, sheetId, or context beyond what the schema states.

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?

Opens with a concrete verb and resource ('Read the same filtered and sorted rows as Grid'), which tells an agent exactly what it retrieves. It does not explicitly contrast with the close sibling get_grid_sheet_rows, so differentiation is left implicit.

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 actionable selection rules: page mode for up to 100 rows, ids mode to select the full match set, and filters-or-filterId with 'omit both' for the unfiltered view. It also prescribes nextOffset for paging. It stops short of naming alternatives such as get_grid_sheet_rows for non-view reads.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources