Skip to main content
Glama

Read Excel or CSV

read_excel
Read-onlyIdempotent

Reads XLSX or CSV sheets and converts them to Markdown or JSON, with row/column limits and file signature checks.

Instructions

Membaca sheet XLSX/CSV sebagai Markdown atau JSON. Membatasi baris/kolom, memeriksa signature dan ZIP Office termasuk ukuran dekompresi aktual.

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": {
      "filePath": "<filePath>"
    },
    "name": "read_excel"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxRowsNo
filePathYesAbsolute path file di dalam salah satu direktori ALLOWED_DIRS.
sheetNameNo
outputFormatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior, so the baseline bar is lower. The description nonetheless adds real substance beyond them: signature and Office ZIP verification including actual decompression size, which signals a security/validation step that may reject files and hints at zip-bomb protection. It stops short of saying what happens when validation fails or how truncation from row/column limits is surfaced.

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?

Two compact sentences with no filler; the core action and output formats come first, followed by the limiting and validation behavior. The density makes it slightly cryptic for non-Indonesian readers, but nothing is redundant.

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?

For a four-parameter read tool with no output schema and thin schema descriptions, the definition covers output format, row/column limiting, and file validation. Gaps remain around sheetName behavior, default/limit semantics, and error or truncation reporting, which an agent would need to call this confidently.

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?

With schema description coverage at only 25% (only filePath is documented, including the ALLOWED_DIRS constraint), the description must carry more weight. It does partly: 'Membatasi baris/kolom' maps to maxRows and 'Markdown atau JSON' maps to outputFormat. But sheetName is never explained (e.g. default sheet when omitted) and no guidance on limits, defaults, or valid ranges is added beyond the schema.

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 gives a specific verb and resource ('Membaca sheet XLSX/CSV') plus the two output representations (Markdown atau JSON), so the agent knows exactly what the tool produces. It does not explicitly contrast itself with siblings such as read_pdf, read_word, or get_document_info, though the resource type makes the distinction fairly obvious.

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?

Usage is only implied by the resource type: an agent can infer 'use this for spreadsheets', but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative for other document formats. No prerequisites or failure conditions (e.g. what happens with a disallowed path or a corrupt signature) are mentioned.

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