Skip to main content
Glama
bicibg

Apixies MCP Server

by bicibg

xml_to_json

Read-only

Convert XML content into JSON objects, preserving attributes, namespaces, CDATA, and nested elements for parsing RSS feeds, SOAP responses, and legacy XML data.

Instructions

Convert XML content to a JSON object. Handles attributes, namespaces, CDATA sections, and nested elements. Useful for parsing RSS feeds, SOAP responses, and legacy XML data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlYesXML content to convert
prettyNoPretty-print JSON output (default: true)
preserve_attributesNoInclude XML attributes prefixed with @ (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A4/5.0
Behavior3/5

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

With readOnlyHint=true, the safety profile is already declared. The description adds useful behavioral details like handling of attributes, namespaces, CDATA, and nested elements, but it does not disclose edge-case behaviors such as handling of duplicate keys, type coercion, or potential data loss. This is acceptable but not richly transparent.

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?

The description is two sentences, front-loaded with the core purpose, followed by key capabilities and use cases. Every sentence earns its place with no redundant or filler content.

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 straightforward conversion tool with full schema coverage and readOnly annotation, the description covers purpose, capabilities, and use cases sufficiently. It does not describe the output structure or error conditions, but no output schema exists and the tool is simple enough that an agent can invoke it correctly based on this description.

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 100%, so the schema already documents all parameters. The description adds only a general mention of attributes being handled, which aligns with preserve_attributes, but it does not meaningfully extend the schema's parameter documentation. Baseline 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 clearly states a specific verb and resource: 'Convert XML content to a JSON object.' It also lists concrete capabilities (attributes, namespaces, CDATA, nested elements) and typical use cases, making it easy to distinguish from sibling tools like json_to_xml or csv_to_json.

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?

The description gives clear context for when to use the tool ('parsing RSS feeds, SOAP responses, and legacy XML data'), but it does not explicitly mention when not to use it or name alternatives. The context is sufficient to guide selection among the format conversion siblings.

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