Skip to main content
Glama

Check a message's business rules

askiso_lint

Validate an ISO 20022 XML message with semantic lint checks for IBAN, BIC, currency precision, UETR, and dates before confirming correctness.

Instructions

Run AskISO's semantic linter over an ISO 20022 XML message. It verifies IBAN mod-97 checksums, BIC structure against ISO 9362, currency precision against ISO 4217, UETR format against RFC 4122, and date sanity. Call this before telling anyone a message is correct; it needs no schemas.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "xml": "<xml>"
    },
    "name": "askiso_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlYesThe full ISO 20022 XML message.
filenameNoA name for the message, used in the report. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.8

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the check set and the important precondition that no schemas are required, which is genuine behavioral value. It does not state that the operation is read-only/non-mutating, nor does it describe what a failure looks like or how findings are surfaced ('used in the report' only hints at a report).

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?

Two sentences, front-loaded with the action and the enumerated checks, then the usage trigger and precondition. No filler or repetition.

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 simple two-parameter, single-required-input tool with no output schema, the description covers what the tool does and when to reach for it. What is missing is the shape of the result — whether it returns pass/fail plus a findings list, and whether a lint failure is a normal response or an error.

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?

Schema coverage is 100%, so the baseline is 3; the description goes slightly beyond by noting no schemas are needed, which reassures the agent about what 'xml' must contain. It adds no format or size guidance for the single required parameter, so it stays near baseline.

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?

Names a specific verb and resource ('Run AskISO's semantic linter over an ISO 20022 XML message') and enumerates the concrete checks it performs, so the agent knows exactly what it does. It does not, however, contrast itself with the sibling askiso_validate, whose name suggests an overlapping role, leaving that distinction to inference.

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?

'Call this before telling anyone a message is correct' gives a clear trigger condition, and 'it needs no schemas' removes a likely blocker. There is no explicit when-not guidance or named alternative for cases where a stricter validation is wanted.

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