Skip to main content
Glama

Get range

get_range
Read-only

Read a bounded range of cell values and formulas from a sheet. Range is required and capped at 2,000 cells — request a smaller range for larger areas. Pass workbookId to read the real file, or scenarioId to read values as recalculated under that what-if scenario (overridden cells report their override, not their formula).

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": {
      "sheetName": "<sheetName>",
      "range": "<range>"
    },
    "name": "get_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeYes
sheetNameYes
scenarioIdNo
workbookIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: a hard 2,000-cell cap that forces chunking, and the non-obvious rule that scenario reads report overridden cell values instead of their underlying formula. Return shape and cap-exceeded error behavior are left unstated.

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 sentences, each doing distinct work: core action, size constraint, and parameter-mode semantics. The critical constraint and the workbook/scenario distinction are front-loaded rather than buried, and there is 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?

For a four-parameter read tool with no output schema, it covers the essentials: what is returned (values and formulas), the size ceiling, and the meaning of both optional scoping parameters. It would be stronger if it stated what happens when the cap is exceeded or how values and formulas are represented in the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 the load and largely does: it marks range as required and capped, explains that workbookId reads the real file while scenarioId reads recalculated values, and clarifies override reporting. Only sheetName is left to inference, though its meaning is fairly evident from 'from a sheet'.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Read a bounded range of cell values and formulas from a sheet.' That distinguishes it from single-cell siblings like get_cell_formula and from form-oriented siblings like get_data_form, since the scope (a bounded range) is stated up front.

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?

It gives concrete operational guidance: range is required, capped at 2,000 cells, and larger areas should be split into smaller requests. It also explains the workbookId vs scenarioId choice with a clear condition. It stops short of naming an alternative tool (e.g., 'for a single cell use get_cell_formula'), so it is clear context rather than full when/when-not routing.

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