Skip to main content
Glama

worksheet_structure

Destructive

Insert, delete, group, or resize rows and columns in Excel worksheets to restructure their layout and improve data organization.

Instructions

Perform row/column insert/delete, grouping, and size adjustments.

Args: action: One of insert/delete/group/ungroup/set_row_height/set_col_width. file_path: Workbook path. sheet_name: Worksheet name. row, col, count, start_row, end_row, start_col, end_col: Position arguments. outline_level, hidden, rows, cols_list, height, width: Operation-specific params.

Returns: str: Result message.

Notes: - Many actions are destructive (delete_rows/delete_cols) — document irreversible effects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colNo
rowNo
rowsNo
countNo
widthNo
actionYes
heightNo
hiddenNo
end_colNo
end_rowNo
cols_listNo
file_pathYes
start_colNo
start_rowNo
sheet_nameYes
outline_levelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The annotation destructiveHint=true already indicates destructive potential; the description adds value by specifying exactly which actions are destructive ('delete_rows/delete_cols') and advises documenting irreversible effects. This goes beyond the annotation and provides useful behavioral context. No contradiction exists.

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 concise and well-structured with an opening sentence, Args list, Returns note, and Notes section. It avoids unnecessary verbiage and makes key warning information easy to find. Some parameter details are vague, but the format itself is efficient.

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?

Despite a complex 16-parameter tool with no schema descriptions, the description provides only a list of actions and parameter names plus one warning. It fails to document action-specific parameter requirements, coordinate system, units for height/width, or side effects beyond deletion. The return type note is minimal. An agent would struggle to invoke this tool correctly without additional guidance.

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 description coverage is 0%, so the description must compensate, but it only groups parameters into vague categories ('Position arguments', 'Operation-specific params') without explaining usage. It does not clarify whether `count` is required for inserts, how start/end ranges interact with `rows`, or what `cols_list` expects. The action enum is self-explanatory, but the 16-parameter space is largely unexplained.

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 clearly states 'Perform row/column insert/delete, grouping, and size adjustments' with specific verbs and a clear resource (worksheet rows/columns). This distinguishes it from many siblings like format_cells or read_cells, though it doesn't explicitly name an alternative.

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; it simply lists actions. The description does not mention prerequisites, exclusions, or cases where a sibling tool would be more appropriate. Given the large sibling set, this is a significant gap.

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/mbeps/excel-mcp'

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