Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

read_excel_table

Read-only

Read a native Excel table by its exact table name instead of a worksheet tab to return headers/rows or named records, with optional schema hints and row/column limits.

Instructions

Read a native Excel table by its table name, not by a worksheet tab name.

Use the exact table_name from list_tables. Omit sheet_name when unknown;
if supplied, it must be the table's containing worksheet tab, not the table name.
Supports compact table payloads, object-shaped record output, and optional
inferred schema hints. row_mode is "arrays" for headers/rows or "objects"
for named records; no other row modes are supported.

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>",
      "table_name": "<table_name>"
    },
    "name": "read_excel_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
compactNo
end_colNo
filepathYesReuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing.
max_rowsNo
row_modeNoarrays
start_colNo
start_rowNo
sheet_nameNo
table_nameYes
infer_schemaNo
include_headersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.5
    • addedInput schema / properties / row_mode / enum
      Added value: +[
      +  "arrays",
      +  "objects"
      +]
  2. Changed1 schema field changedv0.14.0
    • addedInput schema / properties / filepath / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
  3. First observedv0.8.0

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint already declaring the safety profile, the description adds real behavioral constraints: only two row modes exist ('no other row modes are supported'), sheet_name is a container not a selector, and compact/object/inferred-schema output variants are available. It does not say what happens on an unknown table_name or empty table, which keeps it below a 5.

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?

Front-loaded with the core distinction, then the identifier rule, then output modes — no filler sentences. The middle sentence about compact payloads, object records, and schema hints is slightly abstract compared with the crisp opening, but nothing is wasted.

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

Completeness2/5

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

An 11-parameter tool with no output schema and near-zero schema descriptions needs more than this: the return shape (headers/rows vs named records, effect of compact and max_rows) and the five undocumented range parameters are left to inference. What is present is accurate but insufficient for a tool of this complexity.

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 9% across 11 parameters, so the description must compensate. It covers table_name, sheet_name, row_mode, and gestures at compact/infer_schema, but start_row, start_col, end_col, max_rows, and include_headers receive no explanation anywhere, leaving the range/windowing behavior undocumented.

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?

States a specific verb and resource (read a native Excel table) and immediately scopes it by the identifier to use: the table name, 'not by a worksheet tab name.' That contrast alone lets an agent separate it from tab/range-based readers such as read_data_from_excel or read_excel_as_table.

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?

Explicitly routes the agent to list_tables to obtain the exact table_name, and gives a clear rule for sheet_name (omit when unknown; if supplied it must be the containing tab, not the table name). It stops short of saying when to prefer a sibling reader over this one, so it is strong context without full alternative routing.

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

Deploy Server

Other Tools