Koskamo

Bankstatemently MCP

An official MCP server provided by Bankstatemently that enables AI agents to convert PDF bank statements into structured JSON data, including transactions, accounts, and balances. It supports 366+ banks across 42 countries and integrates with tools like Claude, Cursor, and ChatGPT for automated financial data extraction.

Endpoint and access

OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.

Bankstatemently MCP logo, by BankstatementlyVendor evidenceStreamable HTTPOAuth sign-inEndpoint checked 2026-11-23Operated by Bankstatemently
You need:Adding a custom MCP server depends on your ChatGPT plan and workspace permissions.Directory plugins are available on Pro, Max, Team, and Enterprise plans.generate one from your Developer Dashboard and pass it via the X-API-Key header
MCP endpoint (Streamable HTTP)
https://api.bankstatemently.com/mcp
Vendor documentation

What its tools do

22 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

22 of 22 have a description · 22 of 22 declare behavior hints · 20 of 20 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Endpoint and vendor documentation share a domain
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 1 GitHub star

What you can do with it

  • Convert PDF bank statements into structured JSON transactions
  • Extract account metadata and balances from financial documents
  • Integrate bank data into AI agents for expense analysis
  • Automate bookkeeping workflows with accounting software exports

Source and maintenance

Vendor evidenceRegistry 2.1.0MIT
Last repository push
Latest release
v2.1.0
Maintenance checked

Protocol and capabilities

Server
bankstatemently 2.1.0
MCP protocol negotiated in check
2025-11-25
Tools
22 advertised
Resources
16 advertised
Resource templates
Sign-in required
Prompts
4 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "prompts": {
    "listChanged": true
  },
  "resources": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Bankstatemently converts bank statement PDFs into structured, queryable financial data. Workflow: convert_statement (or get_statement for an already-converted document) to parse a PDF, list_statements to browse past conversions, list_transactions/aggregate/group_by/etc. to query across them, and evaluate_benchmark to score extraction accuracy. "Credits" on this server means your processing quota (1 credit = 1 page) — NOT a transaction credit/debit. For "how many credits do I have" / remaining pages / plan limits, always call get_credits — never filter transactions for it.

Tools

22 advertised

request_upload — Request Upload URL
Advertised by the server during the last successful anonymous check.

Mint a single-use upload URL for pushing a conversation-attached PDF to Bankstatemently before converting it. Use this ONLY when you have no other way to reference the attached file (no pdf_file/pdf_url equivalent for this host) — e.g. a code-execution sandbox that can see the file on disk but has no URL for it. Playbook: (1) check your sandbox's uploads/attachments directory first — if the file isn't there yet, the mount can lag behind the conversation; ask the user to re-attach or wait a moment and check again before calling this tool. (2) Call request_upload to get upload_url and upload_id. (3) PUT the raw PDF bytes to upload_url with header Content-Type: application/pdf, e.g.: `curl -X PUT "<upload_url>" -H "Content-Type: application/pdf" --data-binary @<path-to-file>`. (4) Once the PUT succeeds, call convert_statement with upload_id set to the same value — never pdf/pdf_url/pdf_file for this flow. The URL and token are single-use and expire quickly; call request_upload again for a fresh one if the PUT fails partway through — never retry a failed PUT against the same URL. If the PUT fails with a network error or a "host not allowed"-style denial, the sandbox is likely blocking outbound requests to api.bankstatemently.com — tell the user to add api.bankstatemently.com to their host's code-execution allowed-domains setting (on claude.ai: Settings → Capabilities → Code execution) and retry. To convert several statements at once, pass count (1-100) instead of calling this tool once per file: the response returns "uploads", an array of that many { upload_id, upload_url } pairs — PUT each file to its own upload_url, then make ONE convert_statement call with upload_ids set to every upload_id. Free to use — no credits consumed (conversion itself still costs credits, same as any other convert_statement call).

request_upload input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "count": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Batch size — mint this many independent single-use upload URLs in one call instead of calling request_upload once per file. When set, the response returns \"uploads\": an array of that many { upload_id, upload_url } pairs. Omit for the default single-URL response."
    }
  }
}
request_upload output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "uploads": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "upload_id",
          "upload_url"
        ],
        "properties": {
          "upload_id": {
            "type": "string"
          },
          "upload_url": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "max_bytes": {
      "type": "number"
    },
    "upload_id": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    },
    "upload_url": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
request_upload annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": false
}
convert_statement — Convert Bank Statement
Advertised by the server during the last successful anonymous check.
Open-world

Convert a bank statement PDF into structured data or a spreadsheet. When the user attaches a PDF in the conversation, it arrives automatically as pdf_file — never encode it yourself. Otherwise, pass pdf_url for a public HTTPS link. If your host has no way to reference the attached file at all (no pdf_file/pdf_url equivalent), call request_upload first and pass its upload_id here instead. The base64 pdf parameter is a last resort only, for a caller with no other way to reference the file. To convert several statements in one call, pass upload_ids (the array from a single request_upload call made with count set) instead of pdf/pdf_url/pdf_file/upload_id — mutually exclusive with those four. This batch form only ADMITS each file (queues it, or reports an already-completed duplicate) and returns immediately with a compact per-file status list plus a summary — it never waits for conversion, so call get_statement per document_id once ready rather than expecting inline results here. Returns accounts, transactions, and metadata. output_format "json" (default) returns the data inline, renderable in chat. The other formats (csv, xlsx, qbo, xero) return a time-limited download link instead: present it as a normal link. Every response includes a "summary" field: use it as the single source of truth for what happened. If the conversation is not in English, translate it faithfully into the conversation language; never add details it doesn't contain. Never echo raw status values (e.g. "completed") or field names. Consumes credits (1 per page). Page limit depends on your plan.

