Skip to main content
Glama

openfinance_list_investments

Read-onlyIdempotent

Returns the investment portfolio for a connection (broker or bank with INVESTMENTS product enabled): FIIs, stocks, ETFs, fixed income (CDB/LCI/LCA/Tesouro), mutual funds, retirement (previdência) and COE. Each row carries balance, amount, amountOriginal, amountProfit, lastMonthRate / annualRate / lastTwelveMonthsRate (when available), dueDate, issuer, ISIN, etc. Returns { total:0, results:[], warning } instead of throwing when INVESTMENTS isn't enabled (403) or other upstream errors. DATA INTEGRITY: when MULTIPLE positions come back as TOTAL_WITHDRAWAL with balance/quantity 0 at once (mass zeroing), the tool cross-checks each position's own transaction history upstream; if the zeroing is contradicted (BUY with no sale/redemption/transfer) the response carries data_integrity_warning and the affected rows are flagged integrity:'suspect_zeroed' — treat those balances as UNAVAILABLE (likely a temporary connector failure publishing zeros), never as real R$0, and do NOT sum them into the portfolio.

Bulk support: accepts item_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemNo
pageNo
typeNo
item_idNo
item_idsNo
page_sizeNo

TDQS

A4/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint, etc.), the description discloses error handling behavior (returns warning on 403), data integrity checks for mass zeroing, and flags suspect rows. This adds significant context for safe invocation.

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

Conciseness3/5

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

The description is front-loaded with purpose but becomes verbose with the data integrity warning, which could be more concise. It is not overly long but could be streamlined.

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

Completeness3/5

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

The description covers error handling and data integrity well, but fails to document most parameters. Given the complexity (6 params, no output schema), the missing parameter info leaves the tool incomplete.

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

Parameters2/5

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

Schema description coverage is 0%, so description should explain all parameters. It only mentions 'item_ids' for bulk support. 'item', 'page', 'type', 'item_id', 'page_size' are undocumented, leaving their purpose unclear.

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 returns an investment portfolio for connections with INVESTMENTS product enabled, listing specific asset types. It distinguishes from sibling tools like openfinance_list_investment_transactions which focus on transactions.

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 context on when to use (connections with INVESTMENTS enabled) and handling of errors (403 return format). It does not explicitly state when not to use or compare with alternatives, but the sibling list and tool name provide implicit differentiation.

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

The openfinance_* family is cleanly separated by resource and action, and tricky pairs like list_accounts vs get_account_balance and list_transactions vs list_transactions_by_item are explicitly cross-referenced in descriptions. However, marketplace bundles a large set of sub-actions, and connect/toolkit_info partially overlap on reporting connection state, so a couple of boundaries are fuzzy.

Naming Consistency4/5

The openfinance_* tools consistently follow a verb_resource pattern with snake_case, which is highly predictable. The generic platform tools mostly fit the same style, but marketplace and toolkit_info are noun-only names, and openfinance_provider_status also breaks the verb pattern, so it is not perfectly uniform.

Tool Count3/5

At 25 tools, this server falls at the heavy end of the borderline range. The many openfinance_* list/get tools are individually justified for the financial domain, but adding platform tools like marketplace, connect, toolkit_info, and show_version makes the overall surface larger than a minimal server needs.

Completeness5/5

The financial surface is remarkably thorough: accounts, transactions, credit card bills, loans, investments, categories, connection lifecycle, sync, and provider health are all covered with list/get and update paths where applicable. The platform side also covers auth, connection status, marketplace discovery/execution, versioning, and bug reporting, leaving no obvious dead ends.