Skip to main content
Glama
Beankeeper

Beankeeper

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BEANKEEPER_DBNoPath to the existing encrypted ledger (books) file to serve. Without --db or BEANKEEPER_DB, the CLI selects the configured managed books when available.
BK_AGENT_TOKENNoAgent token fallback (equivalent to --agent-token) used when an MCP request has no Authorization header. Every MCP request needs a valid token; keep this fallback private to your process.
BEANKEEPER_COMPANYNoDefault company slug (equivalent to --company) supplied when no company filter is given.
BEANKEEPER_PASSPHRASE_CMDNoCommand used to resolve the ledger passphrase once without prompting, as an alternative to --passphrase-file or --passphrase-fd. Setup-enrolled ledgers use their stored credential.
BEANKEEPER_NO_UPDATE_CHECKNoSet to 1 to disable update checks before any network access.0
BEANKEEPER_LICENSE_KEYS_FILENoRuntime override for the built-in license public keys file.
BEANKEEPER_LICENSE_SERVICE_URLNoRuntime override for the built-in license service URL. HTTP is allowed only for a loopback license service.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use the installed Beankeeper extension in this chat. Call setup_status when the owner asks to set up real books. Use demo_start for demo books when listed. If it returns not_started, call setup with no arguments. Poll setup_status while it reports running. If it reports failed, call doctor and explain the problem in plain words. When it reports ready, continue in the same chat using the tools already listed. If a tool returns NOT_SET_UP, finish setup and retry it. No restart is needed. Call setup_status again for real books. Keep setup in chat using the available tools. Never ask for a terminal, token or passphrase. When the owner asks to set up their books or an expected tool is missing, call setup_status on the ledger connection if listed. For setup, explain the next step and ask for any missing facts. When demo_start is listed, tell the owner that the demo uses made-up figures and stays separate from their real books. Ask about work, books, account types and currencies, then call demo_start with a fictional profile. Skip anything they already answered or prefer to leave out. For service readiness, use service_status on the lifecycle connection if available. Explain the verified agent_access. For missing tools, use the connection's setup, access, and update status to explain what is available. Only suggest Desktop actions that its current tools or guides document. Use counterparty_create and counterparty_associate to manage customer and vendor links. Use project_create and project_split to attribute the posted income and expense entries before reporting project profit. If preset is read-only, follow this guidance: This agent can read the books. Restarting cannot grant posting access. For managed access, the owner can say “let my agent post” in chat. If they ask, use access_set on the local lifecycle or managed ledger connection. Respect the owner's choice to stay read-only. Call access_set only when the owner asks to change access to those managed books and the tool is listed. For direct posting, use preset bookkeeper and write_mode direct. Use preset read-only to turn posting off. If agent_access.migrated is true, tell the owner they can now ask you to record transactions and can say “make me read-only” to undo the access change. With preset bookkeeper and write_mode direct, use txn_post when asked to record a transaction. Follow the owner's inform preference after recording changes. By default, report them in the same conversation after the work is complete. Also report when asked what changed. When listed, use changes_since on the ledger connection to explain the changes in plain words, offer undo for eligible receipts, and offer receipt links for viewing. After delivering each page, pass its company and through to changes_mark_seen if listed. If changes_since is unavailable after a post, tell the owner what was recorded and give the book and transaction ID. With preset bookkeeper, use txn_recategorize when listed to fix a posted category. Correct your own work in chat with audit_undo by receipt ID or txn_reverse by transaction ID when the tool is listed. Never make offsetting entries by hand. Offer Desktop links only for viewing and handle undo, tagging, renaming, and data entry in chat. If a typed rule blocks a correction, explain it in plain words and take the next authorized step named by the error. If neither tool is available, explain that in chat and check for the CLI equivalent or a newer signed release. If an earlier hand-made offset and its original should both be undone, explain the pair and undo each by receipt only when the owner asks you to undo both in chat. With write_mode propose-only, report the proposal ID as pending. This agent submits transactions for sign-off. Undo and reversal also return pending proposals for an authorized approver. If preset is null, the grant is custom. Use the listed tools within its signed write mode. If agent_access itself is null, use the status and its error code to explain why access is unverified. Never ask for, read, or share owner and approval credentials, recovery material, or passphrases. Speak plainly and calmly. Format exact amounts using the currency's minor units and give the receipt number after a saved change. End with You could ask: and a few next questions. Skip emoji and exclamation marks. Include chartable data when available. Offer ui_get_link for optional Desktop detail. Read update_status when listed to learn about cached updates without network access. Mention an available release once per conversation in plain words, offer help, and continue the owner's work. Never block bookkeeping on an update. Use update_check only when the owner asks for a fresh check. When recording a payment, ask which invoice or bill it covers and record that link as you post: use document_allocate for a typed invoice or bill, or for a journal charge set applies_to in the payment's meta to the charge's reference.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{}
extensions
{
  "io.modelcontextprotocol/skills": {}
}