convert_statement input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "pdf": {
      "type": "string",
      "description": "Base64-encoded PDF content — last resort only; prefer pdf_file for an attachment or pdf_url for a link"
    },
    "pdf_url": {
      "type": "string",
      "format": "uri",
      "description": "HTTPS URL to fetch the PDF from"
    },
    "password": {
      "type": "string",
      "description": "Password for encrypted PDFs"
    },
    "pdf_file": {
      "type": "object",
      "required": [
        "download_url",
        "file_id"
      ],
      "properties": {
        "file_id": {
          "type": "string",
          "description": "ChatGPT's identifier for the attached file."
        },
        "file_name": {
          "type": "string",
          "description": "Original filename of the attached file, when ChatGPT provides one."
        },
        "mime_type": {
          "type": "string",
          "description": "MIME type of the attached file, when ChatGPT provides one."
        },
        "download_url": {
          "type": "string",
          "description": "Signed URL ChatGPT provides to fetch the attached PDF's bytes."
        }
      },
      "description": "An attached PDF (populated automatically by ChatGPT — do not construct this yourself)."
    },
    "upload_id": {
      "type": "string",
      "description": "An upload_id from request_upload, after PUTting the file to its upload_url. Use this only when your host has no other way to reference the attached file (no pdf_file/pdf_url equivalent)."
    },
    "upload_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "Batch of upload_ids from a single request_upload(count) call, each already PUT to its own upload_url — converts many statements in one call. Mutually exclusive with pdf, pdf_url, pdf_file, and upload_id. Admission only: the response reports per-file status immediately, never waiting for conversion — fetch results per document_id via get_statement."
    },
    "output_format": {
      "enum": [
        "json",
        "csv",
        "xlsx",
        "qbo",
        "xero"
      ],
      "type": "string",
      "default": "json",
      "description": "Output format"
    }
  }
}
convert_statement output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "status"
  ],
  "properties": {
    "hint": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "gating": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "previewMode",
            "accessMode",
            "previewPageLimit",
            "previewPages",
            "hiddenTransactionPages",
            "processedPages",
            "totalPages",
            "totalTransactionCount",
            "previewTransactionCount",
            "unlocked",
            "requiresPlanUpgrade",
            "resultQuality",
            "gatedRecipe"
          ],
          "properties": {
            "unlocked": {
              "type": "boolean"
            },
            "accessMode": {
              "enum": [
                "paid",
                "free_processed"
              ],
              "type": "string"
            },
            "totalPages": {
              "type": "number"
            },
            "gatedRecipe": {
              "anyOf": [
                {
                  "enum": [
                    "template-first",
                    "vlm-learning"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "previewMode": {
              "type": "boolean"
            },
            "previewPages": {
              "type": "array",
              "items": {
                "type": "number"
              }
            },
            "resultQuality": {
              "enum": [
                "verified",
                "partial",
                "unverified"
              ],
              "type": "string"
            },
            "processedPages": {
              "type": "number"
            },
            "previewPageLimit": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "requiresPlanUpgrade": {
              "type": "boolean"
            },
            "totalTransactionCount": {
              "type": "number"
            },
            "hiddenTransactionPages": {
              "type": "number"
            },
            "previewTransactionCount": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "type": "string"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "columnName",
          "role"
        ],
        "properties": {
          "role": {
            "type": "string"
          },
          "columnName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "message": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "upload_id"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "duplicate": {
            "type": "boolean"
          },
          "upload_id": {
            "type": "string"
          },
          "error_code": {
            "type": "string"
          },
          "content_hash": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "summary": {
      "type": "string"
    },
    "dataMode": {
      "type": "string"
    },
    "document": {
      "type": "object",
      "properties": {
        "bank": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "bankId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "country": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "languages": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "pageCount": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "statements": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "products"
            ],
            "properties": {
              "date": {
                "type": "string"
              },
              "period": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "products": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "productName",
                    "currency",
                    "accounts"
                  ],
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "accounts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "accountId"
                        ],
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "totals": {
                            "type": "object",
                            "properties": {
                              "totalDebits": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "totalCredits": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "closingBalance": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "openingBalance": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "currency": {
                            "type": "string"
                          },
                          "declared": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/$defs/__schema0"
                              }
                            }
                          },
                          "accountId": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cardNumber": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "categories": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/$defs/__schema0"
                              }
                            }
                          },
                          "transactions": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "sequence",
                                "date",
                                "description",
                                "amount",
                                "direction",
                                "currency"
                              ],
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "amount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "balance": {
                                  "type": "number"
                                },
                                "category": {
                                  "type": "string"
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "sequence": {
                                  "type": "number"
                                },
                                "accountId": {
                                  "type": "number"
                                },
                                "direction": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "reference": {
                                  "type": "string"
                                },
                                "checkNumber": {
                                  "type": "string"
                                },
                                "description": {
                                  "type": "string"
                                },
                                "originalData": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "accountNumber": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "accountHolderName": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "declared": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "$ref": "#/$defs/__schema0"
                        }
                      }
                    },
                    "productId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "categories": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "$ref": "#/$defs/__schema0"
                        }
                      }
                    },
                    "productName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              }
            },
            "additionalProperties": {}
          }
        },
        "documentType": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "statementDate": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "statementPeriod": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "from": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": {}
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "elapsedMs": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "pass",
            "total"
          ],
          "properties": {
            "pass": {
              "type": "number"
            },
            "total": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "exportUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "documentId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "pagination": {
      "type": "object",
      "required": [
        "total",
        "limit",
        "offset",
        "hasMore"
      ],
      "properties": {
        "limit": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "offset": {
          "type": "number"
        },
        "hasMore": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "transactions": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {
          "type": "string"
        }
      }
    },
    "confidenceScore": {
      "type": "number"
    },
    "estimateSeconds": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "processingStage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "transactionCount": {
      "type": "number"
    },
    "processingProgress": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "pagesProcessed",
            "totalPages"
          ],
          "properties": {
            "pass": {
              "type": "object",
              "required": [
                "number",
                "startedAt"
              ],
              "properties": {
                "number": {
                  "type": "number"
                },
                "startedAt": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            },
            "totalPages": {
              "type": "number"
            },
            "pagesProcessed": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
convert_statement annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
get_statement — Get Statement Data
Advertised by the server during the last successful anonymous check.
Advertised read-only

Fetch the full converted data for a previously processed document. Use this after convert_statement returns a "processing" status, or to re-fetch results. output_format "json" (default) returns the data inline, renderable in chat. The other formats (csv, xlsx, qbo, xero) return a time-limited download link instead: present it as a normal link. data_mode selects which projection of the data you get: omit it for each output_format's existing default behavior. "normalized" is the cleaned, interpreted view; "original" includes each transaction's raw column values exactly as printed on the source PDF (originalData); "enhanced" is a reformatted view of the original columns (csv/xlsx only for now). Fetch data_mode: "original" when you plan to submit results to evaluate_benchmark — pass its originalData through verbatim; an absent originalData scores that benchmark's raw-fidelity dimension 0 for this document. Every response includes a "summary" field: use it as the single source of truth for what happened. If the conversation is not in English, translate it faithfully into the conversation language; never add details it doesn't contain. Never echo raw status values (e.g. "completed") or field names.

get_statement input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "document_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 1,
      "description": "output_format \"json\" only. Max transactions to return (default 500, capped at 2000, or 500 with data_mode \"original\")."
    },
    "offset": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0,
      "description": "output_format \"json\" only. Number of transactions to skip. Omit to start from the beginning."
    },
    "data_mode": {
      "enum": [
        "original",
        "enhanced",
        "normalized"
      ],
      "type": "string",
      "description": "Omit for each output_format's existing default behavior (json: normalized; csv/xlsx: the export route's own default). \"normalized\": the cleaned, interpreted data. \"original\": includes each transaction's raw column values as printed on the source PDF (originalData) — fetch this before submitting to evaluate_benchmark. \"enhanced\": a reformatted view of the original columns; only available for output_format csv/xlsx today. qbo/xero always export normalized data — omit data_mode (or pass \"normalized\" explicitly) for those formats."
    },
    "document_id": {
      "type": "string",
      "description": "Document ID (from convert_statement or list_statements)"
    },
    "output_format": {
      "enum": [
        "json",
        "csv",
        "xlsx",
        "qbo",
        "xero"
      ],
      "type": "string",
      "default": "json",
      "description": "Output format"
    }
  }
}
get_statement output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "status"
  ],
  "properties": {
    "hint": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "gating": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "previewMode",
            "accessMode",
            "previewPageLimit",
            "previewPages",
            "hiddenTransactionPages",
            "processedPages",
            "totalPages",
            "totalTransactionCount",
            "previewTransactionCount",
            "unlocked",
            "requiresPlanUpgrade",
            "resultQuality",
            "gatedRecipe"
          ],
          "properties": {
            "unlocked": {
              "type": "boolean"
            },
            "accessMode": {
              "enum": [
                "paid",
                "free_processed"
              ],
              "type": "string"
            },
            "totalPages": {
              "type": "number"
            },
            "gatedRecipe": {
              "anyOf": [
                {
                  "enum": [
                    "template-first",
                    "vlm-learning"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "previewMode": {
              "type": "boolean"
            },
            "previewPages": {
              "type": "array",
              "items": {
                "type": "number"
              }
            },
            "resultQuality": {
              "enum": [
                "verified",
                "partial",
                "unverified"
              ],
              "type": "string"
            },
            "processedPages": {
              "type": "number"
            },
            "previewPageLimit": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "requiresPlanUpgrade": {
              "type": "boolean"
            },
            "totalTransactionCount": {
              "type": "number"
            },
            "hiddenTransactionPages": {
              "type": "number"
            },
            "previewTransactionCount": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "type": "string"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "columnName",
          "role"
        ],
        "properties": {
          "role": {
            "type": "string"
          },
          "columnName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "message": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "upload_id"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "duplicate": {
            "type": "boolean"
          },
          "upload_id": {
            "type": "string"
          },
          "error_code": {
            "type": "string"
          },
          "content_hash": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "summary": {
      "type": "string"
    },
    "dataMode": {
      "type": "string"
    },
    "document": {
      "type": "object",
      "properties": {
        "bank": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "bankId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "country": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "languages": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "pageCount": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "statements": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "products"
            ],
            "properties": {
              "date": {
                "type": "string"
              },
              "period": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "products": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "productId",
                    "productName",
                    "currency",
                    "accounts"
                  ],
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "accounts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "accountId"
                        ],
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "totals": {
                            "type": "object",
                            "properties": {
                              "totalDebits": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "totalCredits": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "closingBalance": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "openingBalance": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "additionalProperties": false
                          },
                          "currency": {
                            "type": "string"
                          },
                          "declared": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/$defs/__schema0"
                              }
                            }
                          },
                          "accountId": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "cardNumber": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "categories": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/$defs/__schema0"
                              }
                            }
                          },
                          "transactions": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "sequence",
                                "date",
                                "description",
                                "amount",
                                "direction",
                                "currency"
                              ],
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "amount": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "balance": {
                                  "type": "number"
                                },
                                "category": {
                                  "type": "string"
                                },
                                "currency": {
                                  "type": "string"
                                },
                                "sequence": {
                                  "type": "number"
                                },
                                "accountId": {
                                  "type": "number"
                                },
                                "direction": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "reference": {
                                  "type": "string"
                                },
                                "checkNumber": {
                                  "type": "string"
                                },
                                "description": {
                                  "type": "string"
                                },
                                "originalData": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "accountNumber": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "accountHolderName": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "declared": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "$ref": "#/$defs/__schema0"
                        }
                      }
                    },
                    "productId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "categories": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "$ref": "#/$defs/__schema0"
                        }
                      }
                    },
                    "productName": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              }
            },
            "additionalProperties": {}
          }
        },
        "documentType": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "statementDate": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "statementPeriod": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "from": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": {}
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "elapsedMs": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "pass",
            "total"
          ],
          "properties": {
            "pass": {
              "type": "number"
            },
            "total": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "exportUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "documentId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "pagination": {
      "type": "object",
      "required": [
        "total",
        "limit",
        "offset",
        "hasMore"
      ],
      "properties": {
        "limit": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "offset": {
          "type": "number"
        },
        "hasMore": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "transactions": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {
          "type": "string"
        }
      }
    },
    "confidenceScore": {
      "type": "number"
    },
    "estimateSeconds": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "processingStage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "transactionCount": {
      "type": "number"
    },
    "processingProgress": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "pagesProcessed",
            "totalPages"
          ],
          "properties": {
            "pass": {
              "type": "object",
              "required": [
                "number",
                "startedAt"
              ],
              "properties": {
                "number": {
                  "type": "number"
                },
                "startedAt": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            },
            "totalPages": {
              "type": "number"
            },
            "pagesProcessed": {
              "type": "number"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
get_statement annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
categorize_statement — Categorize Transactions
Advertised by the server during the last successful anonymous check.

Run AI transaction categorization on a previously processed document, then return its category mappings. Returns cached categories with no charge if this document was already categorized. Consumes credits (pooled per page, same rate as the categorize toggle on the website) the first time — free on every re-fetch after. Every response includes a "summary" field: use it as the single source of truth for what happened.

categorize_statement input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "document_id"
  ],
  "properties": {
    "document_id": {
      "type": "string",
      "description": "Document ID (from convert_statement or list_statements)"
    }
  }
}
categorize_statement output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "status"
  ],
  "properties": {
    "hint": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "documentId": {
      "type": "string"
    },
    "categoryMappings": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false
}
categorize_statement annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": false
}
list_statements — List Statements
Advertised by the server during the last successful anonymous check.
Advertised read-only

