Skip to main content
Glama
xlsx-mcp-server
by knorq-ai

add_sheet

Add a new empty worksheet to an existing Excel .xlsx workbook using its file path and a sheet name.

Instructions

Add a new empty sheet to the workbook.

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": {
      "file_path": "<file_path>",
      "name": "<name>"
    },
    "name": "add_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new sheet
file_pathYesAbsolute path to the .xlsx file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. Beyond 'empty', it says nothing about behavior: whether an existing sheet with the same name causes an error or overwrite, whether the new sheet becomes active, or whether the file is mutated in place. These are exactly the facts an agent needs before calling a mutation tool.

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?

A single short sentence with the action and object front-loaded and zero filler. It is efficient, though its brevity contributes to the gaps noted elsewhere rather than resolving them.

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

Completeness5/5

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

For a two-parameter, fully documented schema with no output schema, the description plus schema together cover what is strictly required to invoke the tool. The unanswered questions are behavioral edge cases rather than missing invocation facts, so it is adequate for this complexity level.

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%, with both 'name' and 'file_path' documented in the schema itself, so the baseline is 3. The description adds no format, constraint, or uniqueness rules beyond what the schema already states.

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?

States a specific verb and resource ('Add a new empty sheet') and the word 'empty' implicitly distinguishes it from copy_sheet. It does not explicitly name or contrast with any sibling, so an agent must infer the boundary itself.

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 when-to-use or when-not-to-use guidance is given; the only signal is the adjective 'empty', which hints at the difference from copy_sheet. Alternatives like create_workbook or copy_sheet are never mentioned, so routing is left entirely to inference.

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