Skip to main content
Glama

YESbusiness

Bank account analysis

get_bank_account_analysis
Read-onlyIdempotent

Whether one bank account's bank statements, its bank transactions in YESbusiness and the books agree: the verdict (ok, to_fix, blocking), the bank and book balances at the last statement date, the findings (code, dates, amount in cents, the fix and the rung it needs), what is fine, and the sources by period. Call it when the user asks why a bank account does not match, about holes in the statements, duplicates or a difference between bank and books. Pass bank_account_id (a uuid from the page context: analysis_to_fix, bank tasks, bank_account_id) or, when the user names a cash account by its number (e.g. 1020), account_number instead: it is resolved to that account's bank account. The result's bank_account.id is the uuid ui_open_bank_account_analysis takes. Explain the findings; the user presses every fix on the page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "company_id": "<company_id>"
    },
    "name": "get_bank_account_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_fromNofirst day, YYYY-MM-DD; default 1 January of this year
company_idYesThe company to work on — one of list_my_companies' company_id values.
date_untilNolast day, YYYY-MM-DD; default today
account_numberNothe cash account's number the user named (e.g. 1020), when no uuid is in the page context
bank_account_idNothe bank account's uuid, from the page context

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: each finding carries a fix and 'the rung it needs', and 'the user presses every fix on the page' makes clear the tool diagnoses but never applies changes. It does not cover failure modes (e.g., account with no statements, permission needs).

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?

Front-loads the verdict and return payload, then triggers, then parameter routing — a sensible order with no filler. The first sentence is a dense comma-spliced list that takes effort to parse, but every clause carries information.

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 rightly enumerates what comes back (verdict, balances at last statement date, findings with code, dates, cents, fix, rung, what is fine, sources by period) and explains the cross-tool handoff of bank_account.id. Good coverage for a read-only analysis tool; only edge cases and error behavior are unaddressed.

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 100%, so the baseline is 3; the description still adds real meaning by stating where bank_account_id comes from (analysis_to_fix, bank tasks, bank_account_id page context), that account_number is resolved to the corresponding bank account, and that the result's bank_account.id is the input ui_open_bank_account_analysis expects. The date parameters are left entirely to the schema.

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?

States a specific, distinctive job: reconciling one bank account's statements, YESbusiness transactions and books, returning a verdict (ok/to_fix/blocking), balances, findings and sources. That is clearly separable from siblings like get_account_statement or list_unbooked_bank_transactions, which read raw data rather than a reconciliation verdict.

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?

Gives concrete trigger conditions: user asks why a bank account does not match, about holes in the statements, duplicates, or a bank-vs-books difference. It also tells the agent which identifier to supply depending on context (uuid from page vs. named cash account number). No explicit 'do not use when' or named alternative, which keeps it below a 5.

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.

Resources