Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

delete_worksheet

Destructive

Delete a specified worksheet from an Excel workbook using its file path and sheet name.

Instructions

Delete worksheet from 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": {
      "filepath": "<filepath>",
      "sheet_name": "<sheet_name>"
    },
    "name": "delete_worksheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
filepathYesReuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing.
sheet_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • addedInput schema / properties / filepath / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
  2. First observedv0.8.0

TDQS

C2.4/5.0
Behavior2/5

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

The destructiveHint annotation already flags this as a write/destroy operation. The description adds nothing further: it doesn't say deletion is irreversible, whether data in the sheet is lost, whether it works on the last remaining sheet, or whether the file on disk is modified. For a destructive operation, that is a meaningful gap even with annotations present.

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?

The single sentence is front-loaded and free of waste, but it is under-specified rather than concise — brevity here comes at the cost of missing behavioral and parameter detail.

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?

A destructive, two-parameter tool with no output schema and half its parameters undocumented in the schema needs the description to carry more: irreversibility, path handling expectations, and the meaning of sheet_name. Almost all of that is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: filepath is well documented in the schema, but sheet_name has no schema description at all. The description never mentions either parameter, so it does not compensate for the undocumented sheet_name (the worksheet tab to remove).

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

Purpose3/5

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

"Delete worksheet from workbook" names a specific verb and resource, so the basic action is unambiguous. But it adds nothing beyond the tool name and title ("Delete Worksheet"), and does not distinguish it from siblings like delete_range, delete_named_range, or delete_sheet_rows that also destroy content.

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 delete_range, delete_sheet_rows, or rename_worksheet, and no prerequisites such as whether the workbook must be saved or the sheet unprotected. The agent must infer all conditions for use.

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