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

get_sheet_properties

Retrieve a worksheet's properties—including freeze panes, auto filter, and tab color—from an .xlsx file by sheet name or 1-based index.

Instructions

Get sheet properties including freeze panes, auto filter, and tab color.

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

Input Schema

NameRequiredDescriptionDefault
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

B3.2/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 burden; the word "Get" implies a read-only operation and the enumerated properties hint at the return shape. However, it does not say whether the call fails on a missing sheet, whether the listed properties are the complete set ("including" suggests otherwise), or what defaults are returned when no freeze pane or filter is set.

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?

A single front-loaded sentence with no wasted words. The only weakness is that "including" leaves the scope of returned properties open-ended rather than definitive.

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?

This is a simple two-parameter read tool with no output schema, so the description is the only source for return values; it names three properties but does not claim completeness or describe the response structure. Adequate to select the tool, but not fully sufficient to predict its output.

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%, with both parameters documented (absolute .xlsx path, sheet name or 1-based index). The description adds nothing about parameter meaning or behavior, 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?

The description gives a specific verb and resource ("Get sheet properties") and enumerates representative returned fields (freeze panes, auto filter, tab color), which distinguishes it from mutation siblings like set_freeze_panes or set_auto_filter. It does not explicitly contrast with get_workbook_info, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to call this versus alternatives such as get_workbook_info or read_sheet, and no prerequisites or context are stated. The agent must infer usage entirely from the name and the listed properties.

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