Skip to main content
Glama

create_workbook

Create a new Excel workbook at a specified path, with optional initial sheets, and automatically create parent directories if needed.

Instructions

Create a new Excel workbook at file_path with optional initial sheets.

Args: file_path: Destination path for the new workbook. sheet_names: Optional list of sheet names to create. sheet_name: Optional single sheet name (legacy convenience).

Returns: WorkbookCreatedResult: Contains file path and sheet information.

Notes: - Mutates filesystem by creating a new .xlsx. Parent directory will be created if permitted by utils.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
sheet_nameNo
sheet_namesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sheetsYesNames of sheets in the new workbook.
file_pathYesAbsolute path of the created workbook file.
Behavior3/5

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

With no annotations, the description carries the burden and does disclose that it mutates the filesystem and may create parent directories. However, it does not mention behavior when the target file already exists (e.g., overwrite vs. error) or interaction between the two sheet parameters.

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 docstring format is well-structured and front-loads the main purpose. Arguments, returns, and a key behavioral note are each described in one concise line without redundancy.

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 purpose, arguments, return type, and a filesystem side effect, which is good for a simple creation tool. Missing details like existing-file behavior and parameter exclusivity leave minor but relevant gaps.

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

Parameters4/5

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

Each parameter gets a meaningful description beyond the schema: file_path is the destination path, sheet_names is an optional list, and sheet_name is a legacy single-string convenience. The schema has no property descriptions, so this fully compensates, though it could note mutual exclusivity.

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

Purpose5/5

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

Clearly states it creates a new Excel workbook at a specified path with optional initial sheets. The verb and resource are specific, and it is distinguished from sibling tools that read, modify, or analyze existing workbooks.

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?

The context of creating a new workbook is clear, but there is no explicit guidance on when to use this tool versus alternatives, nor any exclusions. It does not mention that other tools handle existing workbooks or that multi-sheet creation might be done differently.

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