Tools

Functions exposed to the LLM to take actions

NameDescription
access_setA

Change managed agent access at the owner's request. Use read-only to turn off posting, or bookkeeper with direct or propose-only writes. Tell the owner the resulting access in plain words. On the ledger connection, correct your own work in chat with audit_undo by receipt ID or txn_reverse by transaction ID when listed. In propose-only mode both return pending proposals for sign-off. Never make offsetting entries by hand or send the owner to a screen to undo, tag, rename, or enter data. Desktop links are for viewing only.

account_classifyA

Classify an existing account as non_cash, cash, or cash_equivalent independently of its name. Cash membership requires an asset. Direct changes return an audit receipt with one-step undo. Proposal-only access queues the change for approval.

account_listA

List accounts, optionally filtered by account_type or name. Set with_balances=true for posted debits, posted credits, and posted and available balances. Available includes pending card holds. Use from/to to restrict activity and supply currency when the company uses multiple currencies.

account_renameA

Rename the display label of an existing account, for example account 1000 to Operating Cash. Direct grants return an undo receipt for a changed name. Propose-only grants return a pending proposal ID for an approver.

account_showC

Show one account in a company.

agents_extensionA

When the owner asks to install or upgrade the Beankeeper extension for Claude Desktop, verify the newest signed release and open the local installer. The owner finishes in Claude Desktop. Set path_only to true to prepare the verified local file without opening it or editing Claude's settings.

audit_logA

List audit changes in bounded pages, optionally filtered by actor, verified agent URI, company, entity, or action. A client_hint is unverified runtime context. Continue with _meta.pagination.next_offset and the same filters.

audit_receiptsB

Read a company's changes in audit order. Use the continuation with the same company and ledger until it is null, then save through as the next cursor. Each change includes its numeric receipt ID.

audit_undoA

Undo an eligible receipt with your signed credential. Direct grants apply the correction immediately and return its receipt. Propose-only grants return a pending proposal for an approver. Structural changes require the owner. Retrying a receipt returns the recorded undo if it already exists.

backup_listA

List the local backups for these books, newest first, with dates, sizes and retention.

bank_feed_connectionsB

List a company's bank-feed mappings and connection status, without credentials or cursors. Pass after to continue.

bank_feed_linkB

Link a reviewed revision to an existing matching bank posting without posting again. Direct mode only.

bank_feed_listB

Read one page of transactions staged for review.

bank_feed_postA

Post or propose a reviewed revision using an offset account or categorization rule. Review suggested existing matches first. Posting to the rule's suggested account also runs the rule's counterparty and project actions and reports them, with any skipped_actions.

bank_feed_reviewA

Review one staged transaction and possible existing ledger matches. suggested_account and suggested_rule name the categorization rule that would post it; inactive_rules lists rules that would have matched but have an archived target.

bank_feed_showC

Read connection status. Provider credentials and cursor are omitted.

bank_feed_syncA

Fetch read-only transactions for an authorized feed and stage them for review without posting. The host supplies provider credentials.

bookkeeping_policy_setA

Set or amend one standing sales-tax or processor-fee instruction. Use unset to clear it. Returns both current instructions.

bookkeeping_policy_showB

Read the company's standing sales-tax and processor-fee instructions.

budget_listC

List budget entries for a company and year.

changes_mark_seenA

After delivering a changes_since page to the owner, advance the local last-seen marker using its company and through. This does not change the ledger.

changes_sinceA

