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 €9/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)}]
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)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint/idempotentHint annotations by disclosing server-side execution, immediate file deletion with 'nothing stored', a free tier of 5 calls/day per IP, and two paid access paths (X-API-Key or x402 per-call). These are exactly the operational and auth facts an agent needs before calling.

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?

Three sentences: what it does, data handling, then access/pricing — a sensible front-loaded order with little waste. The pricing sentence is dense (URLs, price, header name) but that content is load-bearing for access.

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

Completeness3/5

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

Covers purpose, privacy, and payment, which is strong for a hosted conversion tool with annotations. However, with no output schema it never says how the converted table is returned (file payload, base64, or link), which is a meaningful gap for a 5-parameter conversion endpoint.

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 coverage is 100%, so the baseline is 3; the description adds real meaning by explaining that the tool 'finds the repeating row element' itself, which tells the agent rowTag is auto-detected when omitted. The xlsx/csv choice is echoed for format but no per-parameter detail is added beyond that.

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 transformation: 'Turn XML (feeds, exports, orders) into an Excel or CSV table', and adds the mechanism ('finds the repeating row element, flattens attributes and nested tags'). The input format (XML) and output formats (xlsx/csv) clearly separate it from siblings like image_to_excel_table or pdf_to_excel_word.

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?

Gives concrete use-case context ('feeds, exports, orders'), which tells an agent what kind of input belongs here, and the pricing/access sentence clarifies that it is a hosted paid service. It does not name alternatives or exclusions (e.g. when to prefer a sibling converter), so it stops short of a 5.

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