Documentation

cash_projection

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

npm

What it does

Projects cash projection in the local Clovis ledger.

Signature(year?: number | null, month?: number | null, asset_account_ids?: string[] | null, liability_account_ids?: string[] | null, entity_id?: string | null, earmarks?: Array<Record<string, unknown>> | null, include_pending?: boolean, include_planned?: boolean, planned_match_tolerance_days?: number, quote_asset_id: 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 for budgets, goals, forecasts, month-end projections, runway, or cash planning.

Before calling

Agents should gather these facts or confirmations first.

1

Have exact values for required inputs: quote_asset_id.

2

Choose the report currency or asset explicitly; Clovis does not infer report currency.

Parameters

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

yearoptional
integer | null

Four-digit year.

Default: null
monthoptional
integer | null

Month number from 1 to 12.

Default: null
asset_account_idsoptional
string[] | null

Asset account ids to include in a projection.

Default: null
liability_account_idsoptional
string[] | null

List of identifiers from the local Clovis ledger.

Default: null
entity_idoptional
string | null

Entity id to filter reports when entity tracking is used.

Default: null
earmarksoptional
object[] | null

Input used by this tool.

Default: null
include_pendingoptional
boolean

Includes pending transactions in the calculation.

Default: false
include_plannedoptional
boolean

Includes planned transactions in the calculation.

Default: false
planned_match_tolerance_daysoptional
integer

Numeric value used by this workflow.

Default: 3
quote_asset_idrequired
string

Asset or currency used to quote report values. Clovis does not infer this.

Agent call shape

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

cash_projection

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

{
  "tool": "cash_projection",
  "arguments": {
    "quote_asset_id": "USD"
  }
}

Metadata