Read one page of grouped receipts since the owner was last informed. Tell the owner what changed in plain words and offer the undo links. After delivering the summary, call changes_mark_seen if available with the returned company and through. If has_more is true, repeat to deliver the next page.

collection_applyB

Authenticate and apply a signed Stripe delivery from the trusted host spool.

collection_create_linkB

Create or recover a hosted link using an issued invoice and frozen request key.

collection_disputesB

Read Stripe dispute movements and matching receipts pending accounting review.

collection_exceptionsB

Read recent Stripe collection exceptions requiring review.

collection_payoutsC

Read Stripe payout deposits and their reconciliation state.

collection_reconcile_payoutC

Match recorded Stripe payout evidence to an exact group of gross payments and fees.

collection_reconcile_refundB

Post a recorded Stripe refund and reopen the original invoice by the exact refunded amount.

collection_refundsB

Read Stripe refunds and their journal status.

collection_report_evidenceA

Record Stripe payment, payout, refund or dispute evidence read by the agent. Agent evidence stays separate from signed provider deliveries.

collection_resolve_receiptC

Post a freshly authenticated Checkout receipt reviewed only for its closed original period. Supply booked_on on or after the event date.

collection_showC

Read a collection's current state and delivery exceptions.

company_listA

List companies in the ledger.

company_showB

Show one company by slug.

contractor_tax_previewC

Preview 2025 legacy payment annotations requiring review. This tool cannot infer eligibility or party identity from annotations.

contractor_tax_worksheetB

Read the redacted 2025 Form 1099-NEC worksheet with dated included, excluded and unresolved payment evidence and totals by structured party.

counterparty_amendA

Amend an active party. Omit fields to keep them. For email, address and terms use clear or a set object.

counterparty_archiveB

Archive a party and retain its linked history.

counterparty_associateA

Associate a posted transaction with one active party in its company, with an audit record. Proposal-only access queues the change for approval.

counterparty_createA

Create a company customer, vendor or both. Names may be shared by multiple parties. Proposal-only access queues the change for approval.

counterparty_listB

Search and page through customer and vendor records.

counterparty_showC

Show one party, including an archived record.

counterparty_suggestB

Preview legacy customer/vendor metadata associations. Returns possible IDs without modifying any postings.

demo_removeA

Discard the demo books, including any demo entries. A managed connection returns to the owner's books after this succeeds.

demo_startA

Try Beankeeper with encrypted demo books. Demo books are free and do not start the trial. The 30-day trial starts only when the owner sets up their real books. Omit profile for a quick demo or to resume an active demo. To tailor a new demo, ask about work, book and account types, investments, country and currencies in chat, and pass only those categories. Tell the owner every figure is fictional. HTTP clients select the returned target on each ledger request.

disbursement_listB

List recent vendor payment instructions.

disbursement_showB

Show a vendor payment instruction and its retained evidence.

doctorA

Check the local Beankeeper extension and its authenticated connection. Use this if setup fails or Claude cannot reach the books. Takes no arguments.

document_agingA

Read due-date aging for typed invoices and bills only, per document and party. Supply optional as_of and kind. For journal charges on an account by posting date, use report kind aging.

document_allocateB

Apply an existing payment to one or more documents in an atomic batch. Use this to record that a payment paid typed invoices or bills; account aging and document_aging both honour it. Journal-only charges take an applies_to link on the payment when it is posted, or a transaction link of kind payment afterwards.

document_allocationsC

Read dated allocation history including revocations.

document_amendB

Replace draft terms at the expected revision.

document_creditB

Post and allocate a credit to an issued invoice or bill line.

document_draftA

Save an invoice or bill draft for this company. Supply a complete terms object with a counterparty, control account and priced lines.

document_issueC

Issue the invoice or bill on the supplied date, or freeze the request for a separate reviewer.

document_listB

List issued documents as of the supplied date.

document_printB

Read a printable issued invoice or bill with original party details and terms.

document_proposalsA

List the caller's frozen document proposals or all proposals for reviewers.

document_revokeB

Remove a payment allocation as of the supplied date and retain its history.

document_showB

Read one draft or issued invoice or bill.

expense_claim_amendB

Revise a draft or rejected expense claim.

expense_claim_createC

Create a receipt-backed expense claim draft from confirmed facts.

expense_claim_listA

