Skip to main content
Glama
mcp-docs-reader

mcp-docs-reader

by aranshayan

Read spreadsheet

read_spreadsheet
Read-onlyIdempotent

Read rows from .xlsx, .csv, or .tsv files as structured data, with sheet listing, row limits, and header skipping. Use it to extract spreadsheet contents for analysis or conversion.

Instructions

Read rows from an .xlsx sheet or a .csv/.tsv file. Without a sheet name for .xlsx, also lists all sheets. Formulas return their cached values.

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_spreadsheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
sheetNo
max_rowsNo
delimiterNo
start_rowNoRows to skip after the header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), so the description's extra value is real: it discloses the side-effect of enumerating sheets when `sheet` is omitted and clarifies that formulas resolve to cached values rather than being evaluated. That cached-formula caveat is exactly the kind of non-obvious behavior an agent needs.

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 short sentences, each carrying distinct information, front-loaded with the verb and formats. No filler or redundancy.

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

Completeness3/5

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

With no output schema, the description should say what a read returns (row shape, header handling, behavior on empty sheets), and it only hints at headers via the schema's `start_row` text. For a 5-parameter read tool with sparse schema descriptions, it is adequate but leaves the return contract and two parameters unexplained.

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 only 20% (only `start_row` is documented in the schema), so the description carries the burden and largely fails to. `delimiter`, `max_rows`, and the interplay between `start_row` and headers are never explained; only `sheet` gets meaningful treatment via the sheet-listing behavior.

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?

States a specific verb and resource (read rows) plus the exact formats handled (.xlsx sheet, .csv/.tsv), which lets an agent route away from read_docx/read_pdf/read_text on format grounds. It stops short of naming any sibling explicitly, but the format enumeration does the differentiation work.

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 sheet-listing note gives useful implied guidance (omit `sheet` to discover sheet names before reading), but there is no explicit statement of when to prefer this tool over the other readers, nor any prerequisite or exclusion.

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