Skip to main content
Glama

Broc — Clara & Clive Financial Assistant

Analyze Bank Statement CSV (Clara)

analyze_bank_csv

Parses and audits one or more bank CSV statements shared in the chat window (supports Revolut, Revolut Savings, AIB Current/Savings/Credit Card, Bank of Ireland, PTSB, N26, Bunq, Monzo, Nationwide, and generic CSVs). Accepts raw csvText, base64 csvBase64, an HTTPS csvUrl, csvFiles, or local filePath (stdio). Strips own-account transfers, nets refunds, computes 50/30/20 splits, audits overlapping subscriptions & savings tier cliffs, generates ranked EUR savings levers for Clive, and explains how Broc helps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_bank_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvUrlNoOptional HTTPS URL to a CSV attachment or signed download link.
csvTextNoRaw CSV text content from a bank statement attached or pasted in chat.
csvFilesNoOptional array of multiple CSV statements (e.g. Current Account + Credit Card) to merge and analyze together.
fileNameNoOptional filename hint (e.g. "revolut_oct2026.csv" or "aib_current.csv").
filePathNoOptional local filesystem path to a CSV file (for local stdio mode only).
csvBase64NoOptional base64-encoded CSV file bytes (handles UTF-8, UTF-16, and Windows-1252 bank exports).
sessionIdNoOptional label within your isolated connection session (defaults to "default") for follow-up ledger queries or Sankey diagrams.
appendToExistingSessionNoSet true to merge this CSV (or CSV chunk) into statements already loaded in your session instead of replacing it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=false, destructiveHint=false, so the burden is largely on the description, and it delivers: it discloses the transformations performed (strips own-account transfers, nets refunds, 50/30/20 split, subscription overlap and savings tier-cliff audits). Gaps remain around session persistence and why the call is non-readOnly, plus any size or rate limits on large CSVs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and the supported-bank list is genuinely selection-relevant, but the rest is one run-on sentence stringing together five input modes and five analysis behaviors. Splitting input handling from analysis behavior would read better; 'explains how Broc helps' is the weakest clause.

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?

For an eight-parameter, zero-required tool with no output schema, the description covers inputs and analysis outputs conceptually but never addresses the degenerate case of calling with no source argument, nor the shape of the returned audit. A brief statement of what comes back (ledger, splits, ranked levers) would close the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all eight parameters and the baseline is 3. The description adds only modest value by naming the accepted input modes and the stdio caveat for filePath; it says nothing about precedence when several sources are supplied or how sessionId/appendToExistingSession interact with the analysis.

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?

States a specific verb and resource ('Parses and audits one or more bank CSV statements') plus an explicit supported-bank list, so an agent knows exactly what it ingests. It does not name a sibling to distinguish itself from, though the pipeline it describes (parse → analyze → session) implicitly leaves follow-up querying to other tools.

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

Usage Guidelines3/5

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

The input-mode enumeration (raw text, base64, HTTPS URL, file array, local path with stdio) implicitly tells the agent which mode fits which situation. However, there is no explicit when-to-use/when-not-to-use guidance relative to siblings such as query_imported_transactions or get_cash_flow_sankey, leaving routing to inference.

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.

Resources