Skip to main content
Glama

validate_message

Validate an ISO 20022 XML message (pacs.008, camt.053, pain.001, etc.) for schema compliance, required fields, and Nov 2026 structured address deadline. Provide 'xml' for full validation or 'message_type' for schema info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlNoRaw ISO 20022 XML message to validate
message_typeNoMessage type for schema info (e.g. pacs.008, camt.053, pain.001)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It goes beyond a simple 'validate' by specifying what validation covers (schema compliance, required fields, Nov 2026 deadline) and describes two distinct behaviors depending on which parameter is provided. It does not mention side effects or return format, but it is a read-only validation tool.

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, starts with the primary action and resource, and is front-loaded with the core purpose. It provides valuable detail without fluff, and every sentence contributes to understanding the tool.

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?

The description covers the main functionality and parameters, which is adequate for a simple validation tool. However, there is no output schema, and the description does not explain what the tool returns (e.g., pass/fail, error list, schema details). This is a clear gap, as the user would not know what to expect from the output.

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?

The input schema already describes both parameters, so baseline is 3. The description adds the relationship between the parameters: 'xml' is for full validation and 'message_type' is for schema info, clarifying that they serve different purposes. This adds operational meaning beyond the schema.

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 ISO 20022 XML messages with specific validation criteria (schema compliance, required fields, deadline). It lists common message types and distinguishes it from sibling tools like generate_pacs008 or message_convert_check by focusing on validation.

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 usage context: use when you need to validate an ISO 20022 XML message. It also explains the two parameter modes ('xml' for full validation, 'message_type' for schema info), which is helpful. However, it does not explicitly state when not to use this tool or mention alternatives.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct concern: address validation, DTI lookup, message generation, health monitoring, cataloging, conversion, MiCA decisions, sanctions screening, stablecoin profiles, deadlines, travel rule, and validation. Even similar tools like dti_lookup and stablecoin_iso_profile are clearly separated by scope (code lookup vs. full integration profile), with no overlapping purposes.

Naming Consistency4/5

All names use lowercase snake_case and are descriptive, but the pattern is not uniformly verb_noun. Most start with a verb (check_, generate_, validate_, lookup, screen), while a few are noun phrases (message_catalog, stablecoin_iso_profile, swift_deadlines, health_check). This minor inconsistency prevents a perfect 5 but remains predictable and readable.

Tool Count5/5

12 tools is well within the ideal 3-15 range for a domain-specific server. Each tool serves a distinct function without unnecessary duplication or bloat, covering generation, validation, compliance, and informational lookups.

Completeness5/5

The tool surface provides comprehensive coverage of the ISO 20022 stablecoin/payment domain: message generation, validation, cataloging, deadline tracking, MT/MX conversion, and multiple compliance checks (sanctions, travel rule, MiCA, structured address). No critical gaps are apparent; the set handles end-to-end workflows from generation to compliance validation.