Double-entry accounting ledger CLI + MCP server for autonomous agents — multi-currency netting, settlement fees, partial settlement, reconciliation, financial reports, financial forecasting
Agent-ledger provides 18 well-structured accounting tools with complete JSON schemas and clear descriptions. All tools have explicit inputSchema definitions with typed properties and required fields. Descriptions are domain-specific and actionable (avg ~120 chars). However, output schemas are not documented, LLMs cannot predict response structure for downstream chaining. Parameter descriptions are present but lack constraint details (ranges, formats, validation rules). Error handling is minimal, no recovery guidance or actionable error messages visible in tool definitions. Tool composition is sound (single responsibility, clear naming), but missing idempotency hints and confirmation patterns for destructive operations (delete_entry, close_period).
Add an exchange rate between currencies
Generate a balance sheet
Generate a cash flow statement (indirect method) showing operating, investing, and financing activities
Close the current accounting period — zeros out revenue and expense accounts into retained earnings
Create a new account in the chart of accounts
Delete a journal entry (cannot delete reconciled entries)
Output schemas not documented. LLMs cannot predict response structure for tools like balance_sheet, income_statement, or post_entry. This breaks tool chaining, agents cannot extract IDs or fields for downstream calls.
Destructive operations (delete_entry, close_period) lack confirmation or dry-run patterns. Agents can permanently delete reconciled entries or close accounting periods without safeguards. No recovery guidance in error messages.
Parameter descriptions lack constraint details. 'limit' in list_entries has no min/max (baseline: 1 - 100). 'rate' in add_exchange_rate has no range (should be > 0). 'from_date' and 'to_date' in cash_flow_statement lack ISO 8601 format hints. LLMs cannot validate inputs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Get account details and balance
Get all transactions for an account with running balance
Get details of a specific journal entry
Generate an income statement (profit & loss)
Initialize a new ledger
List all accounts with their balances
List journal entries with optional filters
List all exchange rates
Post a journal entry (double-entry: debits must equal credits). Lines format: list of {account_code, debit, credit} objects.
Mark a journal entry as reconciled
Reverse a journal entry by creating a counterbalancing entry
Generate a trial balance report
Report tools (balance_sheet, income_statement, trial_balance) have empty inputSchema properties. No pagination, filtering, or date range support documented. Agents cannot control report scope or handle large datasets.
No error handling guidance visible in tool definitions. Descriptions do not explain what errors can occur, when to retry, or how to recover. E.g., post_entry can fail if debits ≠ credits, but no guidance on how to fix.