Skip to main content
Glama
wkqco33
by wkqco33

excel_manage_sheets

Add, rename, delete, or copy sheets in an Excel workbook, with optional backup before modifications.

Instructions

Manage sheets in an Excel workbook (add, rename, delete, copy).

Args:
    file_path: Path to the Excel file.
    action: Action to perform: 'add', 'rename', 'delete', or 'copy'.
    sheet_name: Target sheet name.
    new_name: New name for the sheet (required for 'rename' and 'copy').
    backup: If True, create a backup of the original file before modifying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
backupNo
new_nameNo
file_pathYes
sheet_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It implicitly acknowledges mutation by mentioning 'modifying' in the backup parameter, and it discloses an optional safety backup. However, it does not state whether operations are permanent, whether the file must already exist, or what error handling occurs (e.g., duplicate sheet name, missing sheet). The safety profile is only partially transparent.

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 concise and well-structured: a one-line summary followed by a compact Args list. Every parameter is front-loaded in the argument section without unnecessary prose. The length is appropriate for a multi-action tool, and the formatting makes it easy to scan.

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 a moderately complex tool with 5 parameters, zero annotations, and an existing output schema (which can explain return values), the description covers all parameters but lacks prerequisites and error semantics. It does not state whether the workbook must already exist, how 'copy' behaves if the sheet exists, or what happens on invalid action values. This leaves some gaps an agent might need to infer.

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

Parameters4/5

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

Since schema description coverage is 0%, the description must compensate for missing parameter documentation. It does so by explaining each argument: file_path, action with a list of allowed values, sheet_name as the target, new_name with a condition (required for rename and copy), and backup with its effect. This adds meaningful guidance beyond the raw schema, though it could be more precise about how sheet_name applies differently across actions.

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 tool's function: 'Manage sheets in an Excel workbook (add, rename, delete, copy).' It names the resource (sheets in Excel workbook) and the specific operations, which distinguishes it from sibling tools like excel_read_sheet or excel_write_cell. The purpose is immediately understandable and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by listing the actions, but it does not explicitly say when to prefer this tool over alternatives, nor does it provide exclusions or comparisons. For example, it does not mention that creating a new workbook should use excel_create_workbook. The context is clear for sheet management, but the agent gets no direct guidance on choosing between this and related tools.

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