List up to 100 recently created expense claims in a book.

expense_claim_receipt_intakeB

Stage bounded PNG, JPEG or PDF evidence and optional unconfirmed OCR findings.

expense_claim_receipt_showC

Read receipt evidence identity and OCR suggestions.

expense_claim_showB

Read the latest revision of an expense claim.

expense_claim_submitC

Freeze an expense claim for an independent review.

expense_claim_voidA

Cancel an approved, unpaid reimbursement claim with an audited compensating journal.

financial_summaryB

Read the financial summary with period comparisons, spending movers, attention counts and totals including stale card holds, brief highlights and optional Desktop targets. Returns the same full JSON envelope as bk summary with amounts in one currency.

fixed_asset_depreciateB

Post due asset depreciation through the requested date.

fixed_asset_disposeC

Remove asset cost and accumulated depreciation and book disposal gain or loss.

fixed_asset_listC

Read the as-of register and control account differences.

fixed_asset_previewB

Preview unposted full-month book depreciation through the requested date.

fixed_asset_registerC

Register or post a company's fixed asset acquisition.

fixed_asset_showA

Read an asset's carrying value and posted movements as of a date.

fx_postA

Record a native currency movement and its functional value in a balanced posting. Provide positive native minor units, the target line direction, decimal rate, and a unique reference. Returns a receipt for audit_undo.

fx_revalueA

Revalue one or all active foreign-currency monetary accounts as of a date. Supply a gain/loss account and a decimal rate, or use the last recorded rate for each pair. Returns a receipt for each posting; native balances do not change.

group_balance_sheetA

Combine posted balance sheets through an inclusive date for at least two explicitly selected companies in this ledger and one currency. Returns company account detail, totals before eliminations and intercompany link evidence.

group_income_statementA

Combine posted income statements for at least two explicitly selected companies in this ledger and one currency. Dates are inclusive. Returns company account detail, totals before eliminations and intercompany link evidence.

inform_preference_setA

Set or amend how often the owner hears about completed changes. Returns the saved preference.

inform_preference_showC

Read how often the owner wants to hear about completed changes.

inventory_listB

List up to 100 stock items by SKU.

inventory_match_documentB

Match the stock movement to a specific issued invoice or bill line.

inventory_moveC

Record an exact receipt, issue, supplier return, customer return or count adjustment.

inventory_movementB

Show one physical movement and its journal.

inventory_movementsC

List an item's dated physical movements.

inventory_registerC

Register a stock item and its control accounts.

inventory_showC

Read one registered stock item.

inventory_valuationC

Reconcile FIFO inventory value to the stock accounts as of a cutoff.

investment_buyB

Acquire an exact share quantity and post total acquisition cost against cash. A duplicate reference fails atomically.

investment_holdingsA

Value holdings at the latest price on or before as_of without posting unrealized gains. Monetary results use minor units.

investment_lotsB

List acquisition lots with remaining share quantities and cost basis.

investment_sellB

Sell shares with FIFO by default, LIFO, or one specific lot; post proceeds, basis relief and realized gain or loss atomically.

ledger_setup_account_addC

Add the owner's named account to a book.

ledger_setup_book_createC

Create a personal or business book using the normal connection or an active setup generation.

ledger_setup_book_initializeC

Record the first profile for an existing book using the normal connection or an active setup generation.

ledger_setup_book_showB

Read one book's current profile, fiscal-year start, currency, and accounts.

ledger_setup_chart_applyC

Apply a versioned chart template to a book and return the created accounts.

ledger_setup_opening_postA

Submit a balanced opening journal. Direct grants post and return a setup receipt. Propose-only grants return a pending proposal ID for an approver. Reuse the reference for exact retries.

ledger_setup_statement_importA

Submit bounded CSV or OFX statement contents. Direct grants post and return a receipt to undo newly imported postings. Propose-only grants return one pending proposal per new row for an approver. Unique pending holds are settled or proposed using the posted bank reference. Ambiguous matches return a validation error. Both modes report identical preexisting postings. Reuse the reference for exact retries.

ledger_setup_statement_receiptC

Read the imported and preexisting transaction IDs for a committed statement batch.

ledger_setup_statusA

Read setup counts and owner-key readiness for the selected ledger.

