Documentation

search_transactions

search_transactions MCP tool reference, parameters, return type, and safety hints.

npm

What it does

Searches transactions in the local Clovis ledger.

Signature(desc?: string | null, query?: string | null, amount_min?: number | null, amount_max?: number | null, account_id?: string | null, status?: string | null, date_from?: string | null, date_to?: string | null, posted_at_from?: string | null, posted_at_to?: string | null, limit?: number, offset?: number, include_account_effects?: boolean, sort?: string) => Record<string, unknown>
read-only

Read-only. This is appropriate for inspection, reporting, diagnostics, and first-pass agent answers.

When to use it

Use this section to decide whether the tool fits the user request before calling it.

Use it when an agent needs to inspect the ledger or answer a question without changing records.
Use it when working with accounts, transactions, balances, registers, or double-entry records.

Before calling

Agents should gather these facts or confirmations first.

1

No required inputs are needed, but date, status, asset, and account filters should still be explicit when the user cares about scope.

Parameters

Required inputs are marked clearly. Optional inputs can usually be omitted unless the workflow needs them.

descoptional
string | null

Input used by this tool.

Default: null
queryoptional
string | null

Case-insensitive description text to search for.

Default: null
amount_minoptional
integer | null

Money or quantity value in the relevant asset.

Default: null
amount_maxoptional
integer | null

Money or quantity value in the relevant asset.

Default: null
account_idoptional
string | null

Ledger account id or resolvable account reference.

Default: null
statusoptional
string | null

Transaction status filter or value: posted, pending, planned, or void.

Default: null
date_fromoptional
string | null

Start date filter in YYYY-MM-DD format.

Default: null
date_tooptional
string | null

End date filter in YYYY-MM-DD format.

Default: null
posted_at_fromoptional
string | null

Input used by this tool.

Default: null
posted_at_tooptional
string | null

Input used by this tool.

Default: null
limitoptional
integer

Maximum number of rows to return.

Default: 50
offsetoptional
integer

Number of rows to skip before returning results.

Default: 0
include_account_effectsoptional
boolean

Account selected from the local chart of accounts.

Default: false
sortoptional
string

Sort order for returned rows.

Default: "date_desc"

Agent call shape

Use the exact tool name and pass arguments as structured JSON through the MCP client.

search_transactions

Copy this shape into agent instructions, evals, or MCP client tests.

{
  "tool": "search_transactions",
  "arguments": {}
}

Metadata