Skip to main content
Glama

excel_unprotect_worksheet

Removes password protection from a specified Excel worksheet using the workbook and worksheet names, with an optional password when required.

Instructions

Unprotect 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_unprotect_worksheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
passwordNoPassword
worksheetYesWorksheet name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/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 only restates the operation. It says nothing about whether a password is required when the sheet was protected with one, what happens on an incorrect password, whether removing protection is reversible, or whether permissions are needed.

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?

At two words there is no waste, but this is under-specification rather than conciseness. Nothing is front-loaded because there is nothing to front-load.

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 state-changing operation with no annotations and no output schema, so the description must explain failure modes, password behavior, and the effect on the sheet. Two words leave every one of those gaps open.

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, and password are each documented in the schema, and the baseline of 3 applies. The description adds no meaning beyond that, notably leaving the conditional nature of the optional password parameter unexplained.

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?

"Unprotect worksheet" is essentially the tool name detokenized: it names a verb and a resource but adds no scope, no target clarity, and no differentiation from the near-identical siblings excel_protect_worksheet and excel_unprotect_workbook. An agent learns nothing beyond what the identifier already told it.

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 statement of prerequisites, and no mention of the sibling that removes protection at workbook level (excel_unprotect_workbook). The agent must infer the worksheet-vs-workbook distinction purely 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