license_activateA

Activate the license the owner provided for these books. Use exactly one signed license, local license file, or claim code. Activate directly and tell the owner what happened. Keep license text, codes and private recovery information out of replies.

license_removeA

Remove a license from this computer without a refund or server-side return. Act directly, then tell the owner that books without another active license become read-only. Books and recovery material are never changed. Undo by activating the same license again.

license_returnA

Returns within 60 days of purchase are refunded automatically. If the 60-day window has closed, the return is not accepted, your license stays active and nothing changes. Confirming requests the return and refund. Paid features stop on this computer on success. Your books stay yours and readable. Your books are never touched.

license_start_trialA

Start the email-free 30-day trial directly. Tell the owner what happened; never show tokens. Mention days remaining on the first status check in a session, when asked, and at seven or fewer days, without repeating a countdown in every reply.

license_statusA

Check the Desktop license and whether the selected books are writable. Tell the owner in plain words. Offer to activate a license they already have and continue any work Desktop permits.

payroll_importB

Import or propose reviewed aggregate payroll using the exact preview digest. Exclude employee data.

payroll_previewB

Preview an aggregate payroll journal and its review digest. Exclude employee data.

payroll_showC

Read outstanding payroll liabilities and matched withdrawals.

period_listB

List a company's current posting cutoff and last close/reopen attribution.

project_archiveC

Archive a project, retaining its work and profitability history.

project_budgetB

Set the monthly project expense target in minor units.

project_cancel_invoiceB

Cancel an unissued project invoice draft.

project_createA

Create a customer project with a unique code and accounting currency. Proposal-only access queues the change for approval.

project_draft_invoiceA

Draft an invoice from exact source IDs. Sources are claimed when the invoice is issued.

project_listB

List company projects, with optional archived projects.

project_recordC

Record dated work with an optional exact hourly billing rate.

project_reportC

Report monthly project profit, budget variance and unallocated amounts in one currency.

project_showC

Read a project by ID.

project_splitA

Attribute a posted revenue or expense line to projects. Select the line by transaction_id or reference plus account, or by entry. Pass project for the full line amount, or splits with decimal major-unit amounts. If the account occurs more than once, AMBIGUOUS_ENTRY lists the entry IDs to choose from. Proposal-only access queues the change for approval.

project_timeB

List work and approvals for a project.

project_unbilledB

List unclaimed approved time and billable expenses for a project and date window.

reconcile_listB

List audited account statements, including undone receipts, and completed months with asset or liability activity that still need a statement. Filter by account or currency.

reconcile_statementA

Complete a calendar-month account statement using existing clearings. Provide period_end (the last day) and the statement_ending_balance in decimal major units. Optionally filter by statement_ref and either entry_ids or references. Returns exact balances and an audit_undo receipt. Approval mode queues the exact matched clearings and balances. close_period requires direct ledger/reconcile and ledger/admin.

reportA

Run a financial report for company. Set kind to the report to run (required); each kind below lists the fields it accepts. Use chart=true for supported charts and chart_all=true for all series. Optional fields unless marked required:

  • trend: metric (required), from, to, period, currency, compare, explain_change.

  • trial-balance: from, to or as_of, account_type, currency, period, compare, explain_change.

  • balance: account (required), from, to or as_of, currency, compare, explain_change.

  • income-statement: from, to, currency, period, compare, explain_change.

  • balance-sheet: to or as_of, currency, compare, explain_change.

  • schedule-c and tax-summary: from, to, currency.

  • 1099 (alias 1099-nec): from, to, currency, threshold.

  • ledger: account, from, to, currency, filter_metadata.

  • budget-variance: year (required), month or from/to (month numbers), account_type, currency, include_unbudgeted.

  • aging: account (at least one required), as_of, include_children, buckets, group_by_metadata, currency, method, link_key, detail, group_across_accounts, filter_metadata. Ages journal charges on accounts by posting date; for typed invoices and bills by due date, use document_aging. method specific (default) applies document allocations exactly, then each payment to the charge its link names (a payment link, else link_key metadata), then oldest-first; fifo applies all payments oldest-first. Account aging and document_aging agree per typed invoice when its payments are allocated. link_key (default applies_to) is the payment's metadata key pointing at its charge: the charge's reference or txn:.

  • reconciliation: account (required), to or as_of, mode, link_key, statement_balance, statement, filter_metadata, group_by_metadata, currency. Settlement mode matches payments to charges by link_key, as in aging.

  • cash-flow: from, to, cash_account, currency, compare, explain_change.

  • cash-forecast: as_of and through required; cadence, cash_account, currency, adjust, link_sources (scheduled:TEMPLATE:DATE=open-item:DOCUMENT). Use only one of as_of and to. For date-range reports without as_of, use from and to.

