Skip to main content
Glama
afialho

MCP Dev Tools

by afialho

xml_utils_dev-tools

Format, minify, validate, convert, extract, and compare XML data. Parse XML structure, escape characters, and generate schemas for developer workflows.

Instructions

Utilitários completos para XML: formatar, minificar, validar, converter, extrair, analisar e manipular dados XML

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xpathNoExpressão XPath simplificada para extração (ex: //elemento, //elemento/@atributo)
operacaoYesOperação: formatar XML, minificar, validar estrutura, converter XML↔JSON, extrair valores, analisar estrutura, escapar caracteres, comparar XMLs ou gerar schema
dados_jsonNoString JSON para converter para XML (apenas para conversão JSON→XML)
indentacaoNoNúmero de espaços para indentação na formatação
xml_stringNoString XML para processar (obrigatório para maioria das operações)
tipo_escapeNoTipo de operação de escape (apenas para operação escapar)escapar
elemento_raizNoNome do elemento raiz para conversão JSON→XMLroot
xml_comparacaoNoSegundo XML para comparação (apenas para operação comparar)
formato_destinoNoFormato de destino para conversãojson
preservar_espacosNoPreservar espaços em branco significativos na formatação
incluir_declaracaoNoIncluir declaração XML (<?xml version="1.0"?>) na formatação
texto_para_escaparNoTexto para escapar/desescapar caracteres XML (apenas para operação escapar)
incluir_estatisticasNoIncluir estatísticas detalhadas na análise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0

TDQS

C2.9/5.0
Behavior2/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, yet it says nothing about error handling, permission requirements, what happens on malformed XML, or return behavior. The operation list merely duplicates the enum rather than disclosing traits like validation output structure or comparison semantics.

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?

A single front-loaded sentence with no filler, but half of it is a redundant re-listing of enum values already present in the schema.

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

Completeness2/5

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

With 13 parameters, no annotations, and no output schema, the definition is a multi-operation dispatcher whose behavior and return shapes are undescribed. The one-sentence description is not sufficient for an agent to know how results or errors come back for each operation.

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 baseline is 3. The description adds no parameter-level meaning beyond the operation names already captured in the 'operacao' enum, so it neither compensates nor degrades.

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

Purpose4/5

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

The description names a specific resource (XML) and enumerates the concrete operations (formatar, minificar, validar, converter, extrair, analisar, manipular), so an agent can tell it apart from html_utils_dev-tools and json_utils_dev-tools by data type. It is clear what the tool does, though sibling differentiation is only implicit via the resource name.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over html_utils or json_utils, nor any conditions, prerequisites, or exclusions for the individual operations. Usage must be inferred entirely from the enum values in the schema.

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