Skip to main content
Glama

openfinance_list_transactions_by_item

Read-onlyIdempotent

Consolidated cash-flow analysis for a whole bank CONNECTION over a period, in ONE call. Resolves the connection's accounts internally and fans out their transactions, so you do NOT need to call openfinance_list_accounts first nor carry account_id uuids between calls. Pass item (connector_id, connector_name or item_id) to target one bank, or OMIT it to analyze ALL linked banks at once. from/to are ISO dates (YYYY-MM-DD). Default granularity:'monthly' returns a COMPACT summary (no raw rows): total entradas, saídas, saldo_liquido, monthly evolution (por_mes), and top_despesas/top_recebimentos (largest N each), plus a per-account breakdown (by_account). Use this for 'análise anual/mensal', 'fluxo de caixa', 'entradas e saídas', 'maiores gastos/recebimentos'. Set granularity:'raw' to ALSO get every consolidated transaction (heavier — only when itemized rows are needed); combine with detail:'rich' to enrich those rows with merchantInfo (cnpj/cnae/businessName/category) + extra creditCardMetadata (billId, purchaseDate, fees), or detail:'raw' for the full untouched Pluggy object per row, when the connector provides them. type filters BANK or CREDIT accounts. On a connection with many transactions the scan caps at 5000/account and flags truncated:true. May include a provider_incident block when the Open Finance provider has an OPEN incident affecting a connected bank: the totals/rows may be incomplete or wrong until the provider recovers, and reconnecting does not fix it.

Bulk support: accepts item_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
fromNo
itemNo
typeNo
top_nNo
detailNo
item_idNo
item_idsNo
granularityNo

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds important behavioral details beyond these annotations: the scan caps at 5000 transactions per account with a 'truncated:true' flag, and the presence of a 'provider_incident' block that indicates potential incomplete data. It also clarifies that reconnecting does not fix provider issues. 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 relatively long but well-structured, starting with the core purpose then expanding into parameter details and behaviors. Every sentence adds value for the agent, especially given the tool's complexity (9 parameters, multiple granularities). It could be slightly more concise, but it is not overly verbose.

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 the tool's complexity (9 parameters, no output schema, and annotations providing safety hints), the description is remarkably complete. It covers purpose, all parameter details, behavioral nuances (truncation, provider incidents), and provides concrete usage guidance. There are no missing pieces that would leave an agent confused.

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?

The input schema has 9 parameters with 0% schema description coverage, so the description must compensate. It explains the meaning of most parameters: item (targets one bank or all), from/to (ISO dates), granularity (monthly vs raw), detail (compact, rich, raw), type (BANK or CREDIT), and item_ids (bulk support). However, the 'top_n' parameter is not explicitly described, though it is implied by 'largest N each.' This is a minor gap.

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 clearly states the tool's purpose: 'Consolidated cash-flow analysis for a whole bank CONNECTION over a period, in ONE call.' It distinguishes itself from sibling tools like openfinance_list_accounts and openfinance_list_transactions by emphasizing that it resolves accounts internally and fans out transactions, so users don't need to call those tools first.

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 when to use this tool versus alternatives: 'so you do NOT need to call openfinance_list_accounts first nor carry account_id uuids between calls.' It also provides when to omit the item parameter for all banks, lists concrete use cases like 'análise anual/mensal', specifies when to use granularity 'raw' vs 'monthly', and warns about data caps and provider incidents.

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 largely distinct: openfinance_* tools cover specific resources (accounts, transactions, bills, loans, investments) with clear boundaries. Some overlap exists between list_transactions and list_transactions_by_item, and between status/sync tools (get_item_status, force_sync, provider_status), but descriptions are detailed enough to guide selection.

Naming Consistency4/5

The openfinance_* prefix provides strong consistency for the bulk of tools, with clear verb_noun patterns (list, get, update, force_sync). The platform tools (authenticate, connect, marketplace, report_bug, etc.) break the pattern but are few and their names are intuitive. Overall, minor mixing of conventions but readable.

Tool Count4/5

25 tools is on the higher side but appropriate for a comprehensive Open Finance and platform management server. The count includes both data access (accounts, transactions, bills, loans, investments) and platform utilities (authentication, connection state, marketplace). No redundant tools; each serves a clear purpose.

Completeness4/5

The surface covers the core read operations for connected banks (accounts, transactions, bills, loans, investments), connection management (sync, status, disconnect), and category correction. Minor gaps include no get-transaction-by-id and no update for account metadata, but these are not critical for the typical use case of a banking data aggregator.