Skip to main content
Glama

openfinance_list_credit_card_bills

Read-onlyIdempotent

Returns CLOSED credit card bills for a CREDIT-type account: dueDate, totalAmount, minimumPaymentAmount, allowsInstallments, plus payments[] (id, paymentDate, amount, valueType, paymentMode), payments_count, payments_total, finance charges aggregates, and a derived payment_status per bill. IMPORTANT — Brazilian Open Finance semantics: Pluggy does NOT return a paid/status field. The payment goes into the payments[] of the bill whose CYCLE contains the paymentDate (closing ≈ dueDate − 7d): pre-payment before close stays on the bill being paid; payment between close and due, or after due, lands on the NEXT bill. So payments[] on a bill commonly carries the previous bill's payment, NOT the current one's — do NOT assume this bill was paid just because payments[] is non-empty. Use the derived payment_status (PAID | OPEN | PAST_DUE_UNCONFIRMED | PAST_DUE_UNPAID): a bill is PAID when its OWN payments[] (early pre-payment) or ANY newer bill in the payload contains a payment with amount ≈ this bill's totalAmount (±R$0.50). The MOST RECENT bill that's past-due, with no own pre-payment match, cannot be confirmed via cross-bill (the next cycle hasn't closed yet) — it returns PAST_DUE_UNCONFIRMED. NEVER call such a bill 'vencida' categorically; flag that the payment may have been made between close and due and not yet reflected upstream. The full payment_status_legend is returned alongside the results. OPEN BILL & TOTAL DEBT (standardized, derived — OPT-IN): pass include_open_bill:true to ALSO get open_bill (the current not-yet-closed bill, próxima a vencer) and total_pending_debt (saldo devedor total = all pending installments), BOTH derived from PENDING transactions so they mean the same thing across connectors — use these instead of the CREDIT account's balance, whose meaning VARIES by connector (some report the open-bill partial, others the full installment debt). open_bill = { available, method (cycle_dates = real close/due dates | calendar_month_fallback = estimated, confidence:'low'), close_date, due_date, total_amount (net charges − credits), transaction_count }; plus a future_bills[] breakdown per month — LOW-confidence forward projections of PENDING installments (confidence:'low', basis), NOT authoritative bills (for closed months trust the results totalAmount). CONNECTOR ASYMMETRY: where the bank does NOT expose the open bill before closing (only closed bills, no reliable cycle dates), open_bill.available is false with a reason (connector_exposes_no_pending or open_bill_not_published) — that bill isn't retrievable by any endpoint until it closes (upstream limit of the institution's Open Finance feed, not our filter); check the bank app for the current open bill. When per-transaction billId grouping does not reconcile with the bills' totals, a bill_grouping_reliability warning is attached (trust totalAmount, do not sum by billId). Default false (the projection runs an extra accounts+transactions scan, so it's opt-in). The response opens with an account echo block ({ account_id, bank, name, number, type, item_id }) identifying WHICH card/bank these bills belong to. When more than one bank is connected, ALWAYS cross-check the echo against the card you intended to query and name the bank when presenting results — never attribute one bank's bills to another. This tool's results are bill-level summaries — NOT individual transactions, and each bill's totalAmount (from the bank) is the AUTHORITATIVE amount. To see itemized purchases/charges, use openfinance_list_transactions with the CREDIT account_id — but note creditCardMetadata.billId is a per-connector hint that can be sparse/inconsistent (e.g. Nubank), so do NOT reconstruct a bill total by summing transactions by billId. Returns a warning instead of failing if the CREDIT_CARDS product is not enabled.

Bulk support: accepts account_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
page_sizeNo
account_idYes
account_idsNo
include_open_billNo

TDQS

A4.8/5.0
Behavior5/5

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

Despite readOnlyHint and idempotentHint annotations, the description goes far beyond by revealing Open Finance payment semantics, derived payment_status logic, connector asymmetries, confidence levels for projections, and the fact that it returns a warning instead of failing when the product is not enabled. No contradiction with annotations.

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 very long but densely packed with critical domain knowledge. It is structured in labeled paragraphs (e.g., 'CONNECTOR ASYMMETRY', 'Bulk support') and front-loads the core return fields before diving into caveats. While somewhat verbose, the complexity justifies the length, though it could be tightened.

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?

No output schema exists, so the description must cover return values, and it does: account echo, results, payments[], open_bill, future_bills, payment_status_legend, and warnings. It also explains derived fields and their confidence levels, making the tool's behavior predictable without additional schema.

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

Parameters4/5

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

Schema coverage is 0%, so the description carries the burden. It thoroughly explains include_open_bill (behavior, default, derived fields), account_ids (bulk support), and account_id (echo context). Page/page_size are not explicitly described but are conventional pagination parameters, so the partial compensation earns a score above baseline.

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?

The description opens with a specific verb and resource: 'Returns CLOSED credit card bills for a CREDIT-type account' and enumerates the exact fields. It distinguishes itself from sibling tools by contrasting with openfinance_list_transactions and noting this tool provides bill-level summaries, not individual transactions.

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?

Explicit guidance is given on when to use this tool over alternatives: 'To see itemized purchases/charges, use openfinance_list_transactions' and warnings against summing transactions by billId. It also explains when the open_bill option should be used (instead of the account balance) and when connector asymmetry prevents retrieval.

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

A3.9/5.0
Disambiguation3/5

The openfinance_* tools are mostly distinct by resource and action, but several pairs create ambiguity: openfinance_get_item_status vs openfinance_provider_status, openfinance_list_transactions vs openfinance_list_transactions_by_item, and the monolithic marketplace tool overlaps with top-level report_bug and toolkit_info. Descriptions do clarify the differences, but an agent selecting by name alone could easily choose the wrong tool.

Naming Consistency3/5

The openfinance_* family follows a mostly consistent verb_noun pattern (list_accounts, get_balance, update_transaction_category), which is good. However, top-level tools mix bare verbs, nouns, and verb_noun forms (authenticate, connect, marketplace, show_version, toolkit_info), and openfinance_provider_status breaks the verb-first pattern. The naming is readable but not uniform across the whole set.

Tool Count3/5

25 tools sits right at the heavy boundary, though the server covers two domains: mcp.ai platform management and Open Finance data access. Some tools could be consolidated (list_transactions vs list_transactions_by_item, get_item_status vs provider_status), and marketplace is a monolithic super-tool that bundles many sub-capabilities. Overall the count is defensible but slightly bloated.

Completeness4/5

The Open Finance surface is thorough: accounts, balances, transactions, credit card bills, loans, investments, connection management, sync, category updates, and provider health are all covered. Minor gaps exist, such as no investment detail beyond the list and connection actions being URL-based rather than first-class tools, but there are no dead ends for typical read/aggregation workflows.