rule_amendA

Supersede an active categorization rule by ID with fully specified replacement terms. Returns a new rule ID and retains both versions in the audit trail.

rule_applyA

Apply one rule, or every active rule in priority order, to lines already posted on a category or suspense account within from and to. Rules are not applied to asset or liability accounts: those return RULE_STATEMENT_ACCOUNT; use txn_bulk_recategorize for lines sitting on one. A direction condition holds only for a line on the opposite side of the transaction's single bank-side line. Each line moves to the first firing rule's account through the audited recategorize path, then gets the rule's counterparty and project; lines already on the rule's account get only missing actions (actions_only). Lines a guard refuses, such as reconciled or closed-period lines, are left out and listed in blocked. Call with dry_run first and pass its selection_token, which covers each line's rule version, destination and actions. Applies atomically up to 500 selected lines. A move is dated on the line's date, or on the day the line's last move was undone when later (effect.move_date). receipt_id is the first move's receipt, which audit_undo reverses as a unit; with no move there is no batch receipt and no_batch_receipt is actions_only. Undo never removes counterparty links: it lists those made on moved lines in remaining_counterparty_links, not those on actions-only lines; change a link with counterparty_associate. A rule with actions needs counterparty and project access. Propose-only credentials return one pending proposal that freezes the planned moves.

rule_createA

Create a categorization rule that fires when all of its conditions hold: contains (case-insensitive description substring), direction (inflow or outflow), amount_eq, amount_gt or amount_lt in major units, and counterparty. Give at least one. A counterparty condition uses the transaction's link, or else the counterparty's name as whole words of the description, without case or accents; a name with no word of three or more letters or digits matches only by link and returns warnings. When it fires it routes the line to account, and can link set_counterparty and attribute set_project; writing either action needs counterparty_associate and project_split access. Higher priority wins. Omitted priority defaults to zero.

rule_deleteA

Remove an active rule from future matching and keep its full audit snapshot.

rule_listA

List active categorization rules by descending priority, then ascending rule ID. A rule that cannot fire because its account, counterparty or project is archived lists the archived targets in inactive.

rule_matchA

Check a candidate bank line without posting: description, plus optional direction (inflow or outflow), positive amount with currency, and linked counterparty. A condition on a fact you omit does not hold. Returns outcome=match with the winning rule or outcome=no_match.

security_createB

Create a company-scoped security with a fixed quotation currency.

security_listC

List company securities.

security_priceC

Record a dated price per whole share in major currency units.

service_openA

At the owner's request, open Beankeeper Desktop in their default browser. If prompted, select Pair this browser. Desktop restores the view the owner just tried to open.

setupA

When the owner asks to set up their books or create demo books, call setup to start local Beankeeper if setup_status reports not_started. It returns immediately. If it reports running, poll setup_status until ready or failed. Takes no arguments.

setup_statusA

Call this first when the owner asks to set up their books or when a posting tool is missing. Read the ledger counts and suggested setup step. Use the note in agent_access to explain the verified access.

tax_listB

List the historical VAT revisions and control accounts configured for a company.

tax_reportB

Read a GBP date window of VAT-coded document evidence and reconcile it to control accounts. Returns manual journal differences.

txn_bulk_associateA

Link every transaction matching the txn_list filters to one active customer or vendor, atomically and up to 500 transactions. Call with dry_run first and pass its selection_token to apply exactly those transactions. Transactions already linked to this counterparty are unchanged, and transactions linked to another are skipped unless replace_existing is true; association reports newly_linked, already_linked, replaced and skipped_linked_elsewhere. Needs a narrowing filter. The selection_token covers each transaction's current link. If single-line guards refuse transactions, nothing is written and details.blocked_lines names each one. Proposal-only access queues one change for the frozen transactions.