Browse your previously converted bank statements with pagination and optional status filter.

list_statements input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Max results (1-100)"
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "maximum": 9007199254740991,
      "minimum": 0,
      "description": "Pagination offset"
    },
    "status": {
      "enum": [
        "processing",
        "completed",
        "failed"
      ],
      "type": "string",
      "description": "Filter by status"
    }
  }
}
list_statements output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "documents",
    "pagination"
  ],
  "properties": {
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "status"
        ],
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "bank": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "createdAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "elapsedMs": {
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "pass",
                  "total"
                ],
                "properties": {
                  "pass": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "pageCount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "estimateSeconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "processingStage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "transactionCount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "processingProgress": {
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "pagesProcessed",
                  "totalPages"
                ],
                "properties": {
                  "pass": {
                    "type": "object",
                    "required": [
                      "number",
                      "startedAt"
                    ],
                    "properties": {
                      "number": {
                        "type": "number"
                      },
                      "startedAt": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  "totalPages": {
                    "type": "number"
                  },
                  "pagesProcessed": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": {}
      }
    },
    "pagination": {
      "type": "object",
      "required": [
        "total",
        "limit",
        "offset",
        "hasMore"
      ],
      "properties": {
        "limit": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "offset": {
          "type": "number"
        },
        "hasMore": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
list_statements annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
dismiss_statement — Dismiss Statement
Advertised by the server during the last successful anonymous check.
Advertised destructive

Hide a failed, rejected, or cancelled document from future list_statements results. Use this only when the user asks to clear a terminal failed/rejected/cancelled conversion from their history. This is not a delete: it marks the document dismissed and leaves stored data/artifacts untouched.

dismiss_statement input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "document_id"
  ],
  "properties": {
    "document_id": {
      "type": "string",
      "description": "Document ID from list_statements, convert_statement, or get_statement"
    }
  }
}
dismiss_statement output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "status",
    "documentId",
    "summary"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "documentId": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
dismiss_statement annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": true
}
adjudicate_transfers — Adjudicate Transfers
Advertised by the server during the last successful anonymous check.

Decide whether ambiguous pairs from list_transfers are transfers. Pass "verdict" when the user has told you; leave it out to let the AI judge decide. Returns the updated list_transfers answer.

adjudicate_transfers input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "fromTransactionId",
          "toTransactionId"
        ],
        "properties": {
          "toTransactionId": {
            "type": "string",
            "minLength": 1,
            "description": "toTransactionId, as list_transfers returned it."
          },
          "fromTransactionId": {
            "type": "string",
            "minLength": 1,
            "description": "fromTransactionId, as list_transfers returned it."
          }
        }
      },
      "description": "Pairs as list_transfers returned them. Required with verdict; omit to judge every open pair."
    },
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "verdict": {
      "enum": [
        "confirmed",
        "rejected"
      ],
      "type": "string",
      "description": "The user's verdict. Omit to let the judge decide."
    },
    "amountMin": {
      "type": "number",
      "description": "Same floor as list_transfers."
    }
  }
}
adjudicate_transfers output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "matchWindowDays",
    "transfers",
    "ambiguousCount",
    "ambiguous",
    "accountSuccessions",
    "adjudication"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "ambiguous": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "fromAccount",
          "toAccount",
          "fromTransactionId",
          "toTransactionId",
          "amount",
          "currency",
          "fromDate",
          "toDate",
          "dateDeltaDays",
          "status",
          "judgeModelId"
        ],
        "properties": {
          "amount": {
            "type": "number"
          },
          "status": {
            "enum": [
              "unresolved",
              "abstained"
            ],
            "type": "string"
          },
          "toDate": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "fromDate": {
            "type": "string"
          },
          "toAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "fromAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "judgeModelId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateDeltaDays": {
            "type": "number"
          },
          "toTransactionId": {
            "type": "string"
          },
          "fromTransactionId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "transfers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "fromAccount",
          "toAccount",
          "fromTransactionId",
          "toTransactionId",
          "amount",
          "currency",
          "fromDate",
          "toDate",
          "dateDeltaDays",
          "provenance"
        ],
        "properties": {
          "amount": {
            "type": "number"
          },
          "toDate": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "fromDate": {
            "type": "string"
          },
          "toAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "provenance": {
            "enum": [
              "deterministic",
              "judge",
              "user"
            ],
            "type": "string"
          },
          "fromAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "dateDeltaDays": {
            "type": "number"
          },
          "toTransactionId": {
            "type": "string"
          },
          "fromTransactionId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "unmatched": {
      "type": "object",
      "required": [
        "floorAmount",
        "count",
        "movements"
      ],
      "properties": {
        "count": {
          "type": "number"
        },
        "movements": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "account",
              "date",
              "description",
              "amount",
              "currency",
              "direction",
              "sourceDocument"
            ],
            "properties": {
              "date": {
                "type": "string"
              },
              "amount": {
                "type": "number"
              },
              "account": {
                "type": "object",
                "required": [
                  "id",
                  "label"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "label": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "currency": {
                "type": "string"
              },
              "direction": {
                "enum": [
                  "credit",
                  "debit"
                ],
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "sourceDocument": {
                "type": "object",
                "required": [
                  "contentHash"
                ],
                "properties": {
                  "contentHash": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "floorAmount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "adjudication": {
      "type": "object",
      "required": [
        "recorded",
        "judged",
        "remainingUnjudged"
      ],
      "properties": {
        "judged": {
          "type": "number"
        },
        "recorded": {
          "type": "number"
        },
        "remainingUnjudged": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "ambiguousCount": {
      "type": "number"
    },
    "matchWindowDays": {
      "type": "number"
    },
    "accountSuccessions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "predecessorAccount",
          "successorAccounts",
          "currency",
          "predecessorDropAmount",
          "successorOpeningAmount",
          "effectiveDate",
          "provenance"
        ],
        "properties": {
          "currency": {
            "type": "string"
          },
          "provenance": {
            "type": "string",
            "const": "deterministic"
          },
          "effectiveDate": {
            "type": "string"
          },
          "successorAccounts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "label"
              ],
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "label": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "predecessorAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "predecessorDropAmount": {
            "type": "number"
          },
          "successorOpeningAmount": {
            "type": "number"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
adjudicate_transfers annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": false
}
adjudicate_outflows — Adjudicate Outflows
Advertised by the server during the last successful anonymous check.

Decide where an "unresolved" debit from list_outflows went (the documents' claims conflict and nothing settles them). Pass "verdict" and "transactionIds" when the user has told you; leave "verdict" out to let the AI judge decide the named rows, or every unresolved row. Returns the updated list_outflows answer.

adjudicate_outflows input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "verdict": {
      "enum": [
        "own-account",
        "account",
        "cash",
        "name"
      ],
      "type": "string",
      "description": "Where the money went, as the user said. Omit to let the judge decide."
    },
    "dateRange": {
      "type": "object",
      "required": [
        "from",
        "to"
      ],
      "properties": {
        "to": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "description": "ISO date (YYYY-MM-DD). Inclusive end of the range."
        },
        "from": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "description": "ISO date (YYYY-MM-DD). Inclusive start of the range."
        }
      },
      "description": "Same range as list_outflows: which debits the returned list_outflows answer reports.",
      "additionalProperties": false
    },
    "transactionIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "transactionId of rows as list_outflows returned them in \"unresolved\". Required with verdict; omit to judge every unresolved row."
    }
  }
}
adjudicate_outflows output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "dateRange",
    "destinations",
    "mayBeOwnAccount",
    "unresolved",
    "scope",
    "adjudication"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "dateRange": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "ISO date (YYYY-MM-DD). Inclusive end of the range."
            },
            "from": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "ISO date (YYYY-MM-DD). Inclusive start of the range."
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "unresolved": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "amount",
          "currency",
          "account",
          "sourceDocument",
          "transactionId",
          "judgeModelId"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "account": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "currency": {
            "type": "string"
          },
          "judgeModelId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "transactionId": {
            "type": "string"
          },
          "sourceDocument": {
            "type": "object",
            "required": [
              "contentHash"
            ],
            "properties": {
              "contentHash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    },
    "adjudication": {
      "type": "object",
      "required": [
        "recorded",
        "judged",
        "remainingUnjudged"
      ],
      "properties": {
        "judged": {
          "type": "number"
        },
        "recorded": {
          "type": "number"
        },
        "remainingUnjudged": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "destinations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "kind",
          "label",
          "identifiers",
          "totals",
          "outflows"
        ],
        "properties": {
          "kind": {
            "enum": [
              "own-account",
              "account",
              "cash",
              "name",
              "unknown"
            ],
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totals": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "currency",
                "amount"
              ],
              "properties": {
                "amount": {
                  "type": "number"
                },
                "currency": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "outflows": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "date",
                "amount",
                "currency",
                "account",
                "sourceDocument"
              ],
              "properties": {
                "date": {
                  "type": "string"
                },
                "amount": {
                  "type": "number"
                },
                "account": {
                  "type": "object",
                  "required": [
                    "id",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "currency": {
                  "type": "string"
                },
                "sourceDocument": {
                  "type": "object",
                  "required": [
                    "contentHash"
                  ],
                  "properties": {
                    "contentHash": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "identifiers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "mayBeOwnAccount": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "amount",
          "currency",
          "account",
          "sourceDocument"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "account": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "currency": {
            "type": "string"
          },
          "sourceDocument": {
            "type": "object",
            "required": [
              "contentHash"
            ],
            "properties": {
              "contentHash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
adjudicate_outflows annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": false
}
get_credits — Get Credit Balance
Advertised by the server during the last successful anonymous check.
Advertised read-only

Your remaining Bankstatemently credits — the processing quota, NOT credit/debit transactions. Use for: how many credits do I have, remaining pages, plan limits, quota, how many pages can I upload. 1 credit = 1 page of bank statement processing. Also reports your plan's operational limits (max pages per upload, max upload size, daily spend cap) so you can size a multi-file batch correctly before starting it.

get_credits input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {}
}
get_credits output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "balance",
    "limit",
    "granted",
    "planId",
    "creditsExpireAt",
    "plan",
    "summary"
  ],
  "properties": {
    "plan": {
      "type": "object",
      "required": [
        "maxPagesPerUpload",
        "maxUploadSizeMb",
        "dailySpendCap",
        "monthlyPages",
        "memoriesCap"
      ],
      "properties": {
        "memoriesCap": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "monthlyPages": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "dailySpendCap": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "maxUploadSizeMb": {
          "type": "number"
        },
        "maxPagesPerUpload": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "planId": {
      "anyOf": [
        {
          "enum": [
            "anonymous",
            "free",
            "credit_pack",
            "beginner",
            "pro",
            "enterprise"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "balance": {
      "type": "number"
    },
    "granted": {
      "type": "number"
    },
    "summary": {
      "type": "string"
    },
    "creditsExpireAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
get_credits annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
list_memories — List Memories
Advertised by the server during the last successful anonymous check.
Advertised read-only

List your memories, default memory first. The default memory covers the whole workspace. Named memories include name, situation and scope. Free to use — no credits consumed.

list_memories input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {}
}
list_memories output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "memories"
  ],
  "properties": {
    "memories": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "required": [
              "id",
              "isDefault",
              "name",
              "situation",
              "scope"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "null"
              },
              "scope": {
                "type": "null"
              },
              "isDefault": {
                "type": "boolean",
                "const": true
              },
              "situation": {
                "type": "null"
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "required": [
              "id",
              "isDefault",
              "name",
              "situation",
              "scope"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "scope": {
                "type": "object",
                "required": [
                  "accounts"
                ],
                "properties": {
                  "accounts": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "kind",
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                            },
                            "kind": {
                              "type": "string",
                              "const": "account",
                              "description": "This chip addresses a single account."
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "kind",
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                            },
                            "kind": {
                              "type": "string",
                              "const": "product",
                              "description": "This chip addresses a product and expands to its child accounts."
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    },
                    "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
                  },
                  "dateRange": {
                    "type": "object",
                    "required": [
                      "from",
                      "to"
                    ],
                    "properties": {
                      "to": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "End of the date range (inclusive), YYYY-MM-DD."
                      },
                      "from": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "Start of the date range (inclusive), YYYY-MM-DD."
                      }
                    },
                    "description": "Bounds results to transactions within this date range. Omit for no date filter.",
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "isDefault": {
                "type": "boolean",
                "const": false
              },
              "situation": {
                "anyOf": [
                  {
                    "enum": [
                      "bookkeeping",
                      "divorce",
                      "estate"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        ]
      }
    }
  },
  "additionalProperties": false
}
list_memories annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
create_memory — Create Memory
Advertised by the server during the last successful anonymous check.

Create a named memory: a scoped lens over your accounts and dates with a user-authored name, optional situation ("bookkeeping", "divorce" or "estate"), and ChatScope. Free to use — no credits consumed.

create_memory input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "name",
    "situation",
    "scope"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "User-authored memory name, such as a client, case, or matter name."
    },
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "The accounts/products and optional date range this memory covers."
    },
    "situation": {
      "anyOf": [
        {
          "enum": [
            "bookkeeping",
            "divorce",
            "estate"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional matter this memory is about: bookkeeping, divorce, estate, or null."
    }
  }
}
create_memory output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "memory"
  ],
  "properties": {
    "memory": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "id",
            "isDefault",
            "name",
            "situation",
            "scope"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "null"
            },
            "scope": {
              "type": "null"
            },
            "isDefault": {
              "type": "boolean",
              "const": true
            },
            "situation": {
              "type": "null"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "id",
            "isDefault",
            "name",
            "situation",
            "scope"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "scope": {
              "type": "object",
              "required": [
                "accounts"
              ],
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                          },
                          "kind": {
                            "type": "string",
                            "const": "account",
                            "description": "This chip addresses a single account."
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                          },
                          "kind": {
                            "type": "string",
                            "const": "product",
                            "description": "This chip addresses a product and expands to its child accounts."
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
                },
                "dateRange": {
                  "type": "object",
                  "required": [
                    "from",
                    "to"
                  ],
                  "properties": {
                    "to": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "End of the date range (inclusive), YYYY-MM-DD."
                    },
                    "from": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Start of the date range (inclusive), YYYY-MM-DD."
                    }
                  },
                  "description": "Bounds results to transactions within this date range. Omit for no date filter.",
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "isDefault": {
              "type": "boolean",
              "const": false
            },
            "situation": {
              "anyOf": [
                {
                  "enum": [
                    "bookkeeping",
                    "divorce",
                    "estate"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ]
    }
  },
  "additionalProperties": false
}
create_memory annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": false
}
update_memory — Update Memory
Advertised by the server during the last successful anonymous check.
Advertised destructive

Rename or rescope an existing named memory, or update its situation. The default memory is immutable. Free to use — no credits consumed.

update_memory input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "memoryId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "New user-authored memory name."
    },
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Updated accounts/products and optional date range this memory covers."
    },
    "memoryId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "The id of the named memory to update. The default memory is immutable."
    },
    "situation": {
      "anyOf": [
        {
          "enum": [
            "bookkeeping",
            "divorce",
            "estate"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Updated matter this memory is about: bookkeeping, divorce, estate, or null."
    }
  }
}
update_memory output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "memory"
  ],
  "properties": {
    "memory": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "id",
            "isDefault",
            "name",
            "situation",
            "scope"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "null"
            },
            "scope": {
              "type": "null"
            },
            "isDefault": {
              "type": "boolean",
              "const": true
            },
            "situation": {
              "type": "null"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "id",
            "isDefault",
            "name",
            "situation",
            "scope"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "scope": {
              "type": "object",
              "required": [
                "accounts"
              ],
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                          },
                          "kind": {
                            "type": "string",
                            "const": "account",
                            "description": "This chip addresses a single account."
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "required": [
                          "kind",
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                          },
                          "kind": {
                            "type": "string",
                            "const": "product",
                            "description": "This chip addresses a product and expands to its child accounts."
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  },
                  "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
                },
                "dateRange": {
                  "type": "object",
                  "required": [
                    "from",
                    "to"
                  ],
                  "properties": {
                    "to": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "End of the date range (inclusive), YYYY-MM-DD."
                    },
                    "from": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Start of the date range (inclusive), YYYY-MM-DD."
                    }
                  },
                  "description": "Bounds results to transactions within this date range. Omit for no date filter.",
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "isDefault": {
              "type": "boolean",
              "const": false
            },
            "situation": {
              "anyOf": [
                {
                  "enum": [
                    "bookkeeping",
                    "divorce",
                    "estate"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ]
    }
  },
  "additionalProperties": false
}
update_memory annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": true
}
rate_statement — Rate Statement Conversion
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Report how well a previously converted bank statement was parsed: submit a 1-5 rating, optionally with structured feedback at any rating. Your rating counts toward the average ratings shown on bankstatemently.com. Calling this again for the same document updates your existing rating without clearing feedback already submitted for it. Returns the stored rating state in the response — there is no separate tool to read your own rating back. Every response includes a "summary" field: use it as the single source of truth for what happened.

rate_statement input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "document_id",
    "rating"
  ],
  "properties": {
    "rating": {
      "type": "integer",
      "maximum": 5,
      "minimum": 1,
      "description": "1-5 star rating for this conversion"
    },
    "feedback": {
      "type": "string",
      "maxLength": 1000,
      "description": "Free-text feedback."
    },
    "document_id": {
      "type": "string",
      "description": "Document ID (from convert_statement or list_statements)"
    },
    "feedback_categories": {
      "type": "array",
      "items": {
        "enum": [
          "missing_transactions",
          "incorrect_amounts",
          "export_issue",
          "wrong_dates",
          "formatting_issue",
          "other"
        ],
        "type": "string"
      },
      "description": "Structured feedback categories."
    }
  }
}
rate_statement output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "status"
  ],
  "properties": {
    "hint": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "rating": {
      "type": "number"
    },
    "status": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "documentId": {
      "type": "string"
    },
    "hasFeedback": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
rate_statement annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": true
}
evaluate_benchmark — Evaluate Benchmark
Advertised by the server during the last successful anonymous check.
Advertised read-only

Score parsed bank statement transactions against the Bankstatemently benchmark ground truth. Accepts a statement_id (e.g. "bsb-001") or content_hash, plus your parsed transactions. Returns extraction accuracy, integrity score, and an overall score. Only statements marked published: true in the catalog can be evaluated — held-out statements return an error. transactions[].originalData is optional but strongly recommended: fetch it via get_statement with data_mode: "original" and pass it through verbatim — an absent originalData scores that transaction's raw-fidelity (parsed) dimension 0; never fabricate a value. Free to use — no credits consumed. Read the benchmark://catalog resource first to see available statements and their published status.

evaluate_benchmark input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "transactions"
  ],
  "properties": {
    "accounts": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Submission-internal handle, referenced by transactions[].accountId."
          },
          "name": {
            "type": "string",
            "description": "Verbatim printed account label."
          },
          "currency": {
            "type": "string",
            "description": "ISO 4217 currency code."
          },
          "accountNumber": {
            "type": "string",
            "description": "Verbatim printed account number — never normalized by the submitter."
          }
        }
      },
      "description": "Optional account roster for multi-account statements. Each transaction references one via accountId."
    },
    "content_hash": {
      "type": "string",
      "description": "SHA-256 hex digest of the PDF. Use statement_id instead if you know it."
    },
    "statement_id": {
      "type": "string",
      "description": "Benchmark statement ID (e.g. \"bsb-001\"). Preferred over content_hash."
    },
    "transactions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "description",
          "amount"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "ISO 8601 date (YYYY-MM-DD)"
          },
          "amount": {
            "type": "number",
            "description": "Transaction amount. Negative = debit, positive = credit (or use direction)."
          },
          "balance": {
            "type": "number",
            "description": "Running balance after this transaction, if known."
          },
          "currency": {
            "type": "string",
            "description": "ISO 4217 currency code for this transaction, if known."
          },
          "accountId": {
            "type": "string",
            "description": "References accounts[].id — the account this transaction belongs to. Omit for single-account statements."
          },
          "direction": {
            "enum": [
              "credit",
              "debit"
            ],
            "type": "string",
            "description": "Explicit direction. If omitted, inferred from amount sign."
          },
          "description": {
            "type": "string",
            "description": "Transaction description as printed on the statement."
          },
          "originalData": {
            "type": "object",
            "description": "Raw column values as on the PDF. Omit if unavailable — never fabricate a value; an absence scores the parsed dimension's raw fields 0 rather than polluting the measurement.",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "maxItems": 2000,
      "minItems": 1,
      "description": "Parsed transactions (1-2000)"
    }
  }
}
evaluate_benchmark output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id",
    "difficulty",
    "challenges",
    "normalizedScore",
    "parsedScore"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "challenges": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "difficulty": {
      "type": "string"
    },
    "contentHash": {
      "type": "string"
    },
    "parsedScore": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      }
    },
    "datasetVersion": {
      "type": "string"
    },
    "normalizedScore": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      }
    }
  },
  "additionalProperties": false
}
evaluate_benchmark annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
list_transactions — List Transactions
Advertised by the server during the last successful anonymous check.
Advertised read-only

