Skip to main content
Glama

excel_delete_rows

Delete a specified number of rows from a worksheet in an opened Excel workbook, starting at a given 1-based row.

Instructions

Delete rows

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": {
      "filename": "<filename>",
      "worksheet": "<worksheet>",
      "startRow": "<startRow>"
    },
    "name": "excel_delete_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of rows
filenameYesOpened workbook name
startRowYesStart row (1-based)
worksheetYesWorksheet name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and supplies almost nothing. "Delete" implies a destructive, likely irreversible mutation, but there is no statement about whether rows below shift upward, whether this persists to disk, or what permissions or open-workbook state are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two words are technically concise but represent under-specification rather than efficient communication. There is no front-loaded scope or consequence statement to anchor the agent's decision.

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 destructive four-parameter mutation tool with no annotations and no output schema, the description should disclose irreversibility and row-shift behavior. It leaves all of that to inference, even though the input schema is fully documented.

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%, so filename, worksheet, startRow (1-based), and count are already documented in the schema. The description adds no meaning about range semantics or edge cases such as count exceeding used rows.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete rows" merely restates the tool name excel_delete_rows with no additional specificity. It does not say what rows, in what scope, or how it differs from excel_delete_columns or excel_delete_worksheet beyond the obvious noun.

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?

No when-to-use guidance, no prerequisites (e.g., workbook must be opened), and no exclusions. The agent must infer the distinction from the sibling names alone.

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

Deploy Server

Other Tools