Skip to main content
Glama

excel_create_workbook

Create a new Excel workbook (.xlsx) at a specified path. Optionally set the initial sheet name and base folder for relative paths.

Instructions

Create a new .xlsx file at path.

Args: path: Target .xlsx path. May be absolute or relative to folder (or to the default folder when folder is None). sheet_name: Optional name for the initial sheet. When None (the default), the openpyxl default "Sheet1" is used. folder: Optional base folder for relative paths.

Returns: {"path": "<absolute path>"}.

Raises: OfficeMCPError: ERR_INVALID_PARAMS if path is empty or a file already exists at the target (or the requested sheet name is malformed). ERR_UNSUPPORTED_FMT if path does not end in .xlsx.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
sheet_nameNo
folderNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description fully discloses behavior: creates a file, parameters, return format, and specific error conditions (ERR_INVALID_PARAMS, ERR_UNSUPPORTED_FMT). No contradictions.

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?

Well-structured with Args, Returns, Raises sections. Every sentence is informative, though slightly verbose due to docstring format. Could be more compact but still efficient.

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?

Given 3 parameters and no output schema? Actually context says output schema exists, but description already specifies return format and errors. Fully covers input handling and edge cases.

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

Parameters5/5

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

Schema coverage is 0%, so description carries full burden. It provides complete semantics for all three parameters: path (absolute/relative), sheet_name (default), folder (base). Adds meaning beyond schema types.

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?

Description explicitly states 'Create a new .xlsx file at path', clearly identifying the verb and resource. The tool is distinct from siblings like excel_create_sheet or word_create_document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance, but the purpose is so specific that usage is obvious. Lack of alternative mentions is acceptable given the clear domain.

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/gawirable/office-mcp'

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