Skip to main content
Glama

FreeDailyPro Tools

business_bank_statement_to_csv

Read-onlyIdempotent

Bank statement to CSV

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": "business_bank_statement_to_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe statement as pasted text. Send this, or a PDF in fileBase64 (or as the multipart field file).
yearNoStatement year as 4 digits, used when dates have no year, for example 2026.
dateOrderNoDate order in the statement: mdy (US), dmy or auto.
flipSignsNotrue when debits are printed as positive numbers and should become negative.
categorizeNotrue adds a category to every row from a short list of generic keywords (not a merchant database). Default false.
fileBase64NoA text-based PDF statement, base64 encoded, up to 20 MB and 100 pages. Scanned or photographed PDFs are refused with a 422: there is no OCR.
includeTextNotrue adds the lines read from the PDF to the response as extractedText, to see what the parser saw.
numberFormatNoNumber style: us (1,234.56), eu (1.234,56) or auto.
categoryRulesNoYour own rules: a row whose description contains match (any case) gets that category; the first matching rule wins, before the built-in keywords.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / categoryRules / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / categoryRules / items / properties / category / description
      Added value: +"Category to assign when match is found, for example Subscriptions."
    • addedInput schema / properties / categoryRules / items / properties / match / description
      Added value: +"Text to look for in the description, for example NETFLIX."
    • addedInput schema / properties / dateOrder / description
      Added value: +"Date order in the statement: mdy (US), dmy or auto."
    • addedInput schema / properties / flipSigns / description
      Added value: +"true when debits are printed as positive numbers and should become negative."
    • addedInput schema / properties / numberFormat / description
      Added value: +"Number style: us (1,234.56), eu (1.234,56) or auto."
    • addedInput schema / properties / year / description
      Added value: +"Statement year as 4 digits, used when dates have no year, for example 2026."
  2. Changed6 schema fields changed
    • addedInput schema / properties / categorize
      Added value: +{
      +  "description": "true adds a category to every row from a short list of generic keywords (not a merchant database). Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / categoryRules
      Added value: +{
      +  "description": "Your own rules: a row whose description contains match (any case) gets that category; the first matching rule wins, before the built-in keywords.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "category": {
      +        "maxLength": 60,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "match": {
      +        "maxLength": 100,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "match",
      +      "category"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 200,
      +  "type": "array"
      +}
    • addedInput schema / properties / fileBase64
      Added value: +{
      +  "description": "A text-based PDF statement, base64 encoded, up to 20 MB and 100 pages. Scanned or photographed PDFs are refused with a 422: there is no OCR.",
      +  "maxLength": 28000000,
      +  "minLength": 8,
      +  "type": "string"
      +}
    • addedInput schema / properties / includeText
      Added value: +{
      +  "description": "true adds the lines read from the PDF to the response as extractedText, to see what the parser saw.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / text / description
      Added value: +"The statement as pasted text. Send this, or a PDF in fileBase64 (or as the multipart field file)."
    • removedInput schema / required
      Removed value: -[
      -  "text"
      -]
  3. First observed

TDQS

C2.8/5.0
Behavior2/5

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

The annotations establish a read-only, idempotent, non-destructive operation, and the description does not contradict them. However, the prose adds no behavioral context such as the no-OCR restriction, 422 refusal for scanned PDFs, size and page limits, or response behavior.

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?

The phrase is front-loaded and contains no filler, but it is so terse that it functions more as a label than useful documentation. Its brevity does not compensate for the omitted invocation context.

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

Completeness2/5

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

The rich schema supplies most invocation details, but the description contributes almost no context for a nine-parameter, multi-input converter. Important practical constraints are left entirely to parameter descriptions, and with no output schema there is also no prose guidance about the CSV or other response fields.

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 description coverage is 100%, with detailed explanations of input modes, formats, sign handling, categorization, and custom rules, so the baseline score applies. The description itself adds no parameter meaning or examples beyond the schema.

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?

The description clearly conveys conversion of a bank statement into CSV, making the input resource and output format unambiguous. It does not provide a fuller verb-based scope or explicitly distinguish the tool from CSV-related siblings.

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

Usage Guidelines2/5

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

The only implied use case is having a bank statement and wanting CSV output. There is no guidance on choosing pasted text versus PDF, when to use categorization or custom rules, or when another tool would be preferable.

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