A transaction is a single line as printed on one account's statement — one side of any movement. Return a filtered list of transactions across your converted statements, capped at 50 rows. Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range. Every response names the scope it actually evaluated (document count + covered date range) and each returned row carries its source document's content_hash so you can cite it. For "how many credits do I have" / processing quota / remaining pages, use get_credits instead — that is not a transaction.

list_transactions input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limit": {
      "type": "number",
      "description": "Maximum rows to return. Default 20, max 50."
    },
    "order": {
      "enum": [
        "asc",
        "desc"
      ],
      "type": "string",
      "description": "Sort direction. Default \"desc\" (largest amount / most recent date first). Only meaningful with sort_by."
    },
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "filter": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    },
    "sort_by": {
      "enum": [
        "amount",
        "date"
      ],
      "type": "string",
      "description": "Sort the filtered set before applying limit. \"amount\" ranks by absolute magnitude (signed amounts are still returned). Omit for today's default (encounter order)."
    }
  }
}
list_transactions output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "transactions"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "transactions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "description",
          "direction",
          "amount",
          "category",
          "account",
          "sourceDocument"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ]
          },
          "account": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "direction": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "sourceDocument": {
            "type": "object",
            "required": [
              "contentHash"
            ],
            "properties": {
              "contentHash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
list_transactions annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
aggregate — Aggregate Transactions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Compute a single metric (sum/average/count/max/min) over a filtered set of transactions across your converted statements. Results are per-currency — never sum across currencies yourself. Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range. For "how many credits do I have" / processing quota / remaining pages, use get_credits instead — that is not a transaction.

aggregate input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "metric"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "filter": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    },
    "metric": {
      "enum": [
        "sum",
        "average",
        "count",
        "max",
        "min"
      ],
      "type": "string",
      "description": "Aggregation metric."
    }
  }
}
aggregate output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "result"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/$defs/__schema0"
            }
          }
        }
      ]
    }
  },
  "additionalProperties": false
}
aggregate annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
group_by — Group Transactions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Group transactions by a dimension (month/category/counterparty/account/currency) and apply a metric to each group. Results are per-currency. The "counterparty" dimension keys on the printed counterparty, else a printed account mask (••1234), else the description's name tokens, so a rail word or reference number never splits one payee; a line with no key groups under "unknown". Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range.

