Skip to main content
Glama

normalize_camt053

Read-onlyIdempotent

Converts parsed camt.053 bank statement entries into canonical observed records with uniform id, amount, date, and counterparty fields for reconciliation.

Instructions

Convert parsed camt.053 statement entries into canonical observed records.

Purpose: Adapts parsed ISO 20022 camt.053 bank statement documents or entry lists into canonical observed records ready for the reconcile engine.

When to use:

  • When converting parsed bank statements into canonical observed records for reconcile.

  • When transforming bank booking entries into uniform id, amount, date, and counterparty fields.

When NOT to use:

  • Accepts parsed camt.053 bank statements only, not payment initiation orders (pain.001); use normalize_pain001 for payments.

  • Expects a parsed dictionary or list rather than raw XML text.

Behavioral transparency: Pure, deterministic, read-only data normalization.

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": {
      "document": "<document>"
    },
    "name": "normalize_camt053"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentYesParsed camt.053 document or entry list.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.2

TDQS

A4.3/5.0
Behavior3/5

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

The 'pure, deterministic, read-only' line largely restates the supplied readOnlyHint/idempotentHint/destructiveHint annotations, though 'deterministic' and 'pure' add a bit. The genuinely new behavioral content is the input-format constraint ('expects a parsed dictionary or list rather than raw XML text'), but nothing is said about malformed entries, unsupported camt versions, or failure modes.

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?

Labeled sections (Purpose, When to use, When NOT to use, Behavioral transparency) make it front-loaded and scannable, but the purpose section repeats the opening sentence and the behavior section repeats annotation content, so a couple of lines do not fully earn their place.

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 one-parameter normalizer with an output schema and rich annotations, the definition covers selection, input format, and output intent (id, amount, date, counterparty). It falls short only on edge-case handling such as invalid or unsupported parsed input.

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?

With one required parameter at 100% schema coverage the baseline is 3, and the description earns an upgrade by clarifying that the document must be already-parsed data (dictionary or entry list) rather than raw XML text, which meaningfully constrains how the single argument is supplied.

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 opening sentence gives a specific verb and resource ('Convert parsed camt.053 statement entries into canonical observed records') and the purpose section names the consumer ('reconcile engine'), so it is distinguishable from neighbors such as normalize_pain001 without opening a schema.

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

Usage Guidelines5/5

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

It provides explicit when-to-use conditions (converting parsed bank statements, transforming booking entries into id/amount/date/counterparty) and explicit when-not-to-use exclusions that route pain.001 work to normalize_pain001 and raw XML elsewhere.

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