Skip to main content
Glama
bankstatementparser-mcp

bankstatementparser-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_supported_formatsA

List every bank statement format identifier this server can parse.

Use this first to discover the valid ``format`` strings accepted by
``detect_format``, ``parse_statement``, ``validate_statement``, and
``summarize_statement``. For the file extensions and a human-readable
description of each format, read the ``bankstatementparser://formats``
resource instead.

Returns:
    The supported format identifiers.
detect_formatA

Detect which bank statement format an inline payload is.

Use this when you hold statement text but do not yet know its format,
to resolve the ``format`` identifier from the content plus filename
hint. Once the format is known, use ``parse_statement`` to read the
transactions.

Args:
    content: The raw statement text.
    filename: Original filename; its extension is the primary hint.

Returns:
    The detected format identifier.

Raises:
    ToolError: If the format cannot be detected.
parse_statementA

Parse an inline statement payload into transaction rows and a summary.

Use this to read the full transaction detail plus the statement
balances from a payload. When you only need the balances/totals use
``summarize_statement`` instead, and to merely confirm a payload parses
without returning any rows use ``validate_statement``.

Args:
    content: The raw statement text.
    filename: Original filename; its extension selects the format
        when ``format`` is omitted.
    format: Explicit format override.
    limit: Optional cap on returned transaction rows.

Returns:
    A dict with the resolved ``format``, ``columns``, full
    ``transaction_count``, the (possibly truncated) ``transactions``
    as row dicts, and the statement ``summary``.

Raises:
    ToolError: If the format is unsupported, cannot be detected, or
        the payload does not parse.
validate_statementA

Dry-run parse an inline statement to check it parses cleanly.

Use this to confirm a payload is well-formed and parseable before
committing to a full read; it returns a structured pass/fail with the
transaction count but never the rows themselves, and never raises on a
parse error. To actually read the transactions use ``parse_statement``.

Args:
    content: The raw statement text.
    filename: Original filename; its extension selects the format.
    format: Explicit format override.

Returns:
    A dict with ``is_valid``, the resolved ``format``, the
    ``transaction_count`` on success, and an ``error`` on failure.
summarize_statementA

Summarize an inline statement's balances and totals only.

Use this when you need just the opening/closing balances, currency, and
other summary fields without the per-transaction rows. For the full
transaction detail alongside the summary, use ``parse_statement``
instead.

Args:
    content: The raw statement text.
    filename: Original filename; its extension selects the format.
    format: Explicit format override.

Returns:
    The summary record with Decimal values stringified.

Raises:
    ToolError: If the format is unsupported, cannot be detected, or
        the payload does not parse.

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_statementGuided prompt for reading and reconciling a bank statement. Args: filename: The statement filename being analysed. Returns: A prompt string instructing the model how to proceed.

Resources

Contextual data attached and managed by the client

NameDescription
formats_resourceDescribe each supported statement format and its file extensions. Returns: A human-readable catalogue of the supported formats.

TDQS

A4.6/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a distinct role: discovery, format detection, full parse, summary-only, and validation dry-run. The descriptions explicitly cross-reference each other (e.g. use summarize_statement instead of parse_statement when you only need balances), leaving no realistic chance of misselection.

Naming Consistency5/5

All five tools are snake_case verb_noun identifiers that map cleanly onto their action (list_, detect_, parse_, summarize_, validate_ + format/statement). The pattern is predictable and self-describing.

Tool Count5/5

Five tools is a tight, well-scoped surface for a statement parser: discovery, detection, parse, summarize, validate. Each tool earns its place and none is redundant padding.

Completeness4/5

The read-side lifecycle is well covered (list formats, detect, validate, parse, summarize) with no dead ends. Minor gaps: only inline payloads are accepted (no file path or URL input), and there is no export/conversion operation, though these are reasonable omissions for a read-only parser.

Maintenance

ActivityActive
ResponsivenessNo recent community issues