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

get_workbook_info

Inspect an XLSX workbook by retrieving its sheet list, named range count, and file properties. Use this overview to plan data reads or edits.

Instructions

Get metadata and structure overview of an XLSX file — sheet list, named range count, and file properties.

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

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the .xlsx file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the payload (metadata, sheet list, named range count, file properties), which partially compensates for the absent output schema, but it says nothing about read-only semantics, behavior on a missing/invalid file, or cost of opening large workbooks.

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?

One front-loaded sentence that names the operation and then the three things returned, with no filler. The em-dash list is efficient, though the single sentence leaves no room for a usage clause.

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 one-parameter read tool with no output schema, the description covers what an agent most needs: that it is a metadata/structure read and what the result contains. The remaining gap — how it differs from get_sheet_properties — is minor but real.

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?

There is a single required parameter, file_path, and schema description coverage is 100% ('Absolute path to the .xlsx file'). The description adds no further meaning such as relative-path handling or whether the file must exist, so the schema does all the work — baseline 3.

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 ('Get') and resource ('metadata and structure overview of an XLSX file') and enumerates the content — sheet list, named range count, file properties. It does not explicitly distinguish itself from the nearby get_sheet_properties or list_named_ranges siblings, which keeps it off a 5.

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: an 'overview' framing suggests an orientation/discovery step before per-sheet tools, but there is no explicit when-to-use, when-not-to-use, or named alternative such as get_sheet_properties. An agent must infer the routing itself.

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