Skip to main content
Glama

Create a spreadsheet

create_workbook

Build Excel workbooks with data, live formulas, charts, PivotTables, formatting and conditional rules, then export as xlsx, csv, json, html or pdf.

Instructions

Build an Excel workbook with GridCraft (an Excel-class spreadsheet app): sheets of data and live formulas (500+ Excel functions, dynamic arrays), header styling, tables with filter buttons, totals rows, number formats, fonts, colours, borders, merged cells, conditional formatting (highlights, data bars, colour scales, icon sets), drop-down lists, notes, charts (17 types), PivotTables, frozen panes and print setup. Saves xlsx, csv, tsv, json, html or pdf and returns the computed values of the first rows of every sheet (and any formula errors) to check the result. Or start from a sample: budget, sales, grades.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFile name without extension.workbook
themeNo
titleNoDocument title (properties).
authorNo
pivotsNoPivotTables, made after the sheets.
sampleNoStart from a built-in sample workbook instead of a blank one.
sheetsNo
formatsNoOutputs: xlsx (Excel, every sheet, formulas, styles, tables, charts), csv / tsv (values of one sheet), json, html and pdf (one sheet, print layout).
overwriteNoReplace existing outputs.
all_sheetsNocsv / tsv / pdf: write every sheet as its own file (<name>_<sheet>.csv) instead of only the first sheet.
output_dirNoAbsolute output folder (default: next to the input; required for new files).
output_pathNoAbsolute output file for the first format (its extension must match).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, and the description is consistent with them by describing a write operation that produces files. It adds behavioral value beyond the annotations by disclosing that the tool returns the computed values of the first rows of every sheet and any formula errors as a verification mechanism, though it says nothing about overwrite semantics or size limits.

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?

Front-loaded with the action and capped at three sentences, and the feature catalogue genuinely signals what can be accomplished in a single call rather than via follow-up edits. The middle sentence is a long comma-spliced list of capabilities, which is dense but still earns its place for a 12-parameter tool.

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

Completeness4/5

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

With no output schema and 12 parameters at 75% schema coverage, the description covers output formats, sample starting points and return values (computed first rows plus formula errors), which is enough to call the tool correctly. It omits guidance on how this differs from the edit/convert siblings, which is the main remaining gap.

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 75%, so the schema already documents most parameters including formats, sample enums, output_dir and overwrite. The description paraphrases the format options and sample names but adds no syntax or format details beyond what the schema provides (e.g. how output_path must match the first format is only in the schema), so a 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?

States a specific verb+resource ("Build an Excel workbook with GridCraft") and clarifies it is a creation tool that can also start from a sample. Sibling differentiation from edit_workbook/read_workbook is only implied by the word "build"; the description never names those alternatives.

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 when-to-use or when-not-to-use guidance relative to edit_workbook, convert_workbook or open_in_gridcraft, which are all plausible alternatives for an agent holding an existing file. The only contextual hint is optional ("Or start from a sample"), leaving routing entirely to inference.

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