group_by input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "dimension",
    "metric"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "filter": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    },
    "metric": {
      "enum": [
        "sum",
        "average",
        "count",
        "max",
        "min"
      ],
      "type": "string",
      "description": "Metric per group."
    },
    "dimension": {
      "enum": [
        "month",
        "category",
        "counterparty",
        "account",
        "currency"
      ],
      "type": "string",
      "description": "Grouping dimension."
    }
  }
}
group_by output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "result"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/$defs/__schema0"
            }
          }
        }
      ]
    }
  },
  "additionalProperties": false
}
group_by annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
top_n — Top Transaction Groups
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the top N groups ranked by metric (descending), per-currency for monetary metrics. Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range.

top_n input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "dimension",
    "metric",
    "n"
  ],
  "properties": {
    "n": {
      "type": "number",
      "description": "Number of top groups to return."
    },
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "filter": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    },
    "metric": {
      "enum": [
        "sum",
        "average",
        "count",
        "max",
        "min"
      ],
      "type": "string",
      "description": "Metric to rank by."
    },
    "dimension": {
      "enum": [
        "month",
        "category",
        "counterparty",
        "account",
        "currency"
      ],
      "type": "string",
      "description": "Grouping dimension."
    }
  }
}
top_n output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "result"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/$defs/__schema0"
            }
          }
        }
      ]
    }
  },
  "additionalProperties": false
}
top_n annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
compare — Compare Transaction Groups
Advertised by the server during the last successful anonymous check.
Advertised read-only

