Skip to main content
Glama

YESbusiness

Unbooked bank transactions

list_unbooked_bank_transactions
Read-onlyIdempotent

The imported bank transactions that do NOT have a booking yet, on every cash account of the company (or on one, by cash_account_number), newest first. Use it to find the transaction a supplier invoice or a receipt pays: match the amount, the date (a payment usually follows the invoice date by days or weeks) and the counterparty name or the reference. Each item: id (the bank_transaction_id propose_bank_transaction_booking takes), cash_account_number, date, value_date, amount_cents (signed: negative = money out, positive = money in; integer CENTS in the transaction's currency — divide by 100), currency, description, counterparty, reference. unbooked_total per account says how many wait in all; when it is larger than what was returned, narrow with date_from / date_to or search. date_from and date_to are YYYY-MM-DD, inclusive.

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": "list_unbooked_bank_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per cash account, 1-100 (default 50).
searchNoText the transaction's description must contain.
date_toNoLatest transaction date, YYYY-MM-DD, inclusive.
date_fromNoEarliest transaction date, YYYY-MM-DD, inclusive.
company_idYesThe company to work on — one of list_my_companies' company_id values.
cash_account_numberNoOnly this cash account (its number, e.g. '1020'); omitted = every cash account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, so the bar is lower — yet the description still adds ordering (newest first), the per-cash-account scoping of limit, and the meaning of unbooked_total per account as a truncation signal. It also explains that amount_cents is a signed integer in cents where negative means money out, which is behavioral detail an agent would otherwise guess wrong.

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?

A single dense paragraph that front-loads the core definition, the use case, then the return fields and the truncation workaround. The field enumeration is long but justified since there is no output schema; a few clauses restate schema facts and could be trimmed.

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 takes on the full burden of describing each returned field (id, cash_account_number, date, value_date, amount_cents, currency, description, counterparty, reference) and links id to the booking tool. Combined with the truncation guidance, an agent has everything needed to call and interpret this tool.

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 earns extra by explaining how limit interacts with per-account totals and by telling the agent to react to unbooked_total exceeding the returned rows via date_from/date_to or search. Most format details (YYYY-MM-DD, inclusive, cash account number example) merely restate 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?

Opens with a precise verb+resource+qualifier: imported bank transactions with no booking yet, across all cash accounts or a single one, newest first. That scope statement is enough to distinguish it from list_bookings, which returns the booked side.

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?

Explicitly frames the use case — finding the transaction a supplier invoice or receipt pays — and even names the matching heuristics (amount, date lag of days/weeks, counterparty or reference). It also tells the agent what to do when results are truncated (narrow with date_from/date_to or search) and names the downstream tool propose_bank_transaction_booking. It stops short of stating when not to use it, so it is strong but not complete routing guidance.

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