list_operations
Parse mBank CSV exports to list operation rows with dates, descriptions, amounts, and categories. Apply optional filters for account, date range, category, amount, and description.
Instructions
Parse an mBank CSV operations export and return the operation rows (date, description, account, category, signed amount, currency). All filters are optional; combine them freely. Amounts are already parsed to floats (negative = expense). For big statements consider a limit to keep response size in check.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "list_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max operations to return (default: all) | |
| account | No | Substring match against account label (case-insensitive) | |
| date_to | No | YYYY-MM-DD, inclusive | |
| category | No | Substring match against mBank's assigned category (case-insensitive) | |
| contains | No | Substring match against operation description (case-insensitive) | |
| date_from | No | YYYY-MM-DD, inclusive | |
| file_path | Yes | Absolute path to the mBank CSV file | |
| max_amount | No | Maximum amount (inclusive) | |
| min_amount | No | Minimum amount (inclusive). Signed — negative for expenses. | |
| include_header | No | If true, include the header block alongside operations |