txn_bulk_attributeA

Attribute the full amount of every entry on account that matches the txn_list filters to one project, atomically and up to 500 entries. Call with dry_run first and pass its selection_token to apply exactly those entries. The live lines of standing recategorizations are included. Entries already attributed in full to the project are skipped, and entries attributed to another project are kept unless replace_existing is true (a replacement needs a later date); attribution reports newly_attributed, already_attributed, replaced and skipped_attributed_elsewhere. The selection_token covers each entry's current attribution. If single-line guards refuse entries, nothing is written and details.blocked_lines names each one. Proposal-only access queues one change for the frozen entries.

txn_bulk_recategorizeA

Move every line on account that matches the txn_list filters to to_account, posting one correction per line exactly as txn_recategorize does. Call with dry_run first for the matched count, debit, credit and net totals per currency, a sample and a selection_token, then pass that selection_token to apply exactly those lines; if the lines changed, SELECTION_CHANGED is returned and nothing is written. Lines of earlier corrections are left out and counted in excluded. Needs a narrowing filter. Applies atomically up to 500 lines and returns one receipt that audit_undo reverses as a unit. Retry with the same posting_reference and on_conflict skip. Propose-only credentials return one pending proposal that freezes the matched lines.

txn_clearA

Clear or reconcile entries by transaction and entry IDs, reference and account, or an atomic in-memory batch. Approval mode queues the exact changes. Amounts use major-unit strings. Use a minus sign for withdrawals (credit), an explicit plus for deposits (debit), or an unsigned amount for either side.

txn_importA

Import balanced JSON journals into one company in an atomic batch. Requires Direct posting authority. Supply 1 to 500 transactions, up to 5000 total entries and 1 MiB of JSON. Amounts are in major units. Use stable source references for retries; a reference must not start with the reserved txn: prefix (any case), which links use for transaction IDs. Use dry_run=true to validate and roll back. The default duplicate policy is skip. Set project on a revenue or expense entry to record its full amount as a project split in the same batch. Results list each new transaction's entry IDs. A skipped duplicate records no split; its project_attribution reports whether each requested line is already attributed and names the transaction and entry to pass to project_split. For bank-statement CSV, OFX or QFX, use ledger_setup_statement_import.

txn_linkA

Link two transactions in the same book. Send company, source_id, target_id, and kind (transfer, refund, payment, adjustment, recategorization, or related). For kind payment, source_id is the payment and target_id the charge it paid (CLI: txn link PAYMENT CHARGE --kind payment); a payment link the wrong way round is refused, one whose direction cannot be told is recorded with warnings, and aging counts it from the day it is recorded. Use it for journal-only charges; for typed invoices and bills use document_allocate instead. Returns a receipt for audit_undo.

txn_listA

List or count transactions using filters and pagination. By default, lists hide both sides of reversed pairs and links to them. Pass include_reversed: true to include them. Entry filters (account, tax_category, direction, amounts) skip lines a recategorization moved away and list the correction, which names the original in recategorizes; pass include_recategorized: true to match every stored line.

txn_meta_setA

Add or replace transaction annotations. Send values as an object of strings, e.g. {"status":"pending"}. Provide company and exactly one of id or reference. Reserved keys: correlate, reverses, reversed_by, proposal_id, applies_to, beankeeper_source. applies_to is set only when posting a payment and points at the charge it paid (its reference or txn:); a tag shared by payment and invoice links nothing. To link a posted payment, use document_allocate for typed invoices and bills, otherwise txn_link with kind payment. A change returns an undo receipt.

txn_meta_unsetA

Remove transaction annotation keys, e.g. keys: ["status"]. Provide company and exactly one of id or reference. Reserved keys: correlate, reverses, reversed_by, proposal_id, applies_to, beankeeper_source. applies_to is a payment's link to the charge it paid, set when posting, and cannot be removed here. A change returns an undo receipt.

txn_postA

Record balanced debits and credits in decimal major units. Use status=pending for a card hold with one debit and one credit. Direct grants post immediately and return a transaction ID. A propose-only grant reserves the same input and returns a pending proposal ID for approval. Pass a stable reference and on_conflict=skip to skip an already posted reference. A reference must not start with the reserved txn: prefix (any case), which links use for transaction IDs. Posted results list entry IDs. Look up a pending reference in the proposal list.

