Skip to main content
Glama

validate_camt053

Validate camt.053 XML messages against the XSD schema, reporting all violations with line and column details so you can fix them in one pass.

Instructions

Validate a camt.053.001.08 message against its XSD.

Returns a structured ValidationReport listing every XSD violation found, with line/column/path information. Unlike parse_camt053, this does not stop at the first error — all violations are reported so the user can fix them in one pass.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlYesThe camt.053 XML message as a string.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description fully carries behavioral disclosure. It explains that validation returns a structured report with line/column/path info and that it doesn't stop at first error, which is key behavioral context. However, it does not mention idempotency or side effects, though validation is inherently read-only.

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, each earning its place: the first states the purpose, the second adds behavioral detail and contrast with a sibling. No wasted words.

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?

Given that an output schema exists (implied by 'structured ValidationReport'), the description does not need to detail return fields. It does describe key output features (line/column/path, all violations). It could mention handling of malformed XML but that is likely covered by XSD validation. The tool is simple with one parameter, so the description is adequate.

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?

The input schema has 100% description coverage for the single parameter 'xml', which is already described as 'The camt.053 XML message as a string.' The description adds no additional parameter semantics beyond what the schema provides, so the baseline score of 3 applies.

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 the tool validates a specific message type (camt.053.001.08) against its XSD, with a specific verb and resource. It also distinguishes itself from the sibling tool parse_camt053 by noting it reports all violations.

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 provides a comparison with parse_camt053, explaining why one might choose it over parsing. However, it does not explicitly state when to validate vs. other sibling tools like validate_pacs008, or mention prerequisites like schema availability.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deniskarlinsky/iso20022-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server