Skip to main content
Glama

openfinance_list_transactions

Read-onlyIdempotent

Returns transactions for a bank account (BANK or CREDIT type). For CREDIT (credit card) accounts, this is the ONLY way to get itemized transactions (purchases, subscriptions, etc.). Each credit card transaction MAY carry creditCardMetadata.billId pointing at a bill from openfinance_list_credit_card_bills, but this is a per-connector HINT, not authoritative: some connectors (e.g. Nubank) populate it sparsely (many transactions and installments arrive with no billId) or inconsistently (the same payment tagged to more than one bill). Do NOT reconstruct a bill's total by summing transactions by billId — the bill's own totalAmount from openfinance_list_credit_card_bills is the source of truth. CREDIT PENDING vs POSTED varies by connector: where the bank exposes future-dated status:'PENDING' installments, those represent the OPEN bill plus future bills (future months); where it does NOT, only the last closed bill's POSTED items appear until ~closing. Same query, different coverage per bank (upstream). To get a standardized open-bill total / total debt regardless, use openfinance_list_credit_card_bills (open_bill / total_pending_debt). SCHEDULED (future-dated) ROWS: results are ordered by date DESCENDING, and on a card with long installment plans the TOP of the list is the FUTURE — rows dated months ahead are scheduled installments of purchases already made, not new purchases. Every such row is flagged scheduled:true, the response carries scheduled_count and a notice naming the most recent row that actually happened. NEVER read the first row as 'the latest purchase' without checking scheduled. To list only what already happened, pass to = today. Supports from/to date filters (ISO YYYY-MM-DD) and an optional keyword filter via search_queries (case- and accent-insensitive substring match against description and merchant name, OR semantics across multiple terms). When search_queries is set the tool aggregates up to 5000 transactions within from/to before filtering — narrow from/to if truncated:true is returned. PAGINATION: OMIT both page and page_size (the default) to get ALL transactions in the from/to range in one call — the tool auto-paginates the upstream and returns them under a single logical page (page:1, totalPages:1), up to a 5000 ceiling (truncated:true + warning if exceeded, then narrow from/to). Passing page and/or page_size switches to MANUAL pagination: you get one page (page_size items, default 50, max 500; page defaults to 1) with the REAL total/totalPages, so page_size:5 alone returns the first 5 with totalPages telling you how many pages remain. On upstream errors, returns { total:0, results:[], warning, error } instead of throwing. detail controls how much per-row data you get (default 'compact' = slim, cheap). Use detail:'rich' to enrich each row (when the bank connector provides it) with merchantInfo (estabelecimento: businessName/razão social, cnpj, cnae, category — useful for auto-classifying spending) and extra creditCardMetadata fields: billId (a per-connector HINT toward the transaction's bill — sparse/inconsistent on some connectors like Nubank, so do NOT sum by it to get a bill total; use the bill's totalAmount instead), billForecastDate, cardNumber, purchaseDate, payeeMCC, feeType/feeTypeAdditionalInfo, otherCreditsType/otherCreditsAdditionalInfo. billForecastDate ("YYYY-MM") is the counterpart of billId for the OPEN cycle: PENDING transactions have NO billId (the bank only mints it once the bill closes), so this is the only field telling you which bill a pending purchase will land in — its month OFFSET is per-connector (some banks month+1, others month+0), so surface it as-is and do not derive a due date from it. cardNumber (last 4 digits) separates the primary cardholder's charges from an additional card's when several cards share one account_id. Use detail:'raw' to get the FULL untouched Pluggy transaction object (everything Pluggy returns, un-normalized — heaviest, for when you need a field we don't project). 'rich'/'raw' add tokens per row and coverage varies by bank/Open Finance, so keep the default for normal listings. For the card's statement closing/due dates use openfinance_list_accounts (creditData.balanceCloseDate / balanceDueDate). The response opens with an account echo block ({ account_id, bank, name, number, type, item_id }) identifying WHICH account/bank these transactions belong to. When more than one bank is connected, ALWAYS cross-check the echo against the account you intended to query and name the bank when presenting results — never attribute one bank's transactions to another. If total is 0 for a CREDIT account, check the connection health via openfinance_get_item_status — statusDetail.creditCards.isUpdated: false means the credit card sync failed and a force sync (openfinance_force_sync) or reconnection may be needed. May include a provider_incident block when the Open Finance provider has an OPEN incident affecting a connected bank: transactions may come back incomplete or wrong until the provider recovers, and reconnecting does not fix it.