Side-by-side metric comparison for two filtered groups of transactions (e.g. one category vs another, one month vs another). Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range.

compare input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "filterA",
    "filterB",
    "metric"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "metric": {
      "enum": [
        "sum",
        "average",
        "count",
        "max",
        "min"
      ],
      "type": "string",
      "description": "Metric for both groups."
    },
    "filterA": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    },
    "filterB": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    }
  }
}
compare output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "result"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/$defs/__schema0"
            }
          }
        }
      ]
    }
  },
  "additionalProperties": false
}
compare annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
time_series — Transaction Time Series
Advertised by the server during the last successful anonymous check.
Advertised read-only

Compute a time series by grouping transactions into week or month buckets and applying a metric — useful for trends. Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range.

time_series input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "bucket",
    "metric"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "bucket": {
      "enum": [
        "week",
        "month"
      ],
      "type": "string",
      "description": "Bucket size."
    },
    "filter": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Whole-row text search over raw transaction fields (case-insensitive)."
        },
        "dateEnd": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive upper bound."
        },
        "category": {
          "enum": [
            "income",
            "transfers",
            "payroll",
            "rent_premises",
            "utilities_telecom",
            "software_subscriptions",
            "professional_services",
            "bank_fees_interest",
            "taxes_government",
            "travel_vehicle",
            "meals_entertainment",
            "supplies_equipment",
            "insurance_health",
            "loan_payments",
            "groceries_personal",
            "cash",
            "other"
          ],
          "type": "string",
          "description": "Category slug, e.g. \"meals_entertainment\", \"groceries_personal\"."
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 currency code. E.g. \"USD\", \"HKD\"."
        },
        "merchant": {
          "type": "string",
          "description": "Substring match against description or counterparty (case-insensitive)."
        },
        "amountMax": {
          "type": "number",
          "description": "Inclusive maximum absolute amount."
        },
        "amountMin": {
          "type": "number",
          "description": "Inclusive minimum absolute amount."
        },
        "dateStart": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive lower bound."
        },
        "direction": {
          "enum": [
            "credit",
            "debit"
          ],
          "type": "string",
          "description": "Semantic direction."
        }
      },
      "description": "Subset of transactions to operate on. All fields are optional and combined with AND logic.",
      "additionalProperties": false
    },
    "metric": {
      "enum": [
        "sum",
        "average",
        "count",
        "max",
        "min"
      ],
      "type": "string",
      "description": "Metric per bucket."
    }
  }
}
time_series output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "result"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/$defs/__schema0"
            }
          }
        }
      ]
    }
  },
  "additionalProperties": false
}
time_series annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
list_transfers — Match Transfers Between Accounts
Advertised by the server during the last successful anonymous check.
Advertised read-only

Match transfers between your own accounts. A transfer is TWO transactions — a debit leaving one of your accounts and a credit arriving in another — matched as two sides of the same movement (amount and date aligned); account-level successions (an account closing into a successor) are matched too. A payment to an outside party is not a transfer here: only movements with both sides visible in your statements are matched. THE way to answer any "was money moved between my accounts" / "did I transfer X" question — never try to answer a money-moved-between-accounts question with list_transactions + arithmetic; always call this tool instead. Ties come back as "ambiguous" until decided; call adjudicate_transfers to decide them. Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range. Every response reports the match window (in days) it used, even when no transfers are found — a lack of matches is never silent about how hard it looked. To find large movements with NO matching counterpart in your other accounts — e.g. "trace transfers over $10,000; which ones leave without a known destination?" — pass "amountMin": reconciled pairs and successions are filtered to that floor, and the response gains an "unmatched" bucket of large movements (debits leaving, or unexplained credits arriving) with no matching pair, candidate, or succession. Omit amountMin for the ordinary reconciled-pairs answer.

