Skip to main content
Glama

Uber Conta by Digio MCP

openfinance_get_credit_card_bill

Read-onlyIdempotent

Returns bill-level detail for one or more credit card bills by id (GET /bills/:id): dueDate, billClosingDate (when the cycle closed — the boundary that defines which purchases belong to this bill), totalAmount, financeCharges and payments[] (id, paymentDate, amount, valueType, paymentMode). ITEMIZED PURCHASES (OPT-IN): the bank's bill payload has no transactions in it — they live on the card ACCOUNT. Pass include_transactions:true (plus account_id of the credit card, since the bill itself carries no account reference) and each row also gets transactions[], transactions_count, transactions_sum and reconciles_with_total, already matched to that bill. Always check transactions_basis: bill_id = exact (the bank tagged each transaction with this bill — the normal case for CLOSED bills), date_window = ESTIMATE (confidence:'low', window echoed in transactions_window) used when the connector tags no billId or the bill is still open (PENDING lines get no billId until the cycle closes), unavailable = no link possible. Opt-in because it costs an extra full transaction scan of the account. Whatever the basis, the bill's own totalAmount is authoritative — do NOT rebuild it by summing transactions. Without the opt-in the response carries a transactions_hint; you can also fetch them yourself via openfinance_list_transactions with the credit card account_id and a from/to range ending at billClosingDate. Pass bill_ids as an array — use openfinance_list_credit_card_bills first to discover ids. { results, errors } batch shape. NOTE: Pluggy does NOT return a paid/status field. In Brazilian Open Finance, payments[] reflects payments registered during THIS bill's billing cycle — typically the payment of the PREVIOUS bill (do NOT assume this bill was paid just because payments[] is non-empty). To check paid status, prefer openfinance_list_credit_card_bills which derives payment_status via cross-bill match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bill_idsYes
account_idNo
transactions_detailNo
include_transactionsNo

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnly, idempotent, and non-destructive hints. The description adds extensive behavioral context: the opt-in transaction scan cost, the `transactions_basis` enum with exact vs estimate meanings, the authoritative nature of `totalAmount`, the interpretation of `payments[]` (payment of previous bill), and the absence of a paid/status field. 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.

Conciseness5/5

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

The description is long but every sentence contributes. It is front-loaded with the core return fields, then layers optional behavior, then adds critical warnings. The structure flows logically from basic to advanced usage, and no sentence is redundant or filler. The depth is justified by the tool's complexity.

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?

Given zero schema coverage, no output schema, and a complex optional transaction feature, the description covers all necessary aspects: exact return fields, the transaction basis and confidence levels, the batch response shape, the need to check `transactions_basis`, and the interpretation of `payments[]`. The only minor omission is the `transactions_detail` parameter, but overall the agent has enough to call the tool correctly without ambiguity.

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 full burden. It explains `bill_ids` (array, discover via list), `account_id` (required when `include_transactions:true`), and `include_transactions` (opt-in, triggers extra scan). However, `transactions_detail` (enum: compact/rich/raw) is not mentioned at all, leaving a gap in parameter meaning. Otherwise, it adds substantial value beyond the schema.

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 states precisely what the tool does: returns bill-level detail for credit card bills by id, listing specific fields (`dueDate`, `billClosingDate`, `totalAmount`, etc.) and the optional transaction enrichment. It clearly distinguishes from siblings by referencing `openfinance_list_credit_card_bills` for discovery and `openfinance_list_transactions` for manual transaction fetching, making its scope unambiguous.

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?

The description explicitly tells the agent when to use this tool: 'use openfinance_list_credit_card_bills first to discover ids', 'you can also fetch them yourself via openfinance_list_transactions', and 'prefer openfinance_list_credit_card_bills which derives payment_status'. It also warns against assuming payment status from `payments[]`, providing clear routing and exclusions.

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.3/5.0
Disambiguation4/5

The openfinance_* tools are mostly distinct list/get/update/sync operations, and the non-openfinance tools are clearly separate platform utilities. A few pairs could be confused, such as openfinance_list_accounts vs openfinance_get_accounts_detail, or openfinance_get_item_status vs openfinance_list_connections, but the descriptions generally make the intended use clear.

Naming Consistency4/5

The domain tools follow a consistent openfinance_verb_noun pattern, making the bulk of the API predictable. The deviation comes from the six non-prefixed platform tools, and one or two names like openfinance_provider_status are noun-led rather than verb-led, but overall the convention is coherent.

Tool Count3/5

25 tools is at the heavy end of the range, and the server would feel tighter if some get/list pairs were consolidated. However, the breadth is somewhat justified by the number of Open Finance resource types covered: accounts, transactions, bills, investments, loans, connections, categories, and sync/status operations plus platform utilities.

Completeness5/5

The Open Finance surface is thorough: connection lifecycle, account data, balances, transactions, credit card bills, investments, loans, categories, sync, and provider health are all covered. There are no significant dead ends, and the additional platform tools handle authentication, marketplace discovery, and system information.