Skip to main content
Glama
rcarmo

office-document-mcp-server

by rcarmo

excel_delete_comment

Destructive

Remove a comment from a specified cell in an Excel file. Provide the file path and cell reference to delete the comment and optionally save to a new file.

Instructions

Delete a comment from a specific cell.

Args: file_path: Path to the .xlsx or .xlsm file cell_ref: Cell reference (e.g., 'B5', 'Sheet1!C10') sheet_name: Optional sheet name (overrides sheet in cell_ref) output_path: Optional output path (defaults to overwriting input)

Returns: Status dictionary with deletion details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the .xlsx or .xlsm file
cell_refYesCell reference (e.g., 'B5', 'Sheet1!C10')
sheet_nameNoOptional sheet name (overrides sheet in cell_ref)
output_pathNoOptional output path (defaults to overwriting input)
Behavior3/5

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

Annotations already provide destructiveHint=true. The description adds that it returns a status dictionary with deletion details, but does not disclose error handling behavior (e.g., if comment is missing). With annotations covering the core behavioral trait, the description provides some additional but incomplete context.

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

Conciseness5/5

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

The description is very concise with a clear purpose stated first. The Args and Returns sections are structured and add value without unnecessary verbosity.

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

Completeness3/5

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

Given the tool's complexity (delete operation, 4 params, no output schema), the description covers the basic operation but lacks completeness on edge cases, default behavior for output_path, and potential errors. It is adequate but not thorough.

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 coverage is 100%, so the schema already documents all parameters. The description repeats parameter information without adding new semantics or usage constraints beyond what is in the schema.

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

Purpose5/5

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

The description clearly states the action ('Delete a comment') and the target ('from a specific cell'), implying an Excel file context. With sibling tools like pptx_delete_comment and word_delete_comment, the tool is well-distinguished as the Excel-specific deletion tool.

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 guidance on when to use this tool versus alternatives. No prerequisites mentioned (e.g., file must exist, comment must be present). No mention of when not to use it or what to do if the comment doesn't exist.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rcarmo/python-office-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server