list_transfers input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "amountMin": {
      "type": "number",
      "description": "Inclusive minimum absolute amount. When present, transfers/accountSuccessions are floored to this amount and the response gains an \"unmatched\" bucket of large movements with no matching counterpart. Omit for the ordinary reconciled-pairs answer."
    }
  }
}
list_transfers output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "scope",
    "matchWindowDays",
    "transfers",
    "ambiguousCount",
    "ambiguous",
    "accountSuccessions"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "ambiguous": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "fromAccount",
          "toAccount",
          "fromTransactionId",
          "toTransactionId",
          "amount",
          "currency",
          "fromDate",
          "toDate",
          "dateDeltaDays",
          "status",
          "judgeModelId"
        ],
        "properties": {
          "amount": {
            "type": "number"
          },
          "status": {
            "enum": [
              "unresolved",
              "abstained"
            ],
            "type": "string"
          },
          "toDate": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "fromDate": {
            "type": "string"
          },
          "toAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "fromAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "judgeModelId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dateDeltaDays": {
            "type": "number"
          },
          "toTransactionId": {
            "type": "string"
          },
          "fromTransactionId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "transfers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "fromAccount",
          "toAccount",
          "fromTransactionId",
          "toTransactionId",
          "amount",
          "currency",
          "fromDate",
          "toDate",
          "dateDeltaDays",
          "provenance"
        ],
        "properties": {
          "amount": {
            "type": "number"
          },
          "toDate": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "fromDate": {
            "type": "string"
          },
          "toAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "provenance": {
            "enum": [
              "deterministic",
              "judge",
              "user"
            ],
            "type": "string"
          },
          "fromAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "dateDeltaDays": {
            "type": "number"
          },
          "toTransactionId": {
            "type": "string"
          },
          "fromTransactionId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "unmatched": {
      "type": "object",
      "required": [
        "floorAmount",
        "count",
        "movements"
      ],
      "properties": {
        "count": {
          "type": "number"
        },
        "movements": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "account",
              "date",
              "description",
              "amount",
              "currency",
              "direction",
              "sourceDocument"
            ],
            "properties": {
              "date": {
                "type": "string"
              },
              "amount": {
                "type": "number"
              },
              "account": {
                "type": "object",
                "required": [
                  "id",
                  "label"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "label": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "currency": {
                "type": "string"
              },
              "direction": {
                "enum": [
                  "credit",
                  "debit"
                ],
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "sourceDocument": {
                "type": "object",
                "required": [
                  "contentHash"
                ],
                "properties": {
                  "contentHash": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "floorAmount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "ambiguousCount": {
      "type": "number"
    },
    "matchWindowDays": {
      "type": "number"
    },
    "accountSuccessions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "predecessorAccount",
          "successorAccounts",
          "currency",
          "predecessorDropAmount",
          "successorOpeningAmount",
          "effectiveDate",
          "provenance"
        ],
        "properties": {
          "currency": {
            "type": "string"
          },
          "provenance": {
            "type": "string",
            "const": "deterministic"
          },
          "effectiveDate": {
            "type": "string"
          },
          "successorAccounts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "label"
              ],
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "label": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "predecessorAccount": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "predecessorDropAmount": {
            "type": "number"
          },
          "successorOpeningAmount": {
            "type": "number"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
list_transfers annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
list_outflows — List Money That Left Your Accounts
Advertised by the server during the last successful anonymous check.
Advertised read-only

Every debit that left your accounts — in no confirmed transfer between your own accounts, and not a fee — each in ONE destination whose kind is also its next step: "own-account" (a printed account mask that names one of your accounts and no matched credit was found: ask for that account's statement), "account" (a printed account mask for an account outside your statements: request that account's statements; an in-kind move such as securities, crypto or escrow starts as a wire to that account and becomes visible only once the receiving statement is uploaded), "cash" (cash out: where it went cannot be followed, so the cumulative amount is the finding), "name" (a named party: review whether it was household spending) and "unknown" (nowhere the line says; kept visible, one entry per line, never merged). A destination carries the cumulative amount sent, per currency, never a balance. "mayBeOwnAccount" lists debits in an open candidate pair ("may be a move between your own accounts") apart, in no total. "unresolved" lists debits whose documents conflict about where they went (a transfer term and a payment term, no category to settle it) apart, in no total: the documents do not say where they went, so say so and ask the person to confirm. THE way to answer "did money disappear from my accounts, and where do I look next" — never answer it by summing list_transactions rows. Pass "dateRange" ({ from, to }, inclusive, YYYY-MM-DD) to report only debits in that range, for example from a separation date: transfers are matched over the whole scope first, so a transfer whose credit lies outside the range is still a transfer, never an outflow. Scope defaults to all your completed statements; pass "scope" to narrow to specific accounts/products and/or a date range (a scope date range also narrows what is matched — prefer "dateRange").

list_outflows input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "accounts"
      ],
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The account id: the `id` of an account descriptor returned by a tool, or of a statement tool `accounts[]` entry."
                  },
                  "kind": {
                    "type": "string",
                    "const": "account",
                    "description": "This chip addresses a single account."
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                    "description": "The product id: the `id` of a product returned by a statement tool (`get_statement` / `convert_statement`, `products[].id`)."
                  },
                  "kind": {
                    "type": "string",
                    "const": "product",
                    "description": "This chip addresses a product and expands to its child accounts."
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "description": "Account/product id chips (kind + id) to scope to. Empty = all accounts."
        },
        "dateRange": {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "End of the date range (inclusive), YYYY-MM-DD."
            },
            "from": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "Start of the date range (inclusive), YYYY-MM-DD."
            }
          },
          "description": "Bounds results to transactions within this date range. Omit for no date filter."
        }
      },
      "description": "Optional structural scope (WHO × WHEN). Omit to search across all your completed statements. \"accounts\" is a list of account/product chips ({ kind: \"account\" | \"product\", id }, the id of an account descriptor or product returned by a tool); \"dateRange\" bounds by transaction date (YYYY-MM-DD)."
    },
    "dateRange": {
      "type": "object",
      "required": [
        "from",
        "to"
      ],
      "properties": {
        "to": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive end of the range."
        },
        "from": {
          "type": "string",
          "description": "ISO date (YYYY-MM-DD). Inclusive start of the range."
        }
      },
      "description": "Report only debits dated in this inclusive range. Omit to report every date.",
      "additionalProperties": false
    }
  }
}
list_outflows output schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "dateRange",
    "destinations",
    "mayBeOwnAccount",
    "unresolved",
    "scope"
  ],
  "properties": {
    "scope": {
      "type": "object",
      "required": [
        "documentCount",
        "dateRange"
      ],
      "properties": {
        "dateRange": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "string"
                },
                "from": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "documentCount": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "dateRange": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "to": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "ISO date (YYYY-MM-DD). Inclusive end of the range."
            },
            "from": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "ISO date (YYYY-MM-DD). Inclusive start of the range."
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "unresolved": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "amount",
          "currency",
          "account",
          "sourceDocument",
          "transactionId",
          "judgeModelId"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "account": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "currency": {
            "type": "string"
          },
          "judgeModelId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "transactionId": {
            "type": "string"
          },
          "sourceDocument": {
            "type": "object",
            "required": [
              "contentHash"
            ],
            "properties": {
              "contentHash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    },
    "destinations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "kind",
          "label",
          "identifiers",
          "totals",
          "outflows"
        ],
        "properties": {
          "kind": {
            "enum": [
              "own-account",
              "account",
              "cash",
              "name",
              "unknown"
            ],
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totals": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "currency",
                "amount"
              ],
              "properties": {
                "amount": {
                  "type": "number"
                },
                "currency": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "outflows": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "date",
                "amount",
                "currency",
                "account",
                "sourceDocument"
              ],
              "properties": {
                "date": {
                  "type": "string"
                },
                "amount": {
                  "type": "number"
                },
                "account": {
                  "type": "object",
                  "required": [
                    "id",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "currency": {
                  "type": "string"
                },
                "sourceDocument": {
                  "type": "object",
                  "required": [
                    "contentHash"
                  ],
                  "properties": {
                    "contentHash": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "identifiers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "mayBeOwnAccount": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "amount",
          "currency",
          "account",
          "sourceDocument"
        ],
        "properties": {
          "date": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "account": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "currency": {
            "type": "string"
          },
          "sourceDocument": {
            "type": "object",
            "required": [
              "contentHash"
            ],
            "properties": {
              "contentHash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
list_outflows annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}

Prompts

4 advertised

convert_statement_workflow — Convert Statement Workflow

Advertised by the server during the last successful anonymous check.

Use when the user attaches a bank statement PDF or asks for CSV/XLSX/QBO/Xero export of a converted statement. Do not use for spending analysis, reconciliation, or benchmark scoring — those have their own skills.

source
A public HTTPS PDF URL or attachment hint to convert. Omit to let the assistant ask the user for the statement.
analyze_spending — Analyze Spending

Advertised by the server during the last successful anonymous check.

Use when the user asks to categorize spending, group by merchant or category, rank top merchants, or show monthly trends on converted statements. Do not use for first-time PDF conversion, period reconciliation, or benchmark scoring.

No arguments advertised.

reconcile_statements — Reconcile Statements

Advertised by the server during the last successful anonymous check.

Use when the user asks to check statement coverage, missing periods, balance continuity, or cross-account transfers. Do not use for converting a new PDF, spending categorization, or benchmark scoring.

No arguments advertised.

benchmark_accuracy — Benchmark Accuracy

Advertised by the server during the last successful anonymous check.

Use when the user asks to convert and score a published Bankstatemently benchmark statement. Do not use for ordinary user-statement conversion, spending analysis, or reconciliation.

statement_id
Benchmark statement ID (e.g. "bsb-001"). Omit to let the assistant choose from the published catalog.

Resources

16 advertised

benchmark-catalog

Advertised by the server during the last successful anonymous check.

Bankstatemently Open Benchmark for bank statement parsing — 15 synthetic statements across 3 difficulty tiers, 12 countries, 9 languages, and 30+ parsing challenges.

benchmark-catalog URI
benchmark://catalog
bsb-001 — basic (SG/SGD)

Advertised by the server during the last successful anonymous check.

Singapore standard format with separate credit/debit columns and dedicated account summary page

bsb-001 — basic (SG/SGD) URI
benchmark://statements/bsb-001
bsb-002 — basic (US/USD)

Advertised by the server during the last successful anonymous check.

US credit card with inverted signs, posting dates, and wrapped merchant descriptions

bsb-002 — basic (US/USD) URI
benchmark://statements/bsb-002
bsb-003 — basic (NL/EUR)

Advertised by the server during the last successful anonymous check.

European format with comma decimal separator and period thousands

bsb-003 — basic (NL/EUR) URI
benchmark://statements/bsb-003
bsb-004 — basic (HK/HKD)

Advertised by the server during the last successful anonymous check.

Hong Kong bank statement with separate account tables, credit/debit columns, multi-line descriptions, and value date

bsb-004 — basic (HK/HKD) URI
benchmark://statements/bsb-004
bsb-005 — basic (CA/CAD)

Advertised by the server during the last successful anonymous check.

French Canadian bank statement with dates embedded in description, two-digit years, credit-debit columns, and space thousands separator

bsb-005 — basic (CA/CAD) URI
benchmark://statements/bsb-005
bsb-006 — intermediate (MX/MXN)

Advertised by the server during the last successful anonymous check.

Mexican bank statement with Spanish headers, dual balance timeline, and partial-year dates

bsb-006 — intermediate (MX/MXN) URI
benchmark://statements/bsb-006
bsb-007 — intermediate (CA/CAD)

Advertised by the server during the last successful anonymous check.

Canadian credit card with French headers, split date columns, and cashback sections

bsb-007 — intermediate (CA/CAD) URI
benchmark://statements/bsb-007
bsb-008 — intermediate (AU/AUD)

Advertised by the server during the last successful anonymous check.

Australian bank statement with date-time dual columns, scanned PDF, and date format variations

bsb-008 — intermediate (AU/AUD) URI
benchmark://statements/bsb-008
bsb-009 — intermediate (GB/GBP)

Advertised by the server during the last successful anonymous check.

UK bank statement with value date column, currency symbol amounts, and no table grid lines

bsb-009 — intermediate (GB/GBP) URI
benchmark://statements/bsb-009
bsb-010 — intermediate (IN/INR)

Advertised by the server during the last successful anonymous check.

Indian bank stress test with 500 transactions, payment method column, and pagination challenges

bsb-010 — intermediate (IN/INR) URI
benchmark://statements/bsb-010
bsb-011 — advanced (HK/HKD)

Advertised by the server during the last successful anonymous check.

Hong Kong bilingual statement with multiple accounts, multi-currency, and end-of-day balance

bsb-011 — advanced (HK/HKD) URI
benchmark://statements/bsb-011
bsb-012 — advanced (SG/SGD)

Advertised by the server during the last successful anonymous check.

Singapore credit card with Chinese-only headers, inverted sign convention, scanned PDF, and fee sections

bsb-012 — advanced (SG/SGD) URI
benchmark://statements/bsb-012
bsb-013 — advanced (KZ/KZT)

Advertised by the server during the last successful anonymous check.

Kazakhstan multi-currency statement with 9-column layout, fee column, and dual currency display

bsb-013 — advanced (KZ/KZT) URI
benchmark://statements/bsb-013
bsb-014 — advanced (TH/THB)

Advertised by the server during the last successful anonymous check.

Thai bilingual statement with Buddhist era dates, payment method column, and balance validation

bsb-014 — advanced (TH/THB) URI
benchmark://statements/bsb-014
bsb-015 — advanced (MY/MYR)

Advertised by the server during the last successful anonymous check.

Malaysian bilingual credit card with header-only currency symbol, scanned PDF, and multiple tables

bsb-015 — advanced (MY/MYR) URI
benchmark://statements/bsb-015

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (76 of 76 checks answered)

  1. 2026-11-02: 4 of 4 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
2344 ms
95th percentile latency
2470 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 2484 ms · refuses unauthenticated resources/templates/list (HTTP 401)
  • · probe · passed · 2203 ms · metadata changed · refuses unauthenticated resources/templates/list (HTTP 401)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Try asking

Reviewed prompts from cited playbooks. Connect the listed servers before using them.

Analyze bank statements for loan underwriting
Analyze the attached bank statement for loan underwriting. Extract all transactions and calculate the borrower's average monthly income and disposable income. Flag any hidden liabilities, such as undisclosed BNPL obligations or gambling activity, and identify any bounced payments or inconsistent income patterns. Provide a summary of the borrower's ability to service a $1,500 monthly loan based on this data.
Check remaining API credits for statement processing
How many credits do I have left for processing bank statements?
Convert bank statements to structured data
Convert the attached bank statement PDF into structured transaction data. Ensure scanned checks and deposit slips are read accurately.

Agent playbooks using this server

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http bankstatemently-mcp https://api.bankstatemently.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add bankstatemently-mcp --url https://api.bankstatemently.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable bankstatemently-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "bankstatemently-mcp": {
      "url": "https://api.bankstatemently.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "bankstatemently-mcp": {
      "type": "streamableHttp",
      "url": "https://api.bankstatemently.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start bankstatemently-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "bankstatemently-mcp": {
      "type": "http",
      "url": "https://api.bankstatemently.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http bankstatemently-mcp https://api.bankstatemently.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.bankstatemently.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "bankstatemently-mcp": {
      "serverUrl": "https://api.bankstatemently.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Bankstatemently MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Bankstatemently MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing