Documentation

get_price

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

npm

What it does

Shows price in the local Clovis ledger.

Signature(asset_id: string, quote_id: string, as_of: string) => Record<string, unknown> | null
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 assets, prices, holdings, securities, investment activity, or foreign-exchange movement.

Before calling

Agents should gather these facts or confirmations first.

1

Have exact values for required inputs: asset_id, quote_id, as_of.

Parameters

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

asset_idrequired
string

Asset or currency id used by the ledger.

quote_idrequired
string

Identifier from the local Clovis ledger.

as_ofrequired
string

Date to calculate balances through, usually YYYY-MM-DD.

Agent call shape

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

get_price

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

{
  "tool": "get_price",
  "arguments": {
    "asset_id": "USD",
    "quote_id": "USD",
    "as_of": "2026-06-01"
  }
}

Metadata