Skip to main content
Glama
Kookerella-Ltd

Excel MCP Server (FsOpenXmlDsl)

Official

generate_xml

Convert an Excel workbook to validated XML for inspection, transformation, or archiving without generating code.

Instructions

Reads an existing Excel workbook and returns it as XML, validated against Kookerella.FsOpenXmlDsl's own embedded schema (Xml.xsd). A plain-data alternative to generate_fsharp_script/generate_csharp_script for a caller who wants to inspect, transform (e.g. via XSLT), or archive a workbook's structure without any F#/C# source involved - unlike those two, this returns data, not a runnable script, so there is no output-filename parameter to control what a rebuild saves as. Covers the same worksheet/workbook-level feature set generate_fsharp_script does.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to an existing .xlsx/.xlsm file to convert to XML.
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It clearly indicates that this is a read operation returning XML validated against an embedded schema, and it explains the important non-script behavior. It does not explicitly state the input workbook is unmodified, but 'Reads' strongly implies a non-destructive operation.

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 description is longer than minimal but every clause contributes: the core behavior, the intended use cases, the contrast with script-generating siblings, and the feature-set scope. It is front-loaded with the primary action, though the sibling-contrast material is slightly dense.

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 only one parameter and no output schema, the description sufficiently clarifies that the tool returns XML data rather than a script and validates against Xml.xsd. It does not detail the exact XML structure, but that is acceptable because the output is validated by an embedded schema and the input surface is minimal.

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?

The single parameter path is already fully documented in the input schema, including the .xlsx/.xlsm nuance. The description adds no additional parameter-level information, so with 100% schema coverage the baseline score of 3 is appropriate.

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 opens with a specific verb and resource: 'Reads an existing Excel workbook and returns it as XML.' It also distinguishes itself from siblings by explicitly framing itself as a plain-data alternative to generate_fsharp_script/generate_csharp_script, making its role clear relative to other generators.

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?

The description gives explicit use cases: inspecting, transforming via XSLT, or archiving a workbook's structure without F#/C# source. It names the alternative tools and explains the deciding difference: generate_xml returns data, not a runnable script, and therefore has no output-filename parameter.

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