Skip to main content
Glama

x402-xml-pretty

XML Pretty: XML Pretty

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlNoXml to process
dataNoData to process
textNoText to process
inputNoInput to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it discloses nothing: no statement of whether the input is transformed or validated, what the output looks like, whether it errors on malformed XML, or any limits. This is a complete absence for a mutation/transform-style tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is very short, but this is under-specification rather than conciseness — the entire content is a duplicated name with no actionable information front-loaded or otherwise.

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

Completeness1/5

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

For a 4-parameter XML-processing tool with no annotations and no output schema, the description supplies none of the required context: no input contract, no output shape, no sibling routing, no error behavior. An agent cannot call this tool correctly from the definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is technically 100%, but all four parameters ('xml', 'data', 'text', 'input') have boilerplate descriptions like 'Data to process', making the schema nearly uninformative about which field to populate. The description adds zero clarification, so an agent is left guessing whether all four are alternatives or all required (none are marked required). This falls below the baseline-3 case because the structured data itself carries no real semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is 'XML Pretty: XML Pretty' — it merely restates the tool name in a title:description echo, giving no verb-plus-resource statement of what the tool actually produces (indentation? normalization? pretty-printing output format?). An agent cannot distinguish it from siblings like x402-xml-convert, x402-xml-json, or x402-xml-validate.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool, when not to, or which of the many XML siblings to pick instead. The description offers nothing beyond the name.

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