Skip to main content
Glama
norma43-mcp

norma43-mcp

by ArceeDev

parse_norma43

Read-onlyIdempotent

Parse Spanish Norma 43 bank statement files into structured JSON, including accounts, balances, and movements, while validating record counts, totals, dates, and field formats.

Instructions

Read a Spanish Norma 43 (Cuaderno 43 / AEB43 / CSB43) bank statement into structured JSON.

Returns every account (CCC, computed IBAN, bank, holder, period, opening/closing balance, debit/credit totals, breakdown by AEB common concept) and its movements (dates, signed amount, running balance, concept, references, record-23 texts, decoded SEPA fields in modalidad 3). Checks the file the way a bank does: record 33 counts and totals, opening + movements = closing, record 88 record count, dates, signs and field formats. valid is false when any error is found; each issue names its line.

Args: content: The file as text (paste the .n43/.txt content). content_base64: The raw file bytes as base64 (use for CP850/Latin-1 files with Ñ and accents). include_movements: False returns only accounts, totals and checks. max_movements: Cap on returned movements across all accounts (default 2000, max 20000).

Input Schema

NameRequiredDescriptionDefault
contentNo
max_movementsNo
content_base64No
include_movementsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/closed-world, but the description adds real behavioral detail: it enumerates the validation rules (record 33 counts and totals, opening + movements = closing, record 88 record count, dates, signs, formats), explains that `valid` is false on any error and that issues name their line. It does not say whether truncation by max_movements is surfaced in the result, which is the one behavioral ambiguity left.

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?

Front-loaded with the one-line purpose, then output shape, then validation behavior, then a compact Args block. Dense but every sentence carries information; the only mild redundancy is restating what the output schema already declares about returned fields.

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

Completeness5/5

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

For a parser with a real output schema, the description supplies everything an agent needs: input encoding options, output granularity control, movement capping, and the meaning of the `valid` flag and per-line issues. Nothing required to invoke it correctly is missing.

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 description coverage is 0%, so the description must carry the burden and it largely does: all four parameters are explained with purpose, defaults (2000, max 20000) and the encoding rationale for the base64 variant. It does not state precedence or mutual exclusivity between content and content_base64 when both are empty, which matters given zero required parameters.

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?

States a specific verb and resource ('Read a Spanish Norma 43 ... bank statement into structured JSON') and names the format variants (Cuaderno 43 / AEB43 / CSB43) so the agent knows exactly which input domain it covers. It also implies the boundary against the norma43_to_csv sibling by promising structured JSON output.

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?

Gives clear conditional guidance on parameter choice: use content_base64 'for CP850/Latin-1 files with Ñ and accents', and include_movements=False for a totals-only pass. It never explicitly routes the agent away from norma43_to_csv or reconcile_movements, so the sibling selection is left to inference.

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