Skip to main content
Glama
geniuskey

mcp-server-xlwings

by geniuskey

manage_sheets

Destructive

List, add, delete, rename, copy, activate sheets, or insert and delete rows and columns in Excel workbooks using xlwings.

Instructions

Manage sheets and structure.

Args: action: One of 'list', 'add', 'delete', 'rename', 'copy', 'activate', 'insert_rows', 'delete_rows', 'insert_columns', 'delete_columns'. workbook: Workbook name or path. Defaults to active workbook. sheet: Target sheet name (required for delete/rename/copy/activate). new_name: New name (for rename; optional for add/copy). position: Row/column number (1-based) for insert/delete actions. count: Number of rows/columns to insert or delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
workbookNo
sheetNo
new_nameNo
positionNo
countNo
Behavior3/5

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

Annotations set destructiveHint: true, and the description includes actions like delete, which implies destructive behavior. The description does not elaborate on side effects, permissions, or reversibility beyond what annotations provide, but it does not contradict them either.

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

Conciseness4/5

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

The description is structured with a brief overview followed by a bullet list of parameters. While somewhat lengthy, every sentence serves a purpose and the format is clear. Minor redundancy (e.g., actions listed twice) could be trimmed.

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?

The description covers all parameters and their roles but does not explain return values or behavior for each action (e.g., what 'list' returns). Given no output schema, this gap reduces completeness for an agent invoking the tool.

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

Parameters5/5

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

With 0% schema coverage, the description fully explains each parameter: action lists valid options, workbook defaults to active, sheet is required for specific actions, new_name for rename/add/copy, position and count for insert/delete. This adds essential meaning missing from the schema.

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

Purpose4/5

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

The description states 'Manage sheets and structure' and lists specific actions via the action parameter. While it clearly indicates the tool's purpose for sheet-level operations, it does not explicitly differentiate from sibling tools like manage_workbooks, but the action list implicitly covers that.

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 is provided on when to use this tool versus alternatives (e.g., manage_workbooks for workbook operations, write_data for data changes). The description does not include any when-to-use or when-not-to-use information.

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/geniuskey/mcp-server-xlwings'

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