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. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, but the description adds substantial behavioral context: snapshot vs live-read semantics, updateDateTime as sync instant, CREDIT-specific error variants, degraded fallback behavior, and response shape. None of this contradicts the 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 dense but every sentence carries operational importance: freshness semantics, sync anchoring, error variants, degradation, and response shape. The most decision-relevant fact, that this is a snapshot rather than a live read, is front-loaded.

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?

For a one-parameter tool with no output schema, the description fully covers input constraints, credential-sensitive credit errors, upstream-unavailable degradation, response shape, and when to invoke force_sync. An agent has enough information to call it 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 describes account_ids as an array of strings with 0% coverage, so the description compensates by specifying the 1–50 item limit and the per-account result behavior. It stops short of telling the agent where to source account_ids from, though the sibling openfinance_list_accounts makes that inferable.

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?

Starts with a specific verb and target resource: 'Returns the latest available balance per account id (GET /accounts/:id/balance)'. It also distinguishes this tool from transaction and account-detail siblings by emphasizing that the balance is a snapshot tied to the last upstream sync.

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?

Provides explicit routing guidance: if the balance is stale or disagrees with openfinance_list_transactions, the agent should run openfinance_force_sync and re-read. It also describes when degraded values and warnings are returned instead of errors, making the tool's fallback behavior actionable.

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

The openfinance_* tools are mostly distinct resource/action pairs, but several boundaries blur: openfinance_list_transactions vs openfinance_list_transactions_by_item vs openfinance_get_credit_card_bill(include_transactions) all return transaction data, and openfinance_get_item_status / openfinance_provider_status / openfinance_list_connections all concern connection health. The monolithic marketplace tool also bundles search/describe/invoke/install/prompt-library operations, adding further ambiguity.

Naming Consistency4/5

The 19 openfinance_* tools follow a clean snake_case verb_noun pattern (list_accounts, get_item_status, update_transaction_category), but the six platform tools break it with bare verbs (authenticate, connect) and noun-style names (marketplace, toolkit_info). The split is namespace-based and still readable, so it is only a minor inconsistency.

Tool Count3/5

25 tools is on the heavy side, but the server spans two domains: an Open Finance banking surface (accounts, bills, loans, investments, connections) and a marketplace/platform layer (auth, search, prompts, bug reporting). Many openfinance tools are necessary for that breadth, though the count is high enough to feel bloated.

Completeness4/5

The Open Finance surface is nearly complete: connections can be searched, listed, disconnected, force-synced, and health-checked; accounts, transactions, bills, loans, and investments all have read/detail paths; transaction categories can be updated. Minor gaps exist, such as no granular marketplace tools outside the monolithic marketplace tool and no single-transaction detail endpoint, but core workflows do not dead-end.