Skip to main content
Glama

excel_delete_worksheet

Remove a specified worksheet from an opened Excel workbook by providing the workbook filename and worksheet name. Use it to clean up or restructure workbooks by deleting unwanted sheets.

Instructions

Delete worksheet

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

Input Schema

NameRequiredDescriptionDefault
filenameYesOpened workbook name
worksheetYesWorksheet to delete

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?

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about irreversibility, whether the delete can be undone, what happens to worksheet contents, or whether deleting the last worksheet errors. Only the inherently destructive verb "delete" conveys any behavioral signal.

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

Conciseness3/5

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

It is a single front-loaded fragment with zero waste, but the brevity reflects under-specification rather than disciplined conciseness. There is no structure to speak of beyond the verb-resource pair.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation tool with no annotations and no output schema, so the description must cover safety and side effects on its own — and it covers none of them. An agent cannot tell from this text what the call destroys or what failure modes to expect.

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 both required parameters (filename, worksheet) are documented in the schema itself. The description adds no meaning about format, case sensitivity, or whether an unopened workbook is acceptable, so the baseline of 3 applies.

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 worksheet" restates the tool name verbatim and adds no scope detail. Compared with siblings such as excel_delete_rows or excel_delete_chart, the resource is at least named, but nothing distinguishes it beyond what the identifier already conveys.

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 or when-not-to-use guidance, no note about prerequisites (workbook must be open), and no mention of alternatives such as excel_rename_worksheet if the intent is only to relabel. The agent must infer everything from the name.

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