Documentation
apply_reconciliation_plan
apply_reconciliation_plan MCP tool reference, parameters, return type, and safety hints.
What it does
Applies a prepared statement reconciliation plan, usually after reviewing the proposed matches and imports.
(file_path?: string | null, plan_id?: string | null, account_id?: string | null, counterpart_account_id?: string | null, expected_balance?: number | null, currency?: string | null, asset_id?: string | null, date_col?: string | null, amount_col?: string | null, desc_col?: string | null, inflow_col?: string | null, outflow_col?: string | null, skip_rows?: number, skip_footer_rows?: number, date_format?: string, amount_convention?: string, statement_type?: string | null, balance_sign?: string | null, date_tolerance_days?: number, min_likely_score?: number, row_indexes?: number[] | null, commit_imported?: boolean, annotate_posted_matches?: boolean, allow_review_skip?: boolean, require_balance_match?: boolean, sample_limit?: number, include_details?: boolean, verbosity?: string | null, dry_run?: boolean) => Record<string, unknown>Can write, but supports dry-run. Ask the agent to preview the result before committing changes.
When to use it
Use this section to decide whether the tool fits the user request before calling it.
Before calling
Agents should gather these facts or confirmations first.
No required inputs are needed, but date, status, asset, and account filters should still be explicit when the user cares about scope.
Confirm the file path, permissions, and whether the agent is allowed to read or write that location.
Start with dry_run=true, show the preview, then ask before applying the change.
State the intended ledger change in plain language before calling the tool.
Parameters
Required inputs are marked clearly. Optional inputs can usually be omitted unless the workflow needs them.
file_pathoptionalLocal file path made available to Clovis.
Default: nullplan_idoptionalPreviously generated plan id.
Default: nullaccount_idoptionalLedger account id or resolvable account reference.
Default: nullcounterpart_account_idoptionalOffsetting account used for imported rows or generated transactions.
Default: nullexpected_balanceoptionalStatement ending balance expected after reconciliation.
Default: nullcurrencyoptionalCurrency symbol when the file or workflow needs an explicit currency.
Default: nullasset_idoptionalAsset or currency id used by the ledger.
Default: nulldate_coloptionalStatement column containing transaction dates.
Default: nullamount_coloptionalStatement column containing signed amounts.
Default: nulldesc_coloptionalStatement column containing merchant or transaction descriptions.
Default: nullinflow_coloptionalStatement column containing incoming amounts.
Default: nulloutflow_coloptionalStatement column containing outgoing amounts.
Default: nullskip_rowsoptionalNumber of header rows to ignore at the start of a statement file.
Default: 0skip_footer_rowsoptionalNumber of footer rows to ignore at the end of a statement file.
Default: 0date_formatoptionalStatement date parser format, or auto for automatic parsing.
Default: "auto"amount_conventionoptionalHow statement amounts should be interpreted, such as signed or inflow/outflow.
Default: "signed"statement_typeoptionalOptional statement type hint, such as checking, credit card, or brokerage.
Default: nullbalance_signoptionalInput used by this tool.
Default: nulldate_tolerance_daysoptionalNumber of days a candidate match may differ by.
Default: 3min_likely_scoreoptionalMinimum confidence score for accepting likely reconciliation matches.
Default: 0.72row_indexesoptionalStatement row indexes to apply or inspect.
Default: nullcommit_importedoptionalBoolean switch for this workflow.
Default: falseannotate_posted_matchesoptionalAdds match annotations to already-posted transactions when applying the plan.
Default: trueallow_review_skipoptionalAllows the workflow to proceed even when review items remain.
Default: falserequire_balance_matchoptionalRequires the final balance to match the statement expectation.
Default: truesample_limitoptionalNumeric value used by this workflow.
Default: 20include_detailsoptionalBoolean switch for this workflow.
Default: falseverbosityoptionalInput used by this tool.
Default: nulldry_runoptionalPreview the result without committing changes.
Default: trueAgent call shape
Use the exact tool name and pass arguments as structured JSON through the MCP client.
apply_reconciliation_plan
Copy this shape into agent instructions, evals, or MCP client tests.
{
"tool": "apply_reconciliation_plan",
"arguments": {
"dry_run": true
}
}