Skip to main content
Glama

XML to Excel API - flatten any XML into a table

xml_to_excel
Read-onlyIdempotent

Turn XML (feeds, exports, orders) into an Excel or CSV table: finds the repeating row element, flattens attributes and nested tags. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/xml-to-excel.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileName": "orders.xml",
      "fileContent": "PG9yZGVycz48b3JkZXIgaWQ9JzEnPjxpdGVtPlBlbjwvaXRlbT48cXR5PjM8L3F0eT48L29yZGVyPjxvcmRlciBpZD0nMic+PGl0ZW0+Qm9vazwvaXRlbT48cXR5PjE8L3F0eT48L29yZGVyPjwvb3JkZXJzPg=="
    },
    "name": "xml_to_excel"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoOr several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)
formatNoxlsx or csvxlsx
rowTagNoRow element name (optional, auto-detected)
fileNameNoFile name with extension, e.g. report.pdf
fileContentNoThe file as base64 (a data: URI is fine; 20 MB total decoded limit per call)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / fileContent / description
      Previous value: -"The file as base64 (a data: URI is fine)"New value: +"The file as base64 (a data: URI is fine; 20 MB total decoded limit per call)"
    • changedInput schema / properties / files / description
      Previous value: -"Or several files: [{fileName, fileContent (base64)}]"New value: +"Or several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)"
    • addedInput schema / properties / files / maxItems
      Added value: +60
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations by disclosing execution location (our server), data retention (files deleted right after the call, nothing stored), and rate limits (free 5 calls/day per IP). It also specifies both paid auth paths and the exact header (X-API-Key) or payment route, which is precisely the invocation-critical context annotations cannot carry.

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 core capability is front-loaded in the first clause, followed by privacy, then access tiers, which is a sensible order. The pricing sentence is long because of two URLs and a header name, but each element is needed to actually call the endpoint, so there is little genuine waste.

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 five optional parameters, no output schema, and full schema coverage, the description covers the important unknowns: retention, rate limits, and authentication. What it does not describe is the shape of what comes back—sheet/row structure or how nested fields are named in columns—leaving the return value only loosely characterized as a table.

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 coverage is 100%, so the schema already documents files, format, rowTag, fileName and fileContent, including the optional auto-detected row tag and size caps. The description's mention of finding the repeating row element loosely maps to rowTag but repeats what the schema already states. Baseline 3 is appropriate; it adds no new format or syntax guidance.

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?

States a specific verb and resource: turn XML into an Excel or CSV table, and adds mechanism detail (finds the repeating row element, flattens attributes and nested tags). The output-format framing distinguishes it from conversion siblings like xml_to_json, and the parenthetical input examples (feeds, exports, orders) make the domain concrete.

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?

Usage context is implied by the input examples (feeds, exports, orders) rather than stated as an explicit when-to-use rule. It never names an alternative such as xml_to_json or sepa_xml_to_excel, nor does it say when this tool is the wrong choice. The agent can infer the fit, but the description does no active routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources