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. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=true, idempotentHint=true), the description discloses critical behavior: the balance is a snapshot anchored to the last upstream sync, not a live read; credit accounts may produce structured warnings instead of throwing; and upstream 5xx or non-Open Finance connectors cause graceful degradation. This is exactly the kind of context annotations cannot capture.

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 dense and every section serves a purpose: freshness caveat, sync escalation, array constraints, error semantics, and degradation conditions. It is not as front-loaded as it could be, but the structure is logical and no sentence is filler.

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

Completeness4/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 partially compensates by mentioning rows, updateDateTime/updatedAt, and structured warnings, but it does not fully describe the response shape or what fields an agent can expect in the balance payload. Given the tool's complexity and error modes, this is a minor gap rather than a blocking one.

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 must carry parameter meaning, and largely does: it specifies account_ids, explains it must be passed as an array, and imposes the 1–50 count constraint. It does not explicitly say that the IDs come from openfinance_list_accounts, but the first sentence's 'per account id' plus the array requirement offers enough semantic grounding for an agent to invoke it correctly.

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 ('Returns') and resource ('latest available balance per account id'), and includes the exact endpoint. It is immediately distinguishable from siblings like openfinance_list_accounts, which lists accounts rather than balances, and openfinance_list_transactions, which returns movements.

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 gives explicit guidance on when to use this tool and what to do if the data is stale: it instructs the agent to run openfinance_force_sync and re-read when the balance disagrees with openfinance_list_transactions or when recent movements are missing. It also names openfinance_list_transactions as a related but distinct alternative.

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_* tools are mostly separated by resource (accounts, bills, loans, investments, connections), and the meta tools are distinct. The main ambiguities are openfinance_list_transactions vs openfinance_list_transactions_by_item, and openfinance_get_credit_card_bill vs openfinance_list_credit_card_bills, though their descriptions do clarify different intents.

Naming Consistency3/5

The openfinance_* family follows a consistent verb_noun pattern, and the generic platform tools use bare lowercase names like connect, authenticate, and marketplace. The mixed prefixes and the occasional singular/plural variation (get_credit_card_bill vs list_credit_card_bills) make the overall namespace readable but not fully uniform.

Tool Count3/5

25 tools is at the heavy end and combines two distinct areas: platform/meta tooling and a deep Open Finance adapter. Most openfinance tools are justifed by real endpoints, but the count feels bulky for an agent to browse, and the marketplace tool packs an unusually large number of capabilities into a single entry.

Completeness4/5

The Open Finance surface is unusually complete: accounts, balances, transactions, credit-card bills, loans, investments, connection status, force sync, provider status, category correction, and disconnect are all present. The platform side is also broad via marketplace and toolkit_info, with only minor granularity gaps such as no dedicated get-single-transaction tool or separate marketplace sub-tools.