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

delete_named_range

Delete a named range from an Excel .xlsx workbook using its file path and range name.

Instructions

Delete a named range from the workbook.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the range to delete
file_pathYesAbsolute path to the .xlsx file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are supplied, so the description bears the full behavioral burden, yet it discloses nothing about the consequences of a destructive operation: whether it errors or silently succeeds when the name is absent, and whether formulas or charts referencing the range break. One sentence that only restates the operation leaves the mutating semantics of this tool unexplained.

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 filler or redundancy. It is efficient, though its brevity reflects under-specification rather than tight editing of substantive content.

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 workbook mutation with no annotations and no output schema, the definition omits the details an agent needs: failure behavior for unknown names, permission or file-lock requirements, and side effects on dependent formulas. The tool is simple in shape, but the description is too thin to call it complete.

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%: both file_path and name carry their own descriptions, and the description adds nothing further such as path format requirements or whether the name is case-sensitive. With the schema doing the documentation work, the baseline of 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 states a specific verb and resource: delete a named range in the workbook. That is clear enough for an agent to pick it over add_named_range or list_named_ranges, but the description itself does no sibling differentiation — that routing is carried entirely by the tool name.

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 use this versus the sibling named-range tools, and no stated preconditions such as the range needing to exist or the workbook not being open elsewhere. The agent must infer usage entirely from the name.

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