txn_proposalsA

List visible pending posting, rename, and correction proposals. Under enforcement, proposers see their own; approvers and administrators see all. include_rejected also includes approved, rejected and withdrawn proposals.

txn_proposeB

Explicitly reserve a balanced posting for sign-off. Ordinary posting follows the agent's write mode. This tool uses the same arguments and reserves the reference until resolution; a reference must not start with the reserved txn: prefix. Requires a verified proposer identity and ledger/propose when enforcement is enabled.

txn_recategorizeA

Move one posted line to another account, or pass split lines instead of to_account to divide it across accounts in one correction. Split amounts are on the source line's side, negative for the opposite side, and must total the source line. With no source selector, infer only a single non-asset, non-liability line outside the destination. Direct credentials post immediately and return an audit receipt for audit_undo. Propose-only credentials use their existing proposal flow.

txn_reconcileB

Find orphaned intercompany correlations across the ledger without changing it.

txn_rejectA

Reject a pending proposal with an optional reason. ledger/propose can withdraw the caller's own proposal; ledger/approve can reject any proposal. Resolved proposals cannot be resolved again.

txn_reverseA

Reverse a posted transaction with a linked mirror posting. Direct grants apply the reversal immediately. Propose-only grants return a pending proposal for an approver. Use the same explicit reference to retry a reversal. Existing clearings stay on the original, and fully or partially reconciled transactions are ineligible.

txn_settle_holdA

Settle a pending card hold with the actual posted amount, date, and stable bank reference. Select the hold by ID or original reference. Reuse the same details and posted reference for a retry. Direct grants settle immediately; propose-only grants return a proposal. A direct settlement returns the transaction and receipt IDs for an audited correction.

txn_showB

Show transaction entries, attachments, clearing details, active same-book links, and lines moved by active recategorizations.

ui_get_linkA

Return an optional Desktop detail URL for the books on this ledger connection. For other books, use their own ledger connection or answer in words without a link. Offer the link after answering in words, when a view helps. Accepts view_id and optional state, including financial_summary's desktop_view.link. The link contains no pairing credential. If the owner wants help opening it, use service_open on the local service connection when available, or suggest bk open.

update_checkA

Check signed Desktop releases and report the same Claude extension status as doctor. Takes no arguments.

update_statusA

Read cached Desktop update status without network access. Mention an available update once in plain words, offer help, and continue the owner's work without blocking it. Use update_check only when a fresh check is requested.

verifyA

Verify every company in the ledger and return balance, audit-chain, and check evidence.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
beankeeper-desktopAsk your AI to check your accounts, record what's new, and answer questions about your money.

TDQS

C2.9/5.0

Scored across 163 tools

Disambiguation3/5

The set covers many distinct resources and actions, but several clusters overlap: txn_clear/reconcile_statement/txn_reconcile, bank_feed_post/bank_feed_link/txn_post, txn_link/document_allocate/txn_meta_set applies_to, and report aging vs document_aging. Detailed descriptions explicitly steer between alternatives, so most tools are distinguishable, but the volume and shared reconcile/allocate/undo concepts create real misselection risk.

Naming Consistency4/5

Almost all names are snake_case with resource prefixes such as txn_, document_, project_, collection_, and ledger_setup_, and most pair resource plus action predictably. There are minor deviations with bare nouns or verbs like report, verify, setup, doctor, financial_summary, changes_since, and ui_get_link, but the overall convention remains readable.

Tool Count1/5

163 tools far exceeds the 3-15 well-scoped range; even for a full accounting platform it is an extreme surface, with many granular list/show/action tools. Each domain may justify some tools, but the aggregate is too heavy for reliable agent selection and maintenance.

Completeness4/5

The surface spans setup, accounts, transactions, documents, bank feeds, reconciliation, rules, projects, expenses, inventory, fixed assets, investments, payroll, tax, collections, reporting, audit, licensing, and group consolidation. Core lifecycle operations are broadly present, though a few dead ends remain, such as budget_list without a budget mutation tool and backup_list without backup restore.

Maintenance

ActivityMaintained
ResponsivenessUsually handled