Skip to main content
Glama

openfinance_get_account_balance

Read-onlyIdempotent

Returns the latest available balance per account id (GET /accounts/:id/balance). This is the freshest balance the provider can serve, but it is a SNAPSHOT anchored to the connection's last upstream sync: the updateDateTime/updatedAt in each row is that sync instant, NOT a to-the-second live read. If a movement that just happened is not reflected yet, or the balance disagrees with the sum of openfinance_list_transactions, run openfinance_force_sync to pull fresh data and then re-read. Pass account_ids as an array (1–50). CREDIT accounts may return Pluggy BALANCE_FETCH_ERROR (provider could not fetch it) or BALANCE_CONSENT_ERROR (the institution refused it because the consent lacks the balance permission — reconnecting the bank restores it) — those rows include a structured warning instead of throwing. When the financial institution is temporarily unavailable upstream (5xx) or the connector is not Open Finance, the row DEGRADES to the last-synced balance with realtime: false, updatedAt and a warning instead of an error. Response shape: { results: [...], errors: [{ id, status, message }] }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idsYes

Schema Changelog

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

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The description adds substantial behavior beyond annotations: explains that balance is a snapshot anchored to last sync, not a live read; details degradation to last-synced balance with realtime:false and warnings; and clarifies that errors surface as structured warnings rather than exceptions. This richly complements the readOnlyHint and idempotentHint 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 adds necessary operational detail about freshness, error handling, degradation, and response shape. It front-loads the core purpose and then layers caveats in a logical order with no filler.

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?

With no output schema, the description includes the response envelope { results, errors }. It covers parameter constraints, sync freshness, error modes, degradation behavior, and instructions for remediation. An agent has enough context to invoke the tool correctly and interpret results.

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 schema only shows account_ids as an array of strings, but the description adds critical meaning: 'Pass account_ids as an array (1–50)' and clarifies the response is per account id. Although the item format is not further detailed, the single parameter is well explained for practical use.

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 a specific verb and resource: 'Returns the latest available balance per account id (GET /accounts/:id/balance)' and immediately clarifies the snapshot semantics. It clearly identifies the tool's unique function among many openfinance siblings without ambiguity.

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?

It gives explicit when-to-use guidance: if the balance is stale or disagrees with openfinance_list_transactions, run openfinance_force_sync then re-read. It also explains CREDIT account error cases and directs the user to reconnect the bank to restore consent, covering both alternatives and recovery paths.

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

Most openfinance_* tools are clearly separated by resource and action, and the long descriptions help, but several pairs can trip up an agent: authenticate/connect both deal with login/connection state, openfinance_list_transactions and openfinance_list_transactions_by_item sound nearly identical, and marketplace internally exposes report_bug/list_tools functions that also exist as top-level tools. This is more than a single ambiguous edge.

Naming Consistency3/5

The 19 openfinance_* tools follow a clean get_/list_/update_ pattern and are easy to navigate, but the platform-level tools break the convention: authenticate, connect, marketplace, toolkit_info, report_bug, and show_version mix bare verbs, nouns, and noun-noun compounds. The pattern is not chaotic, but it is definitely mixed.

Tool Count3/5

25 tools is on the heavy end of the borderline range and is a large working set for an agent. The openfinance tools are individually justified and support batching, but the extra platform/marketplace tools add scope and some redundancy with report_bug and toolkit_info.

Completeness5/5

For a bank-data aggregation server, the surface is complete: connector discovery, linking/reconnecting/disconnecting, account lists and details, balances, transactions, categorization, credit-card bills, investments, loans, sync status, and provider health are all covered. There are no obvious dead ends in the main workflows.