Skip to main content
Glama

read_range

Read-onlyIdempotent

Read cells from XLSX/CSV sheets as a values grid plus formulas map to see displayed results and calculations; follow next_offset when results are truncated.

Instructions

Read cells from an xlsx/csv sheet. Returns a grid of VALUES plus a map of FORMULAS for formula cells, so you see both what Excel shows and how it was computed. Paged: follow next_offset when truncated.

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": {
      "path": "<path>"
    },
    "name": "read_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path, relative to the root folder (or absolute inside it).
limitNoMax rows to return (default from server config, usually 100).
rangeNoA1 range like 'A1:F50', 'B:D', '5:20'. Default: the used range.
sheetNoSheet name (or 0-based index). Default: first sheet.
formatNojson grid or a markdown table.json
offsetNoSkip this many rows from the start of the range (paging).
evaluateNoauto: compute formulas that have no cached value (e.g. files saved by scripts); always: recompute all; never: raw cached values.auto
include_formulasNoAlso return formulas ({cell: '=...'}) next to values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds useful behavioral context beyond that: it explains the return shape as values plus a formula map, and it discloses pagination via next_offset. It does not cover permission or error behavior, so it is strong but not exhaustive.

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?

The description is three compact sentences, front-loaded with the core purpose. The return-shape sentence and paging sentence each add distinct value. There is no redundant or filler wording.

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?

There is no output schema, so the description appropriately describes the return shape as a grid of values plus a formula map. It also mentions pagination, which is important for an 8-parameter read tool. It leaves defaults and parameter details to the schema, which is reasonable given full schema coverage.

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 coverage is 100%, so all eight parameters are already documented in the input schema. The description adds some output-oriented meaning around formulas and paging, but it does not provide additional syntax or constraints for parameters like range, sheet, offset, or evaluate beyond what the schema says. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description uses a specific verb and resource: 'Read cells from an xlsx/csv sheet.' It clearly states the output includes both values and formulas. It does not explicitly distinguish this from sibling tools like 'formulas' or 'quick_look', so it stops short of 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 Guidelines3/5

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

The description implies use for reading cell values and gives paging guidance ('follow next_offset when truncated'). However, it does not state when to choose this over sibling tools such as 'formulas', 'query', or 'quick_look'. Usage is inferable but not explicitly guided.

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