Skip to main content
Glama

Create workbook

create_workbook

Create a new empty Excel workbook at a specified path, optionally defining sheet names and allowing controlled overwrite of existing files.

Instructions

Create a new, empty workbook file.

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>"
    },
    "name": "create_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path for the new .xlsx or .xlsm file (preloaded names do not apply).
sheetsNoSheet names to create. Default: ["Sheet1"].
overwriteNoReplace an existing file at path. Refused by default.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • addedInput schema / properties / overwrite / description
      Added value: +"Replace an existing file at path. Refused by default."
    • addedInput schema / properties / path / description
      Added value: +"File path for the new .xlsx or .xlsm file (preloaded names do not apply)."
    • addedInput schema / properties / sheets / description
      Added value: +"Sheet names to create. Default: [\"Sheet1\"]."
  2. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With only openWorldHint=false supplied, the description carries most of the disclosure burden. 'New, empty' usefully signals that no content is imported, but the write-to-disk side effect, the overwrite refusal behavior, and failure conditions are left to the schema rather than the description.

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?

A single front-loaded sentence with no filler, hedges, or redundancy. Every word earns its place and the key attribute ('empty') appears immediately.

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 an output schema and full parameter documentation, the description only needs to cover intent and routing, and it handles intent adequately. It falls short on differentiating from sibling creation tools and on stating what happens when the path already exists.

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 path, sheets, and overwrite are already fully documented in structured fields. The description adds no syntax, format, or defaulting detail beyond what the schema states, so the baseline of 3 applies.

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 a specific verb and resource ('Create a new... workbook file') and the qualifier 'empty' narrows the outcome. It doesn't explicitly distinguish itself from siblings like create_sheet or create_chart, though 'workbook' vs 'sheet' is reasonably inferable.

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?

There is no guidance on when to use this versus create_sheet, or when an existing file should be opened instead. The only contextual hint ('empty', 'new') is embedded in the purpose statement rather than framed as usage guidance.

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