Skip to main content
Glama

LLPRO Legal Deadlines

Trust Account Three-Way Reconciliation

trust_three_way_reconciliation
Read-onlyIdempotent

Reconcile a lawyer's client trust (IOLTA) account three ways as of a date: the adjusted bank balance, the trust account's general ledger (journal) balance, and the total of the client ledgers. Send the bank statement balance, the deposits in transit, outstanding checks and any other bank credits or deductions not yet on the statement, the general ledger balance, and each client ledger's balance by code. Get back the three balances, whether they are identical, each difference, every client ledger below zero (one client's money covering another's), outstanding items older than the age you set, and hints for finding a difference (a single item, an item entered with the wrong sign, a transposed figure). Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/trust-three-way-reconciliation). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.

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": {
      "as_of": "<as_of>",
      "bank_statement_balance": "<bank_statement_balance>",
      "general_ledger_balance": "<general_ledger_balance>",
      "client_ledgers": "<client_ledgers>"
    },
    "name": "trust_three_way_reconciliation"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofYesReporting date (the bank statement's ending date), YYYY-MM-DD.
labelNoOptional label, e.g. 'IOLTA October' (your own text, echoed; no account number).
stale_daysNoOptional: list dated outstanding items (checks and deposits) older than this many days at as_of.
other_creditsNoOther credits to add to the statement balance (up to 200), as your reconciliation lists them.
client_ledgersYesEvery client ledger with a balance (up to 200), plus the administrative ledger if you keep one.
other_deductionsNoOther deductions to subtract from the statement balance (up to 200), as your reconciliation lists them.
outstanding_checksNoChecks and transfers recorded in the ledger but not yet cleared (up to 200; an empty list if none).
deposits_in_transitNoDeposits recorded in the ledger but not yet on the statement (up to 200; an empty list if none).
bank_statement_balanceYesEnding balance on the bank statement.
general_ledger_balanceYesTrust account balance in the general ledger (trust journal or checkbook) as of the date.

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?

Beyond the readOnly/idempotent/closed-world annotations, it discloses that the call is free, uses no model or network, stores nothing sent, is cryptographically signed with a verifiable key, rejects emails/URLs/long digit runs in labels, and returns ok=false with a reason on bad input, oversize payloads or an hourly limit. Those are exactly the operational traits annotations cannot express.

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?

It is front-loaded with the purpose, then inputs, then outputs, then operational guarantees, so an agent can stop reading early. It is dense and the flat enumeration of answer fields ('ok, verdict, result, rule, does_not, sources, observation, signature, verify') reads as a dump rather than explanation, which keeps it short of a 5.

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 carries the return-value burden itself and does: the three balances, equality verdict, per-difference breakdown, overdrawn client ledgers, stale outstanding items, and diagnostic hints for common causes of a mismatch. Combined with error behavior and the signing/verification path, little an agent needs is missing.

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, but the description adds interpretive meaning: stale_days is described through its effect ('outstanding items older than the age you set'), and client_ledgers is framed by the compliance risk it surfaces (one client's money covering another's). That is value beyond the field-level descriptions, though it does not walk through each of the 10 parameters.

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 first sentence states a specific verb and resource ('Reconcile a lawyer's client trust (IOLTA) account three ways as of a date') and then names the three components being reconciled, which is enough to separate it from generic matching or single-log tools. An agent can tell exactly what this computes without opening the schema.

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?

The description gives clear context: supply the statement balance, in-transit deposits, outstanding checks, other credits/deductions, the GL balance and every client ledger for a given date. It does not name a when-not condition or point to a sibling tool (e.g. the generic three_way_match or trust_log_proof) for a different task, so it stops short of full 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