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

set_freeze_panes

Freeze rows and columns in an Excel worksheet to keep headers visible while scrolling; set both to 0 to unfreeze.

Instructions

Freeze rows and/or columns. Set both to 0 to unfreeze.

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>",
      "row": "<row>",
      "column": "<column>"
    },
    "name": "set_freeze_panes"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowYesNumber of rows to freeze from top (0 to unfreeze)
sheetYesSheet name or 1-based index
columnYesNumber of columns to freeze from left (0 to unfreeze)
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
Behavior2/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, yet it says nothing about side effects: whether an existing freeze is replaced, whether the file must already exist, whether changes are written to disk immediately, or what happens on an unsupported file type. For a mutation tool with zero annotation coverage this leaves the mutation contract undefined.

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 short sentences with no filler, and the primary operation is front-loaded ahead of the unfreeze special case. Nothing is wasted, though the terseness contributes to the behavioral gaps noted elsewhere.

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?

The tool is simple and its inputs are fully documented, so an agent can construct a call from description plus schema. It stops short of describing the mutation semantics (replacement of existing panes, persistence to the file, error conditions) that a no-annotation write tool ideally supplies.

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 the per-parameter descriptions already explain the row/column counts, the 0-to-unfreeze convention, and the sheet identifier. The description's mention of "rows and/or columns" and the unfreeze rule merely echoes what the schema states, 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?

"Freeze rows and/or columns" states a specific verb and resource, and the second sentence covers the inverse operation. No sibling tool in the catalog does anything similar, so there is little ambiguity to resolve, but the description never names a use context that would distinguish it from formatting tools.

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?

The second sentence gives a concrete operational rule ("Set both to 0 to unfreeze") which is genuinely useful usage guidance. However, it offers no when-to-use framing, no prerequisites, and no conditions under which freezing should be avoided.

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