Bulk support: accepts account_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
pageNo
detailNo
page_sizeNo
account_idYes
account_idsNo
search_queriesNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already cover read-only/idempotent/non-destructive, so the bar is lower — but the description adds extensive non-obvious behavior on top: auto-vs-manual pagination with a 5000-row ceiling and truncated:true, descending date ordering with scheduled future rows flagged scheduled:true, connector-dependent PENDING/POSTED semantics, billId being a sparse/inconsistent per-connector hint, the error shape {total:0, results:[], warning, error} instead of throwing, and a provider_incident block. No contradiction with the annotations; all extra disclosure is consistent with a read-only list tool.

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

Conciseness4/5

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

The description is front-loaded: the first sentence delivers the core purpose, and the body is organized into clear topic sections (credit nuances, scheduled rows, search, pagination, detail modes, edge cases). It is long, but that length is justified by 8 bare-type parameters and no output schema. It loses a point for redundancy — the billId/Nubank 'sum by billId' caveat appears twice, once in the opening and again in the detail:'rich' field list — and for a fragmentary tail note about account_ids/batched execution that reads like a leftover.

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

Completeness5/5

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

Despite lacking an output schema and having zero parameter schema coverage, the description is complete enough to invoke plainly correctly: it tells the agent the account echo block, pagination metadata (totalPages, truncated), notice/scheduled_count fields, rich/raw field enrichment, the failure envelope, the provider_incident block, and the correct response to total:0 (check item status/force sync). The only marginal gap is the exact row fields of the default 'compact' form, which is acceptable since the description signals 'slim, cheap' and projects nothing specific for it. For a tool this complex, this is as complete a description as a definition can carry.

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

Parameters5/5

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

Schema description coverage is 0% — every parameter is a bare type with no meaning. The description fully compensates: from/to as ISO YYYY-MM-DD filters, search_queries with case- and accent-insensitive OR substring matching against description/merchant, page and page_size behaviors (auto-pagination when omitted, manual with defaults page_size:50 max 500), detail enum values ('raw', 'rich', 'raw') and the breakdown of what 'rich' adds (merchantInfo, creditCardMetadata fields), account_ids batched execution, and account_id scoping via the echo block. This is a complete semantic map for all 8 parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource+scope: 'Returns transactions for a bank account (BANK or CREDIT type).' It also differentiates from siblings by stating that for CREDIT accounts this is 'the ONLY way to get itemized transactions,' and it cross-references openfinance_list_transactions_by_item's sibling responsibilities by naming where bills, balances, and due dates should come from instead.

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

Usage Guidelines5/5

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

Gives explicit when-not-to-use guidance: use openfinance_list_credit_card_bills for authoritative bill totals ('the bill's own totalAmount ... is the source of truth'), openfinance_list_accounts for closing/due dates ('balanceCloseDate' / 'balanceDueDate'), and openfinance_get_item_status / openfinance_force_sync when a CREDIT account returns 0 transactions. Also gives conditional 'use detail:rich when ...' and 'use detail:raw when ...' guidance, so an agent knows exactly which route to pick from several alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation4/5

Tools are mostly distinct, with clear descriptions differentiating them. Some overlap between openfinance_list_accounts and openfinance_get_accounts_detail, but descriptions clarify that one returns summaries and the other full details. The marketplace tool is very detailed and avoids confusion with Open Finance tools.

Naming Consistency3/5

The Open Finance tools follow a consistent openfinance_verb_noun pattern, but other tools (authenticate, connect, marketplace, report_bug, show_version, toolkit_info) do not use a prefix. This mix of conventions reduces overall consistency, though within the Open Finance subset the pattern is clear.

Tool Count4/5

24 tools is a reasonable count for a platform covering authentication, marketplace, and detailed Open Finance operations. The number is slightly high but each tool has a clear purpose and none seem redundant.

Completeness5/5

The tool set covers the full lifecycle of bank connections: listing accounts, transactions, credit card bills, investments, loans, force syncing, provider status, and category management. The marketplace tool also allows extending functionality. No obvious gaps for the intended financial data domain.