Skip to main content
Glama
xlsx-mcp-server
by knorq-ai

read_cell

Read a single Excel .xlsx cell's value, formula, type, and formatting by file path, sheet, and cell address to inspect workbook data.

Instructions

Read a single cell's value, formula, type, and formatting.

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": {
      "file_path": "<file_path>",
      "sheet": "<sheet>",
      "cell": "<cell>"
    },
    "name": "read_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
cellYesCell address (e.g. 'A1', 'B5')
sheetYesSheet name or 1-based index
file_pathYesAbsolute path to the .xlsx file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the shape of what comes back (value, formula, type, formatting), which is useful for a read tool, but says nothing about behavior on empty cells, invalid addresses, missing sheets, or workbooks needing to be open/closed.

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?

A single front-loaded sentence naming the action, the scope ('single cell'), and the returned fields. Nothing is redundant and nothing is buried.

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?

For a three-required-parameter read tool with fully documented schema and no output schema, the description covers intent and the returned attributes well. The remaining gap is error and edge-case behavior, which matters somewhat for addressing cells in arbitrary files but is not critical for a non-destructive read.

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 description coverage is 100% and all three parameters (file_path, sheet, cell) are documented in-schema with formats and examples. The description adds no additional meaning about accepted values or the sheet name-vs-index duality, so the baseline 3 applies.

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 ('Read') and resource ('a single cell') plus the exact fields returned (value, formula, type, formatting). This implicitly separates it from the sheet-level sibling read_sheet, but the description never names that alternative, so the differentiation is left to inference.

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 word 'single': an agent can infer this is for targeted cell inspection rather than bulk reads. There is no explicit when-to-use versus read_sheet, search_cells, or read-plus-write patterns, and no stated prerequisites such as the file existing on disk.

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