Skip to main content
Glama

manage_sheets

Destructive

Create Excel workbooks and add, rename, delete, copy, move, hide, or unhide sheets; renaming a sheet updates formulas that reference it.

Instructions

Create workbooks and add/rename/delete/copy/move/hide sheets. Renaming updates formulas that reference the sheet.

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": {
      "path": "<path>",
      "action": "<action>"
    },
    "name": "manage_sheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path, relative to the root folder (or absolute inside it).
sheetNoTarget sheet (for rename/delete/copy/move/hide).
actionYesWhat to do.
sheetsNoSheet names for create_workbook.
dry_runNoPreview the change without saving.
new_nameNoNew name (rename/add/copy).
positionNo0-based position (add/move).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely useful non-annotated behavior — renaming rewrites formulas that reference the sheet — but omits other relevant traits: what delete destroys, that dry_run previews without saving, and whether the mutation is idempotent for repeat calls.

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?

Two sentences, front-loaded with the capability list and followed by the highest-value caveat; no filler. It is slightly under-specified rather than padded — the action list is shorter than the enum, which costs a little precision without costing much space.

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?

For a 7-parameter, 9-action destructive tool with no output schema, the description should map actions to required parameters and warn about delete irreversibility and dry_run usage; it does neither. An agent must open the schema to learn that list/unhide exist and which parameters each action requires.

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 every parameter (path, sheet, action, sheets, dry_run, new_name, position) is already documented with its applicable actions in the schema. The description adds almost no parameter-level detail beyond the rename/formula interaction, so baseline 3 is appropriate.

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?

Names concrete verbs (create/add/rename/delete/copy/move/hide) against a concrete resource (workbooks/sheets), so an agent can tell it apart from siblings like read_range or format_range. Minor gap: the description omits the 'unhide' and 'list' actions that the action enum supports, so its stated scope is narrower than the tool's actual scope.

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?

Usage is only implied by the verb list — there is no explicit guidance on when to pick this tool over insert_delete or formulas, and no prerequisites such as when dry_run should be used or that delete is irreversible. The one clear conditional given is that renaming triggers formula updates, which hints at a real side effect an agent should consider before renaming.

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