Skip to main content
Glama
Kookerella-Ltd

Excel MCP Server (FsOpenXmlDsl)

Official

create_workbook_from_xml

Builds an Excel workbook from XML matching the embedded schema, writing it to disk. Enables XML-producing pipelines to generate styled Excel reports with tables and charts.

Instructions

Builds a new Excel workbook from XML matching Kookerella.FsOpenXmlDsl's own embedded schema (Xml.xsd) and saves it to disk - the inverse of generate_xml. The natural target for a caller that already produces data as XML (e.g. an XSLT pipeline generating a report) and wants to reach Excel without learning the OOXML schema or this library's own F#/C# API. Covers the same worksheet/workbook-level feature set generate_xml does; unlike create_workbook, this isn't limited to plain cell values - styling, tables, charts, and every other modeled feature can be expressed in the XML.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlYesThe workbook XML content - a <workbook> root element matching Xml.xsd.
pathYesOutput file path, e.g. "C:\reports\invoice.xlsx". The directory must already exist.
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It does disclose that the tool writes to disk and requires XML matching the embedded Xml.xsd schema, and it conveys feature parity with generate_xml. However, it does not mention overwrite behavior, failure modes for invalid XML, or whether any status/return is produced, so coverage is adequate but incomplete.

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?

Three sentences each serve a distinct purpose: core action, intended usage context, and differentiation from sibling tools. There is no filler or repetition of schema content, and the most important information is front-loaded.

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?

For a 2-parameter tool with full schema coverage, the description provides the key contextual pieces: schema identity, disk-writing behavior, use-case, and relationships to generate_xml and create_workbook. Minor gaps remain around overwrite and error behavior, but the description is sufficient for correct invocation in most cases.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds useful parameter-level meaning by elaborating that the XML can express styling, tables, charts, and every modeled feature, going beyond the schema's terse 'matches Xml.xsd' note. The path parameter is fully covered by its schema description.

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?

The description clearly states a specific action: builds a new Excel workbook from XML and saves it to disk, and explicitly frames itself as the inverse of generate_xml. It also distinguishes itself from create_workbook by noting it supports styling, tables, charts, and other modeled features beyond plain cell values.

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

Usage Guidelines5/5

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

It explicitly describes the natural caller profile: someone who already has data as XML (e.g., from an XSLT pipeline) and wants to reach Excel without learning OOXML or the library API. It also states when create_workbook is insufficient and names generate_xml as the inverse, giving clear routing guidance.

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/Kookerella-Ltd/Kookerella.FsOpenXmlDsl'

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