Skip to main content
Glama
ks6573
by ks6573

read_spreadsheet

Read-onlyIdempotent

Read spreadsheet data from .xlsx or .csv files. Retrieve headers and rows (up to 200) with optional sheet name and cell range for .xlsx.

Instructions

Read rows and cells from a spreadsheet file (.xlsx or .csv). Returns headers and row data up to max_rows (default 200). For .xlsx files, optionally specify a sheet name and/or cell range (e.g. 'A1:D10'). Requires allow_file_read in ~/.syscontrol/config.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the .xlsx or .csv file (e.g. '~/Desktop/budget.xlsx').
sheetNoSheet name to read (.xlsx only). Defaults to the active sheet.
max_rowsNoMaximum rows to return (1–200, default 200).
cell_rangeNoCell range in A1 notation (e.g. 'A1:D10'). Omit to read all rows.
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds value by stating it returns headers and row data, enforces a max_rows cap, and requires the allow_file_read config flag—useful behavioral context beyond the safety hints.

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 sentences, front-loaded with the core purpose, and every sentence adds relevant detail (format, output, options, config requirement). No wasted words, well-structured.

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?

Without an output schema, the description adequately explains the return format (headers and row data). It covers the main options, limits, and prerequisites. Minor gaps remain (error handling, CSV behavior specifics), but for a simple read tool it is sufficiently complete.

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 the baseline is 3. The description adds a small amount of meaning (e.g., example cell range, default max_rows) but mostly repeats what the schema already documents. It does not significantly enhance parameter understanding beyond structured fields.

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 clearly states the tool reads rows and cells from spreadsheet files (.xlsx or .csv), distinguishing it from siblings like read_document or read_pdf. It specifies the resource (spreadsheet) and the action (read), making its purpose unambiguous.

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?

The description gives context by specifying supported file types and optional parameters (sheet, cell range), and notes the config requirement. However, it does not explicitly mention when to prefer this tool over alternatives like read_file_lines or read_document, though the file type limitation implies the boundary.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ks6573/SysControl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server