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

set_row_height

Sets the height of one row in an Excel .xlsx worksheet by specifying the file, sheet, row number, and height in points.

Instructions

Set the height of a single row.

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

Input Schema

NameRequiredDescriptionDefault
rowYesRow number (1-based)
sheetYesSheet name or 1-based index
heightYesRow height in points (0-409)
file_pathYesAbsolute path to the .xlsx file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. This is a write operation on an .xlsx file, yet nothing says whether changes are persisted immediately, whether the file must exist, or what happens if the sheet or row is invalid; the only disclosure is the implied mutation.

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 waste, but its brevity reflects under-specification rather than discipline given the tool's write semantics.

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?

For a four-required-parameter file mutation with no annotations and no output schema, the description omits error behavior, persistence, and the bulk alternative. An agent can guess the parameters from the schema but not the operational consequences.

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 ranges, units (points 0-409), 1-based row numbering, and sheet name-or-index all documented in the schema. The description adds no meaning beyond that, 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 (set) and resource (row height) and the scope qualifier 'single row' separates it from the bulk sibling set_row_heights. It never names that sibling, so differentiation is implicit rather than explicit.

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 when-to-use guidance, no mention of the plural set_row_heights alternative for multiple rows, and no prerequisites or conditions. The word 'single' hints at a bulk counterpart but leaves the agent to infer it.

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