Skip to main content
Glama

Banco PAN MCP

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

Schema Changelog

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

  1. Added
  2. Removed
  3. Changed2 schema fields changed
    • addedInput schema / properties / item_id
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / item_ids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Added
  5. Removed
  6. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint, idempotentHint, destructiveHint), the description discloses important behavioral traits: 5000/account scan cap with truncated flag, provider_incident block for incomplete data, and bulk support via item_ids. These add significant context for safe usage.

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 long but well-structured: a clear opening sentence followed by parameter details and usage examples. It uses markdown (backticks) effectively and avoids redundancy, though it could be slightly more terse.

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 no output schema, the description thoroughly explains the return format for both monthly and raw granularities, including the compact summary fields and the truncated flag. It also covers error/incomplete data scenarios, making it complete for an agent to invoke correctly.

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

Parameters3/5

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

The description explains most parameters (item, from/to, granularity, detail, type, item_ids) in context, but top_n is not described, and the distinction between item, item_id, and item_ids is unclear. With 0% schema description coverage, more clarity on these parameters would improve semantics.

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 it performs consolidated cash-flow analysis for a bank connection, resolving accounts internally and fanning out transactions. It explicitly distinguishes itself from openfinance_list_accounts by eliminating the need for that prior call. The verb 'analyze' and resource 'transactions' are specific.

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

Usage Guidelines4/5

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

The description provides clear usage context: pass 'item' for one bank or omit for all banks; use 'granularity:raw' only when itemized rows are needed; lists use cases like 'fluxo de caixa'. However, it does not explicitly compare to the sibling openfinance_list_transactions or state when to avoid this tool.

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

The tools are mostly distinct, covering authentication, marketplace navigation, Open Finance data retrieval (accounts, transactions, bills, loans, investments), and status/connector management. Some overlap exists between openfinance_list_transactions and openfinance_list_transactions_by_item (both return transactions, but the latter is a consolidated summary), which could cause momentary confusion, though descriptions clearly differentiate them.

Naming Consistency4/5

Tool names follow a clear pattern: 'openfinance_' prefix for Open Finance operations, with consistent verb_noun structure (list_accounts, get_account_balance, update_transaction_category). However, there are a few outliers like 'authenticate', 'connect', 'marketplace', 'report_bug', and 'show_version' that don't follow the Open Finance naming convention, though they serve different purposes and are still readable.

Tool Count4/5

With 25 tools, the count is slightly high but justifiable given the broad scope: the server covers Open Finance banking data (accounts, transactions, bills, loans, investments, connections), marketplace operations, and system utilities. Not all tools are used in every session, but each serves a distinct purpose, and the count remains manageable due to clear grouping.

Completeness4/5

The tool surface covers the core Open Finance lifecycle well: list and get accounts, transactions, bills, loans, investments, plus sync, reconnect, and category updates. It also includes connector search and provider status. Minor gaps exist, such as no explicit tool for updating or deleting a transaction category rule, and no direct CRUD for connections (only list and disconnect), but these are acceptable gaps.