# Tokenbooks - crypto and fiat accounting and payments (remote · api.tokenbooks.io)

Crypto and fiat on one double-entry ledger: sync wallets, reconcile, cost basis, audit-ready close.

- Trust score: 67/100 (medium)
- Change this week: +2
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-29

## Components

- remote · `api.tokenbooks.io`: 67/100 (this document), [markdown](https://verifymcp.io/servers/io-tokenbooks-tokenbooks/api.md), [page](https://verifymcp.io/servers/io-tokenbooks-tokenbooks/api)

## Channel facts

- Endpoint: `https://api.tokenbooks.io/mcp`
- Transports: `streamable-http`
- Auth: `none`
- Version: `0.1.1`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-29.

- **Endpoint Security**: 57/100
  - The endpoint's TLS certificate is valid, in date, and uses a strong key.
  - Authorisation check failed: no authorisation is required to call this server, and it exposes a tool marked destructive (edit_accounting_rules).
  - HTTPS is enforced; there's no plaintext access path.
  - HSTS check failed: the Strict-Transport-Security header is absent.
  - DNSSEC check failed: this domain isn't protected by DNSSEC.
- **Transport & Reachability**: 100/100
  - Verified streamable-http transport via a live MCP handshake.
- **Schema Quality & AI Usability**: 79/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 7126 tokens (~197/item across 36 items; 36 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 17/100
  - Stability check failed: schema churn in the 15 days we've observed: 16 tool removals, 0 breaking changes, 0 auth/transport breaks, 3 additions.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - All 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.
  - An AI judge read all 37 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Tokenbooks - crypto and fiat accounting and payments MCP server?

Tokenbooks - crypto and fiat accounting and payments is a hosted endpoint at https://api.tokenbooks.io/mcp, so there is nothing to install locally. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add --transport http io-tokenbooks-tokenbooks 'https://api.tokenbooks.io/mcp'
```

### Cursor

```json
{
  "mcpServers": {
    "io-tokenbooks-tokenbooks": {
      "url": "https://api.tokenbooks.io/mcp"
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "io-tokenbooks-tokenbooks": {
      "type": "http",
      "url": "https://api.tokenbooks.io/mcp"
    }
  }
}
```

### Codex

```toml
[mcp_servers.io-tokenbooks-tokenbooks]
url = "https://api.tokenbooks.io/mcp"
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "io-tokenbooks-tokenbooks": {
      "type": "remote",
      "url": "https://api.tokenbooks.io/mcp",
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add io-tokenbooks-tokenbooks --url 'https://api.tokenbooks.io/mcp' --transport streamable-http
```

### Hermes

```yaml
mcp_servers:
  io-tokenbooks-tokenbooks:
    url: "https://api.tokenbooks.io/mcp"
```

### Netclaw

```json
{
  "McpServers": {
    "io-tokenbooks-tokenbooks": {
      "Transport": "http",
      "Url": "https://api.tokenbooks.io/mcp"
    }
  }
}
```

### Vellum

```bash
assistant mcp add io-tokenbooks-tokenbooks -t streamable-http -u 'https://api.tokenbooks.io/mcp'
```

### Other

```json
{
  "mcpServers": {
    "io-tokenbooks-tokenbooks": {
      "type": "http",
      "url": "https://api.tokenbooks.io/mcp"
    }
  }
}
```

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-29 (score 67, 0)

- [cosmetic] “get_asset_position” added an optional parameter “includeSpam”

### 2026-09-28 (score 67, 0)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-09-27 (score 67, +1)

No change was recorded against any check on this day. Stability & Change Management went from 7 to 11.

### 2026-09-25 (score 66, +1)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-09-22 (score 65, 0)

- [security regression] A breaking change shipped without a version bump: still 0.1.1
- [security regression] Tool “get_portfolio_transaction” was removed
- [security regression] Tool “get_raw_transaction” was removed
- [security regression] Tool “get_wallet” was removed
- [security] The server rewrote its instructions, which are the text every model session reads
- [security] Tool “list_portfolio_transactions” rewrote its description, which is the text the model reads
- [security] Tool “list_raw_transactions” rewrote its description, which is the text the model reads
- [security] Tool “list_wallets” rewrote its description, which is the text the model reads
- [cosmetic] “list_portfolio_transactions” added an optional parameter “transactionId”
- [cosmetic] “list_raw_transactions” added an optional parameter “includeDetails”
- [cosmetic] “list_raw_transactions” added an optional parameter “rawTransactionId”
- [cosmetic] “list_wallets” added an optional parameter “walletAddress”
- [cosmetic] “list_accounting_rules” reworded the description of “accountNumbers”
- [cosmetic] “list_accounting_rules” reworded the description of “actionTypes”
- [cosmetic] “list_accounting_rules” reworded the description of “assetIds”
- [cosmetic] “list_accounting_rules” reworded the description of “conditionFields”
- [cosmetic] “list_accounting_rules” reworded the description of “counterpartyNames”
- [cosmetic] “list_accounting_rules” reworded the description of “wallets”
- [cosmetic] “list_portfolio_transactions” reworded the description of “address”
- [cosmetic] “list_portfolio_transactions” reworded the description of “assetRefs”
- [cosmetic] “list_portfolio_transactions” reworded the description of “counterparty”
- [cosmetic] “list_portfolio_transactions” reworded the description of “errorType”
- [cosmetic] “list_portfolio_transactions” reworded the description of “hasError”
- [cosmetic] “list_portfolio_transactions” reworded the description of “hasJournalEntry”
- [cosmetic] “list_portfolio_transactions” reworded the description of “hasLots”
- [cosmetic] “list_portfolio_transactions” reworded the description of “include”
- [cosmetic] “list_portfolio_transactions” reworded the description of “isSpam”
- [cosmetic] “list_portfolio_transactions” reworded the description of “operationType”
- [cosmetic] “list_portfolio_transactions” reworded the description of “responsibilityCenterTypeKeys”
- [cosmetic] “list_portfolio_transactions” reworded the description of “search”
- [cosmetic] “list_portfolio_transactions” reworded the description of “status”
- [cosmetic] “list_portfolio_transactions” reworded the description of “subType”
- [cosmetic] “list_raw_transactions” reworded the description of “includeSpamTokens”
- [cosmetic] “list_raw_transactions” reworded the description of “sort”
- [cosmetic] “list_wallets” reworded the description of “chainId”

### 2026-09-21 (score 65, −3)

- [security regression] Stability: 0.20 → fail
- [security regression] A breaking change shipped without a version bump: still 0.1.1
- [security regression] Tool “delete_accounting_rule” was removed
- [security regression] Tool “find_portfolios” was removed
- [security regression] Tool “find_workspaces” was removed
- [security regression] Tool “get_report_request_status” was removed
- [security regression] Tool “list_counterparties” was removed
- [security regression] Tool “list_ledger_accounts” was removed
- [security regression] Tool “list_responsibility_centers” was removed
- [security regression] Tool “preview_accounting_rules” was removed
- [security regression] Tool “read_help_article” was removed
- [security regression] Tool “search_help_articles” was removed
- [security regression] Tool “set_fmv_override” was removed
- [security regression] Tool “update_journal_entry_line” was removed
- [security regression] Tool “update_transaction” was removed
- [security] The server rewrote its instructions, which are the text every model session reads
- [security] Tool “edit_accounting_rules” rewrote its description, which is the text the model reads
- [security] Tool “get_request_status” rewrote its description, which is the text the model reads
- [security] Tool “list_portfolios” rewrote its description, which is the text the model reads
- [security] Tool “list_workspaces” rewrote its description, which is the text the model reads
- [security] Tool “request_report_export” rewrote its description, which is the text the model reads
- [security] Tool “edit_accounting_rules” is now declared destructive
- [functional regression] Schema quality: 158 → 176
- [functional improvement] Tool coverage: 18% → 100%
- [functional improvement] Tool “add_wallet” now declares an output schema
- [functional improvement] Tool “apply_accounting_rules” now declares an output schema
- [functional improvement] Tool “confirm_transaction” now declares an output schema
- [functional improvement] Tool “create_portfolio” now declares an output schema
- [functional improvement] Tool “edit_accounting_rules” now declares an output schema
- [functional improvement] Tool “full_resync” now declares an output schema
- [functional improvement] Tool “get_accounting_reference” now declares an output schema
- [functional improvement] Tool “get_asset_position” now declares an output schema
- [functional improvement] Tool “get_filter_options” now declares an output schema
- [functional improvement] Tool “get_journal_entry” now declares an output schema
- [functional improvement] Tool “get_lot_ledger” now declares an output schema
- [functional improvement] Tool “get_portfolio_balances” now declares an output schema
- [functional improvement] Tool “get_portfolio_issue_summary” now declares an output schema
- [functional improvement] Tool “get_request_status” now declares an output schema
- [functional improvement] Tool “get_server_info” now declares an output schema
- [functional improvement] Tool “incremental_sync” now declares an output schema
- [functional improvement] Tool “list_accounting_rules” now declares an output schema
- [functional improvement] Tool “list_chains” now declares an output schema
- [functional improvement] Tool “list_portfolios” now declares an output schema
- [functional improvement] Tool “list_wallets” now declares an output schema
- [functional improvement] Tool “list_workspaces” now declares an output schema
- [functional improvement] Tool “mark_token_spam” now declares an output schema
- [functional improvement] Tool “merge_transactions” now declares an output schema
- [functional improvement] Tool “reprocess_transaction” now declares an output schema
- [functional improvement] Tool “request_report_export” now declares an output schema
- [functional improvement] Tool “simulate_fiat_quote” now declares an output schema
- [functional improvement] Tool “split_transactions” now declares an output schema
- [functional] New tool “edit_transaction”
- [functional] New tool “get_help”
- [functional] New tool “list_journal_line_assignment_options”
- [cosmetic] “edit_accounting_rules” added an optional parameter “maxAffected”
- [cosmetic] “edit_accounting_rules” added an optional parameter “preview”
- [cosmetic] “list_portfolios” added an optional parameter “query”
- [cosmetic] “add_wallet” reworded the description of “portfolioRef”
- [cosmetic] “add_wallet” reworded the description of “workspaceRef”
- [cosmetic] “create_portfolio” reworded the description of “workspaceRef”
- [cosmetic] “edit_accounting_rules” reworded the description of “operation”
- [cosmetic] “edit_accounting_rules” reworded the description of “portfolioRef”
- [cosmetic] “edit_accounting_rules” reworded the description of “workspaceRef”
- [cosmetic] “get_filter_options” reworded the description of “portfolioRef”
- [cosmetic] “get_filter_options” reworded the description of “workspaceRef”
- [cosmetic] “get_portfolio_transaction” reworded the description of “portfolioRef”
- [cosmetic] “get_portfolio_transaction” reworded the description of “workspaceRef”
- [cosmetic] “get_raw_transaction” reworded the description of “portfolioRef”
- [cosmetic] “get_raw_transaction” reworded the description of “workspaceRef”
- [cosmetic] “import_adjustment_journals” reworded the description of “portfolioRef”
- [cosmetic] “import_adjustment_journals” reworded the description of “workspaceRef”
- [cosmetic] “list_accounting_rules” reworded the description of “portfolioRef”
- [cosmetic] “list_accounting_rules” reworded the description of “workspaceRef”
- [cosmetic] “list_portfolio_transactions” reworded the description of “portfolioRef”
- [cosmetic] “list_portfolio_transactions” reworded the description of “responsibilityCenterTypeKeys”
- [cosmetic] “list_portfolio_transactions” reworded the description of “workspaceRef”
- [cosmetic] “list_raw_transactions” reworded the description of “portfolioRef”
- [cosmetic] “list_raw_transactions” reworded the description of “workspaceRef”
- [cosmetic] “preview_transaction_classification” reworded the description of “portfolioRef”
- [cosmetic] “preview_transaction_classification” reworded the description of “workspaceRef”

### 2026-09-19 (score 68, +1)

No change was recorded against any check on this day. Stability & Change Management went from 13 to 17. That category is still filling its 30-day observation window: 4 days of observed history at the previous scan, 5 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-18 (score 67, +1)

- [functional regression] Schema quality: 137 → 158
- [functional improvement] Tool coverage: 75% → 98%
- [functional] Schema quality: good → excellent
- [cosmetic] “add_wallet” reworded the description of “portfolioRef”
- [cosmetic] “add_wallet” reworded the description of “workspaceRef”
- [cosmetic] “create_portfolio” reworded the description of “workspaceRef”
- [cosmetic] “delete_accounting_rule” reworded the description of “portfolioRef”
- [cosmetic] “delete_accounting_rule” reworded the description of “ruleRef”
- [cosmetic] “delete_accounting_rule” reworded the description of “workspaceRef”
- [cosmetic] “edit_accounting_rules” reworded the description of “enabled”
- [cosmetic] “edit_accounting_rules” reworded the description of “name”
- [cosmetic] “edit_accounting_rules” reworded the description of “operation”
- [cosmetic] “edit_accounting_rules” reworded the description of “orderedRuleRefs”
- [cosmetic] “edit_accounting_rules” reworded the description of “portfolioRef”
- [cosmetic] “edit_accounting_rules” reworded the description of “ruleRef”
- [cosmetic] “edit_accounting_rules” reworded the description of “workspaceRef”
- [cosmetic] “get_filter_options” reworded the description of “portfolioRef”
- [cosmetic] “get_filter_options” reworded the description of “workspaceRef”
- [cosmetic] “get_portfolio_transaction” reworded the description of “include”
- [cosmetic] “get_portfolio_transaction” reworded the description of “portfolioRef”
- [cosmetic] “get_portfolio_transaction” reworded the description of “transactionId”
- [cosmetic] “get_portfolio_transaction” reworded the description of “workspaceRef”
- [cosmetic] “get_raw_transaction” reworded the description of “includeDetails”
- [cosmetic] “get_raw_transaction” reworded the description of “portfolioRef”
- [cosmetic] “get_raw_transaction” reworded the description of “rawTransactionId”
- [cosmetic] “get_raw_transaction” reworded the description of “workspaceRef”
- [cosmetic] “import_adjustment_journals” reworded the description of “action”
- [cosmetic] “import_adjustment_journals” reworded the description of “portfolioRef”
- [cosmetic] “import_adjustment_journals” reworded the description of “previewToken”
- [cosmetic] “import_adjustment_journals” reworded the description of “workspaceRef”
- [cosmetic] “list_accounting_rules” reworded the description of “accountNumbers”
- [cosmetic] “list_accounting_rules” reworded the description of “actionTypes”
- [cosmetic] “list_accounting_rules” reworded the description of “assetIds”
- [cosmetic] “list_accounting_rules” reworded the description of “conditionFields”
- [cosmetic] “list_accounting_rules” reworded the description of “counterpartyNames”
- [cosmetic] “list_accounting_rules” reworded the description of “enabled”
- [cosmetic] “list_accounting_rules” reworded the description of “portfolioRef”
- [cosmetic] “list_accounting_rules” reworded the description of “ruleRef”
- [cosmetic] “list_accounting_rules” reworded the description of “search”
- [cosmetic] “list_accounting_rules” reworded the description of “wallets”
- [cosmetic] “list_accounting_rules” reworded the description of “workspaceRef”
- [cosmetic] “list_portfolio_transactions” reworded the description of “portfolioRef”
- [cosmetic] “list_portfolio_transactions” reworded the description of “workspaceRef”
- [cosmetic] “list_raw_transactions” reworded the description of “chainId”
- [cosmetic] “list_raw_transactions” reworded the description of “chainIds”
- [cosmetic] “list_raw_transactions” reworded the description of “fromDate”
- [cosmetic] “list_raw_transactions” reworded the description of “includeSpamTokens”
- [cosmetic] “list_raw_transactions” reworded the description of “portfolioRef”
- [cosmetic] “list_raw_transactions” reworded the description of “processingState”
- [cosmetic] “list_raw_transactions” reworded the description of “sort”
- [cosmetic] “list_raw_transactions” reworded the description of “toDate”
- [cosmetic] “list_raw_transactions” reworded the description of “txHash”
- [cosmetic] “list_raw_transactions” reworded the description of “walletAddress”
- [cosmetic] “list_raw_transactions” reworded the description of “workspaceRef”
- [cosmetic] “preview_accounting_rules” reworded the description of “enabled”
- [cosmetic] “preview_accounting_rules” reworded the description of “maxAffected”
- [cosmetic] “preview_accounting_rules” reworded the description of “name”
- [cosmetic] “preview_accounting_rules” reworded the description of “operation”
- [cosmetic] “preview_accounting_rules” reworded the description of “orderedRuleRefs”
- [cosmetic] “preview_accounting_rules” reworded the description of “portfolioRef”
- [cosmetic] “preview_accounting_rules” reworded the description of “ruleRef”
- [cosmetic] “preview_accounting_rules” reworded the description of “workspaceRef”
- [cosmetic] “preview_transaction_classification” reworded the description of “portfolioRef”
- [cosmetic] “preview_transaction_classification” reworded the description of “workspaceRef”

## MCP tools (36)

### `get_server_info` (~83 tokens)

Get Server Info

Learn what this accounting server covers before connecting: supported blockchains and fiat sources, accounting standards, plans with their capacity limits and what each tier adds, how to sign up, connection endpoint and authentication methods, and what it deliberately leaves out. Needs no credentials, so call it first when evaluating a connection, answering what Tokenbooks costs or includes, or debugging a connection.

Output parameters:

- `authentication` (array)
- `coverage` (object)
- `documentationUrl` (string)
- `endpoint` (string)
- `gettingStarted` (object)
- `limitations` (array)
- `name` (string)
- `notes` (array)
- `pricing` (object)
- `summary` (string)
- `title` (string)

### `get_accounting_reference` (~47 tokens)

Get Accounting Reference

Look up valid accounting values—including operation types, transaction statuses, cost-basis methods, and lot event kinds—before classifying or filtering; use the returned exact values instead of guessing.

Output parameters:

- `costBasisLotEntryKinds` (array)
- `costBasisLotMethods` (array)
- `operationTypes` (array)
- `transactionStatuses` (array)

### `list_workspaces` (~41 tokens)

List Workspaces

List workspaces available to the authenticated Tokenbooks user, or search by name or slug.

Input parameters:

- `query` (string): Optional workspace name or slug search query

Output parameters:

- `data` (array)

### `list_portfolios` (~103 tokens)

List Portfolios

List portfolios available in a workspace, or search by name or slug.

Input parameters:

- `limit`: Maximum items to return, maximum 100. Preferred MCP pagination field.
- `page` (integer): Page number, starting at 1
- `pageSize`: Deprecated alias for limit, maximum 100. Prefer limit for new MCP calls.
- `query` (string): Optional portfolio name or slug search query
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `data` (array)
- `pagination` (object)

### `get_portfolio` (~70 tokens)

Get Portfolio

Read one portfolio's settings and accounting policy by exact name or slug, including its financial reporting framework and legal entity type. If legalEntityType is omitted, it is unset.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `accountingConfiguration` (object)
- `createdAt` (string)
- `currency` (string)
- `legalEntityType` (string)
- `name` (string)
- `reportingTimezone` (string)
- `slug` (string)
- `updatedAt` (string)

### `get_portfolio_balances` (~70 tokens)

Get Portfolio Balances

Check whether each wallet's computed token balances match its latest synchronized snapshot; returns per-wallet match status, token count, last transaction time, and an overall match flag.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `allBalancesMatch` (boolean)
- `data` (array)

### `list_accounting_rules` (~270 tokens)

List Accounting Rules

Find saved accounting rules, filter them, or recover the exact ruleRef needed to preview, edit, or delete one rule.

Input parameters:

- `accountNumbers` (array): Ledger account numbers as CSV or repeated query values.
- `actionTypes` (array): Action types as CSV or repeated query values.
- `assetIds` (array): Asset ids as CSV or repeated query values.
- `conditionFields` (array): Condition fields as CSV or repeated query values.
- `counterpartyNames` (array): Counterparty names as CSV or repeated query values.
- `enabled` (boolean): Keep only enabled rules, or only disabled ones. Omit to return both.
- `limit` (integer): Requested number of resources to return. Oversized values are clamped to the route limit.
- `pageToken` (string): Opaque token returned by the previous list response.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `ruleRef` (string): Saved rule handle, from list_accounting_rules.
- `search` (string): Free-text match against rule names.
- `wallets` (array): Wallet selectors as chainId:walletAddress values.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `data` (array)
- `pagination` (object)

### `edit_accounting_rules` (~483 tokens)

Edit Accounting Rules

Create, update, enable/disable, reorder, or delete saved accounting rules -- the rule's whole authoring lifecycle. Pass preview: true on any of those to see the impact without saving; use operation: current to preview the saved ruleset as it stands. Results report when a scan is truncated.

Input parameters:

- `action` (object): Only for operation create, update; required for operation create.
- `conditions` (object): Only for operation create, update; required for operation create.
- `enabled`: Whether the rule evaluates. A disabled rule is kept but never fires. Only for operation create, set_enabled; required for operation set_enabled.
- `maxAffected` (integer): Preview only: how many affected transactions to sample, at most 25. affectedCount in the result equals this sample size; check candidateCount for the true total match count.
- `name` (string): Human-readable rule name, shown in the rules list. Only for operation create, update; required for operation create.
- `operation` (string, required): create: Create a new rule, or preview creating one (preview: true). update: Change the name, conditions, or actions of an existing rule, or preview the change (preview: true). Provide at least one of…
- `orderedRuleRefs` (array): Every rule handle in the portfolio, in the order they should evaluate. Rules apply in order, so earlier rules win. Only for operation reorder; required for each.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `preview` (boolean): When true, evaluate the change and return its impact without saving it. Not for operation current.
- `ruleRef` (string): Saved rule handle, from list_accounting_rules. Only for operation update, set_enabled, delete; required for each.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `affectedCount` (integer)
- `candidateCount` (integer)
- `changes` (array)
- `detail` (string)
- `firstAffectedAt` (string)
- `jobId` (string)
- `lastAffectedAt` (string)
- `mode` (string)
- `result`
- `scannedCount` (integer)
- `status` (string)
- `truncatedBy` (string)

### `apply_accounting_rules` (~86 tokens)

Apply Accounting Rules

Re-run the current saved rules and default assignments for vendors, people, or organizations (counterparty defaults) across eligible existing accounting transactions; this destructive bulk job ignores unsaved edits, so preview first, then track its requestId with get_request_status.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `requestId` (string)
- `status` (string)

### `list_wallets` (~168 tokens)

List Wallets

List wallets in a portfolio with sync status and transaction counts. Pass chainId and walletAddress to check one wallet instead — safe codes/messages show whether to retry or reconnect credentials. EVM addresses are normalized; other networks may be case-sensitive.

Input parameters:

- `chainId` (string): Optional chain filter, or with walletAddress
- `limit`: Maximum items to return, maximum 100. Preferred MCP pagination field.
- `page` (integer): Page number, starting at 1
- `pageSize`: Deprecated alias for limit, maximum 100. Prefer limit for new MCP calls.
- `portfolioRef` (string, required): Portfolio exact name or slug
- `walletAddress` (string): Look up one wallet; requires chainId
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `address` (string)
- `chainId` (string)
- `createdAt` (string)
- `data` (array)
- `lastSyncAt` (string)
- `name` (string)
- `pagination` (object)
- `resultType` (string)
- `syncMessages` (array)
- `syncStatus` (string)
- `transactionCount` (integer)

### `list_journal_line_assignment_options` (~273 tokens)

List Journal Line Assignment Options

Find the ledger accounts, saved counterparties, or responsibility centers (departments, projects, or other reporting groups) that can be assigned to an accounting entry line. Pass type to choose the lookup: ledger_account returns each account's accountNumber, counterparty returns the counterparty name, and responsibility_center returns its type key and center name.

Input parameters:

- `limit` (integer): Maximum items to return, maximum 100. Preferred MCP pagination field. Only for type counterparty.
- `page` (integer): Page number, starting at 1 Only for type counterparty.
- `pageSize` (integer): Deprecated alias for limit, maximum 100. Prefer limit for new MCP calls. Only for type counterparty.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `search` (string): Filter by name (also matches account number for ledger accounts)
- `type` (string, required): ledger_account: Ledger accounts assignable to a journal line. counterparty: Saved vendors, people, or organizations assignable to a journal line. responsibility_center: Departments, projects, or othe…
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `accounts` (array)
- `counterparties` (array)
- `hasMore` (boolean)
- `responsibilityCenters` (array)
- `total` (number)
- `type` (string)

### `edit_transaction` (~730 tokens)

Edit Transaction

Change one accounting transaction (a Portfolio Transaction): update_fields for memo, the full tag set, or operation type; update_journal_line for the ledger account, counterparty, or reporting-group assignments on one debit or credit line (read the line number first, look up selectable values with list_journal_line_assignment_options); or set_fmv_override to correct a fair market value and recompute dependent cost-basis records. Track returned requestIds, or pass waitForCompletion (update_fields, set_fmv_override) to wait for a terminal state.

Input parameters:

- `accountNumber` (string): Chart-of-accounts number to assign (from list_journal_line_assignment_options, type: ledger_account) Only for operation update_journal_line.
- `assetId` (string): Asset ID to override (e.g. eth_1, as returned by the read tools) Only for operation set_fmv_override; required for each.
- `counterpartyName` (string): Counterparty name to assign; pass null to unset Only for operation update_journal_line.
- `lineNumber` (integer): Journal entry line number (1-based) Only for operation update_journal_line; required for each.
- `memo` (string): New memo; pass null to clear it Only for operation update_fields.
- `newValueQuote` (string): Exact per-unit decimal string in base currency, e.g. "0". Do not use price. Only for operation set_fmv_override; required for each.
- `operation` (string, required): update_fields: Change memo, the full tag set, or the accounting operation type. update_journal_line: Change the ledger account, counterparty, or reporting-group assignments on one transaction's debit…
- `operationType` (string): New accounting operation type Only for operation update_fields.
- `pollIntervalMs` (integer): Polling interval in milliseconds, 100 to 5000 (default 500) Not for operation update_journal_line.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `quoteCurrency` (string): Optional quote currency (defaults to base currency) Only for operation set_fmv_override.
- `quoteSource` (string): Optional source/justification for the price Only for operation set_fmv_override.
- `reason` (string): Immutable root reason whose nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references Only for operation set_fmv_override.
- `responsibilityCenterAssignments` (array): Typed responsibility-center assignment set, one per dimension. Replaces the line assignments; pass [] to clear every dimension. Type keys and center names come from list_journal_line_assignment_optio…
- `subType` (string): New operation sub-type (requires operationType) Only for operation update_fields.
- `tags` (array): Replace the full set of transaction tags Only for operation update_fields.
- `timeoutMs` (integer): Maximum wait time in milliseconds, 1000 to 60000 (default 30000) Not for operation update_journal_line.
- `transactionId` (string, required): Portfolio transaction ID
- `waitForCompletion`: When true, poll queued request IDs and include terminal status/final state before returning Not for operation update_journal_line.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `completed` (boolean)
- `error` (object)
- `finalState` (object)
- `lineNumber` (number)
- `operation` (string)
- `primaryRequestId` (string)
- `requestId` (string)
- `requests`
- `results` (array)
- `status` (string)
- `statuses` (array)
- `success` (boolean)
- `transactionId` (string)

### `import_adjustment_journals` (~227 tokens)

Import Adjustment Journals

Preview or post a complete CSV or XLSX file of balanced manual adjustment journals for one portfolio. Preview first; post only after reviewing every blocking issue, then resend the unchanged source with its preview token and any resolutions.

Input parameters:

- `action` (string, required): preview: Parse the file and report what it would import, writing nothing. Always preview before posting. post: Commit the import that a preview of the same file produced.
- `contentBase64` (string, required): CSV or XLSX source file content as base64-encoded bytes (max 5 MiB).
- `fileName` (string, required): Original CSV or XLSX source filename.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `previewToken` (string): Token returned by the matching preview, proving the file has not changed since. Only for action post; required for each.
- `resolutions` (array): Only for action post; required for each.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `action` (string)
- `createdJournalCount` (integer)
- `importRef` (string)
- `issues`
- `journals`
- `omittedJournalCount` (integer)
- `previewToken` (string)
- `readyToPost` (boolean)
- `summary`

### `get_sync_status` (~68 tokens)

Get Sync Status

Check sync health across every wallet in a portfolio. Current activity takes priority over each latest finished result; safe codes and messages tell you whether to retry or reconnect credentials.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `completedAt` (string)
- `startedAt` (string)
- `status` (string)
- `updatedAt` (string)
- `wallets` (array)

### `incremental_sync` (~93 tokens)

Incremental Sync

Pull only recent blockchain and wallet activity while keeping all existing transaction and accounting history; use this routine refresh before reports or when new activity is missing, then track its requestId with get_request_status.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `wallets` (array): Optional exact wallet pairs; omit to sync every wallet in the portfolio
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `portfolioSlug` (string)
- `requestId` (string)

### `full_resync` (~102 tokens)

Full Resync (DANGER — wipes & rebuilds history)

DANGER: delete and rebuild the selected wallet transaction, journal, and cost-basis history from source data. Use only after the user explicitly requests this destructive reset and accepts the consequences; use incremental_sync for routine new activity.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `wallets` (array): Optional exact wallet pairs; omit to wipe and rebuild every wallet in the portfolio
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `portfolioSlug` (string)
- `requestId` (string)

### `list_portfolio_transactions` (~653 tokens)

List Portfolio Transactions

Find accounting transactions—called Portfolio Transactions in Tokenbooks—for review or reconciliation; filter by status, type, errors, spam, wallet, or asset, optionally attaching grouped contributing raw source records (10-record page cap). Pass transactionId to explain full details of one transaction instead: classification, journal entry, cost-basis links, and (rawWithDetails) its sanitized event logs and contract calls.

Input parameters:

- `address` (string): Match transfer from/to address (case-insensitive)
- `assetRefs` (array): Filter by asset symbol (case-insensitive)
- `chainId` (string): Public wallet chain ID.
- `chainIds` (array): Optional chain ID filters
- `counterparty` (array): Filter by counterparty name (case-insensitive)
- `defiPositionKey` (string): Filter by protocol-defined DeFi position key
- `defiPositionWalletAddress` (string): Filter by DeFi position wallet address
- `defiPositionWalletChainId` (string): Filter by DeFi position wallet chain ID
- `errorType` (array): Filter by error/warning code, e.g. ["FmvNotAvailable"]
- `fromDate` (string): Optional ISO timestamp lower bound
- `hasError` (boolean): true: has a processing error; false: error-free
- `hasJournalEntry` (boolean): true: has a non-empty journal entry; false: does not
- `hasLots` (boolean): true: produced cost-basis lots; false: did not
- `include` (string): Include grouped contributing raw source transactions; rawWithDetails adds sanitized provider details and requires transactionId
- `isSpam` (boolean): true: transfers involve spam tokens; false: non-spam only
- `limit`: Maximum Portfolio Transactions to return, maximum 100.
- `maxValue` (string): Maximum transfer fiat quote value (inclusive), as a decimal string
- `minValue` (string): Minimum transfer fiat quote value (inclusive), as a decimal string
- `operationType` (array): Filter by operation type, e.g. ["UNCATEGORIZED"]
- `pageToken` (string): Opaque token returned by the previous list response.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `responsibilityCenterTypeKeys` (array): Filter by journal-line responsibility-center type key (e.g. primary, goal; from list_journal_line_assignment_options)
- `search` (string): Free-text search over memo, tx hash, transaction ID
- `sort` (string): Timestamp sort. Prefix with - for descending order.
- `status` (array): Filter by status, e.g. ["POSTED"]
- `subType` (array): Filter by operation sub-type (case-insensitive)
- `toDate` (string): Optional ISO timestamp upper bound
- `transactionId` (string): Look up one transaction by handle instead of listing
- `txHash` (string): Filter by exact on-chain transaction hash
- `walletAddress` (string): Public wallet address on the selected chain.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `classification` (object)
- `data` (array)
- `errorDetails` (array)
- `errorMessage` (string)
- `fileAttachments` (array)
- `id` (string)
- `intercompanyPair` (object)
- `journalEntry`
- `memo` (string)
- `operationType` (string)
- `pagination` (object)
- `portfolioTransactionContext` (object)
- `rawTransactions` (array)
- `resultType` (string)
- `status` (string)
- `subType` (string)
- `systemNotes` (string)
- `tags` (array)
- `timestamp` (string)
- `walletOperations` (array)
- `walletSource` (object)

### `list_raw_transactions` (~370 tokens)

List Raw Transactions

Find compact source transactions first, called Raw Transactions in Tokenbooks, including unprocessed or partially linked activity. Pass rawTransactionId to show how one maps to wallet movements and accounting transactions; add includeDetails for its sanitized event logs and decoded contract calls (untrusted provider evidence).

Input parameters:

- `chainId` (string): Blockchain to filter by, such as eth-mainnet. Call list_chains for the supported set.
- `chainIds` (array): Blockchains to filter by, such as eth-mainnet. Call list_chains for the supported set.
- `fromDate` (string): Earliest transaction timestamp to include, as an ISO 8601 datetime.
- `includeDetails` (boolean): With rawTransactionId, also return blockchain event logs and decoded contract calls
- `includeSpamTokens` (boolean): Include transactions whose operations contain only spam tokens; defaults to false.
- `limit`: Maximum raw transaction summaries to return, maximum 100.
- `pageToken` (string): Opaque token returned by the previous list response.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `processingState` (string): Keep only source transactions in this processing state.
- `rawTransactionId` (string): Look up one source transaction by handle instead of listing
- `sort` (string): Timestamp order. Use timestamp for ascending or -timestamp for descending; defaults to -timestamp.
- `toDate` (string): Latest transaction timestamp to include, as an ISO 8601 datetime.
- `txHash` (string): Exact on-chain transaction hash.
- `walletAddress` (string): Wallet to filter by. Supply chainId alongside it.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `blockHeight` (string)
- `data` (array)
- `details`
- `hash` (string)
- `id` (string)
- `memo` (string)
- `pagination` (object)
- `processingState` (string)
- `resultType` (string)
- `timestamp` (string)
- `wallet` (object)
- `walletOperations` (array)

### `get_filter_options` (~291 tokens)

Get Filter Options

List the available values for one portfolio filter—such as accounts, wallets, assets, transaction status, or warnings—before building a filtered query.

Input parameters:

- `filter` (string): Human-readable Portfolio Transactions filter expression. Only for filterName portfolio-transaction-status-counts.
- `filterName` (string, required): Public filter option provider name.
- `mode` (string): Address side to inspect for portfolio-transaction-addresses. Required for address filters. Use from for source addresses and to for destination addresses. Only for filterName portfolio-transaction-ad…
- `pageSize` (integer): Requested number of resources to return. Oversized values are clamped to the route limit. Not for filterName accounts.
- `pageToken` (string): Opaque token returned by the previous list response. Not for filterName accounts.
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `search` (string): Optional case-insensitive text search applied by the provider to labels, addresses, names, or other provider-owned searchable fields. Not for filterName accounts.
- `selected`: Already-selected option values for selected-value hydration from URL filter state. A single HTTP query value is accepted as a one-element array. Not for filterName accounts.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `accountNumbers` (array)
- `accountTypes` (array)
- `assets` (array)
- `cacheStatus` (string)
- `currencies` (array)
- `data`
- `hierarchy` (array)
- `includeNoWallet` (object)
- `normalBalanceTypes` (array)
- `origins` (array)
- `pagination`
- `paymentLabelStates` (array)
- `revisionHash` (string)
- `statuses` (array)
- `subTypes` (array)
- `wallets` (array)

### `get_portfolio_issue_summary` (~72 tokens)

Get Portfolio Issue Summary

Summarize accounting problems that need review with exact counts for uncategorized, errored, and spam-related transactions, plus examples of uncategorized and errored transactions.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `counts` (object)
- `errorsByType` (array)
- `isClean` (boolean)
- `samples` (object)

### `confirm_transaction` (~62 tokens)

Confirm Portfolio Transaction

Post a proposed accounting transaction to the books; this queued action returns a requestId.

Input parameters:

- `portfolioRef` (string, required): Portfolio exact name or slug
- `transactionId` (string, required): Portfolio transaction ID
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `error` (object)
- `requestId` (string)
- `status` (string)
- `success` (boolean)
- `transactionId` (string)

### `reprocess_transaction` (~149 tokens)

Reprocess Portfolio Transaction

Recalculate one accounting transaction after correcting its inputs; this destructive queued job may regroup only its assigned wallet movements, and waitForCompletion can return the final state.

Input parameters:

- `pollIntervalMs` (integer): Request-status polling interval in milliseconds
- `portfolioRef` (string, required): Portfolio name or slug
- `reason` (string): Optional immutable root reason; nonempty bytes are preserved exactly
- `timeoutMs` (integer): Maximum wait time in milliseconds
- `transactionId` (string, required): Selected portfolio transaction ID to reprocess
- `waitForCompletion` (boolean): Wait for the queued reprocess request to reach a terminal state before returning
- `workspaceRef` (string, required): Workspace name or slug

Output parameters:

- `completed` (boolean)
- `error` (object)
- `finalState` (object)
- `requestId` (string)
- `requests` (object)
- `status` (string)
- `statuses` (array)
- `success` (boolean)
- `transactionId` (string)

### `preview_transaction_classification` (~101 tokens)

Preview Transaction Classification

Preview how selected wallet movements would be grouped and labeled as accounting transactions. Returns every proposal in order and saves nothing.

Input parameters:

- `operations` (array, required): Exact transfer-operation handles returned by transaction reads, including the accounting transaction each operation currently belongs to
- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `transactions` (array)

### `merge_transactions` (~149 tokens)

Merge Portfolio Transactions

Destructively combine wallet movements from several accounting transactions into one target transaction and reclassify it; preview the grouping first, then track the queued requestId.

Input parameters:

- `operationType` (string, required): Accounting operation type for the merged transaction
- `operations` (array, required): Operations to merge into the target
- `portfolioRef` (string, required): Portfolio exact name or slug
- `reason` (string): Optional immutable root reason. Nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references.
- `subType` (string): Optional operation sub-type
- `transactionId` (string, required): Target transaction the operations are merged into
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `error` (object)
- `requestId` (string)
- `status` (string)
- `success` (boolean)
- `transactionId` (string)

### `split_transactions` (~210 tokens)

Split Portfolio Transaction

Destructively move selected whole existing operation handles unchanged out of one accounting transaction into a new classified transaction; use this only when the needed economic legs already exist as operation handles. It cannot divide one transfer amount into new economic legs: repair sync normalization or use a supported persisted replacement lifecycle for a missing leg. Preview the grouping first, then track the queued requestId.

Input parameters:

- `operationType` (string, required): Accounting operation type for the new transaction
- `operations` (array, required): Whole existing operation handles to move unchanged into a new transaction; do not use this to divide one normalized transfer amount into new economic legs
- `portfolioRef` (string, required): Portfolio exact name or slug
- `reason` (string): Optional immutable root reason. Nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references.
- `subType` (string): Optional operation sub-type
- `transactionId` (string, required): Source transaction to split operations out of
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `error` (object)
- `requestId` (string)
- `status` (string)
- `success` (boolean)
- `transactionId` (string)

### `mark_token_spam` (~155 tokens)

Mark Token as Spam

Mark or unmark a token as spam so unwanted dust or airdrops are excluded from accounting and existing records are updated; this queued action defaults to marking spam and returns a requestId.

Input parameters:

- `chainId` (string, required): Chain ID of the token (from a walletOperation)
- `isSpam` (boolean): Spam flag to set (default true; false unmarks)
- `portfolioRef` (string, required): Portfolio exact name or slug
- `reason` (string): Optional immutable root reason. Nonempty bytes are preserved exactly; use ptx:<uuid> for transaction references.
- `tokenAddress` (string, required): Token contract address (from a walletOperation)
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `error` (object)
- `requestId` (string)
- `status` (string)
- `success` (boolean)

### `simulate_fiat_quote` (~200 tokens)

Simulate Fiat Payout Quote

Estimate exchange rates, processing fees, amount received, and corridor limits for a bank payout before sending money; use it to compare supported rails such as ACH, SEPA, EFT, FPS, IMPS, or SWIFT.

Input parameters:

- `network` (string, required): Fiat payout rail / bank method
- `portfolioRef` (string, required): Portfolio exact name or slug
- `purposeOfPayment` (string): Purpose-of-payment classification
- `receivingAmount` (string, required): Amount the recipient should receive, as a decimal string in the receiving currency (e.g. "500000")
- `receivingCurrency` (string): ISO 4217 receiving currency; defaults to the network default
- `recipientBankCountry` (string): ISO 3166-1 alpha-2 recipient bank country; defaults to the network default
- `senderCurrency` (string): Stablecoin funding the payout (default USDC)
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `corridor` (object)
- `note` (string)
- `quote` (object)
- `status` (string)

### `get_journal_entry` (~76 tokens)

Get Journal Entry

Read every debit and credit line in one journal entry—the detailed accounting record—and trace each line to its cost-basis records and blockchain movements.

Input parameters:

- `journalEntryId` (string, required): Journal entry ID
- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `adjustmentJournalImportProvenance` (object)
- `id` (string)
- `isAdjustment` (boolean)
- `lines` (array)
- `memo` (string)
- `operationType` (string)
- `portfolioTransactionId` (string)
- `status` (string)
- `subType` (string)
- `systemNotes` (string)
- `timestamp` (string)

### `get_lot_ledger` (~386 tokens)

Get Cost-Basis Lot Ledger

Trace paginated cost-basis acquisition, disposal, transfer, and adjustment history across a portfolio, optionally narrowed by asset, wallet, event kind, accounting transaction, or date.

Input parameters:

- `assetRef` (string): Deprecated compatibility selector for asset symbol or asset id. Prefer filter=asset_id.
- `chainId` (string): Exact chain ID when filtering to one wallet; requires walletAddress
- `entryKind` (array): Filter by lot entry kind (any of)
- `filter` (string): Public AIP-160 filter string. Supported fields: id lot identifier (=, !=, in, not in), entry_id ledger-row identifier (=, !=, in, not in), asset_id (=, !=, in, not in), asset_spam (= true or false),…
- `fromDate` (string): Optional ISO timestamp lower bound
- `limit`: Maximum items to return, maximum 100. Preferred MCP pagination field.
- `page` (integer): Page number, starting at 1
- `pageSize`: Deprecated alias for limit, maximum 100. Prefer limit for new MCP calls.
- `portfolioRef` (string, required): Portfolio exact name or slug
- `sort` (string): Single public sort field. Prefix with - for descending. Supported fields: timestamp, diff, value, price
- `toDate` (string): Optional ISO timestamp upper bound
- `walletAddress` (string): Exact case-sensitive wallet address when filtering to one wallet; requires chainId
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `data` (array)
- `pagination` (object)

### `request_report_export` (~139 tokens)

Request Report Export

Queue generation of the requested spreadsheet, PDF, or JSON accounting report—such as profit and loss, trial balance, balance sheet, journal, or transaction export—for a reporting period; track the returned requestId with get_request_status.

Input parameters:

- `format` (string, required): Export format
- `fromDate` (string, required): Report period start ISO timestamp
- `portfolioRef` (string, required): Portfolio exact name or slug
- `reportType` (string, required): Report type
- `toDate` (string, required): Report period end ISO timestamp
- `totalsOnly` (boolean): Return summary only when true
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `requestId` (string)

### `get_request_status` (~134 tokens)

Get Request Status

Check the status of any queued background work — report generation, wallet sync, rule application, or a transaction change — using the requestId returned when it was queued. Works for every request kind; there is no separate report-status tool.

Input parameters:

- `portfolioRef` (string): Portfolio exact name or slug
- `requestId` (string, required): Request ID returned by the call that queued the work (e.g. incremental_sync, full_resync, request_report_export)
- `transactionId` (string): Optional transaction ID that caused the async request, for agent context
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `appProgress` (object)
- `completedAt`
- `createdAt`
- `error`
- `finishedOn` (number)
- `kind` (string)
- `outcome` (object)
- `progress` (number)
- `progressPercent` (number)
- `requestId`
- `result`
- `returnValue`
- `status` (string)
- `subject` (object)
- `type` (string)
- `updatedAt` (string)

### `add_wallet` (~119 tokens)

Add Wallet(s) to Portfolio

Add one or more blockchain addresses and start their first sync. Omit the blockchain connection identifier (integrationId) to add an EVM 0x address on every supported EVM network; other addresses require an integrationId. This tool does not configure exchange accounts and reports which addresses were added or skipped.

Input parameters:

- `portfolioRef` (string, required): Portfolio name or slug inside that workspace. Call list_portfolios to resolve it.
- `wallets` (array, required)
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `results` (array)
- `syncQueued` (boolean)

### `create_portfolio` (~252 tokens)

Create Portfolio

Create an accounting portfolio in an existing workspace, optionally choosing jurisdiction and policies; Canada and US profiles require matching currency, entity type, and timezone. If no jurisdiction is selected, Tokenbooks uses generic accounting defaults. Search help for policy choices; workspace creation remains in the Tokenbooks UI.

Input parameters:

- `costBasisLotMethod` (string): Lot-matching method for disposals
- `costBasisPerWallet` (boolean): Whether acquisition lots stay scoped to each wallet
- `currency` (string): Functional currency (default USD)
- `financialReportingFramework` (string): Financial reporting framework (default TAX_ONLY)
- `gasFeeAccountingTreatment` (string): Accounting treatment for gas spend
- `jurisdictionCode` (string): Exact assigned ISO country code, or custom. If omitted, resolves Custom regardless of currency
- `legalEntityType` (string): Legal entity classification for an explicit country profile
- `name` (string, required): Portfolio name
- `reportingTimezone` (string): Canonical IANA reporting timezone (default UTC)
- `stablecoinTreatment` (string): Stablecoin valuation treatment; this does not change lot tracking
- `workspaceRef` (string, required): Workspace name or slug. Call list_workspaces to resolve it.

Output parameters:

- `accountingConfiguration` (object)
- `createdAt` (string)
- `currency` (string)
- `legalEntityType` (string)
- `name` (string)
- `reportingTimezone` (string)
- `slug` (string)
- `updatedAt` (string)

### `get_asset_position` (~113 tokens)

Get Asset Position

Summarize one cryptocurrency or token across every wallet with quantity, cost basis, market value, unrealized gain or loss, and portfolio totals. This covers wallet holdings rather than all ledger accounts; request a balance-sheet report for a complete accounting statement.

Input parameters:

- `assetRef` (string, required): Asset symbol or canonical asset id
- `includeSpam` (boolean): Also match assets marked as spam
- `portfolioRef` (string, required): Portfolio exact name or slug
- `workspaceRef` (string, required): Workspace exact name or slug

Output parameters:

- `asset` (object)
- `currency` (string)
- `perWallet` (array)
- `pricedAt` (string)
- `totals` (object)
- `unitPrice` (string)
- `valuation` (object)

### `list_chains` (~102 tokens)

List Supported Chains

Find which blockchains support wallet syncing by name, Tokenbooks chain slug, or numeric EVM network ID; results identify EVM networks whose shared 0x address can be added together with add_wallet.

Input parameters:

- `evmOnly` (boolean): When true, return only EVM-compatible chains
- `query` (string): Optional chain name, slug, or EVM chain id (e.g. "Optimism", "optimism-mainnet", "10")

Output parameters:

- `data` (array)

### `get_help` (~126 tokens)

Get Help

Find practical Tokenbooks instructions or accounting guidance. Pass query to search by topic (MCP workflow, cost basis, fair market value, gas fees, stablecoins, ...), or pass slug to open one article directly using a slug from a previous get_help search result.

Input parameters:

- `limit`: Maximum number of search results, only used with query
- `query` (string): Search query for Tokenbooks instructions or accounting guidance. Omit when using slug.
- `slug` (string): Help article slug to open directly, from a previous get_help search result. Omit when using query.

Output parameters:

- `audience` (string)
- `body` (string)
- `error` (string)
- `message` (string)
- `query` (string)
- `relatedConcepts` (array)
- `relatedTools` (array)
- `results` (array)
- `slug` (string)
- `summary` (string)
- `tags` (array)
- `title` (string)

## Diagnostics

Captured diagnostic sections: TLS, DNSSEC, Authorisation, Transports. The full working is on the page: https://verifymcp.io/servers/io-tokenbooks-tokenbooks/api#diagnostics

## Score history

- 2026-09-29: 67
- 2026-09-28: 67
- 2026-09-27: 67
- 2026-09-26: 66
- 2026-09-25: 66
- 2026-09-24: 65
- 2026-09-23: 65
- 2026-09-22: 65
- 2026-09-21: 65
- 2026-09-20: 68
- 2026-09-19: 68
- 2026-09-18: 67
- 2026-09-17: 66
- 2026-09-16: 66
- 2026-09-15: 65
- 2026-09-14: 65

## Common questions

### What is the Tokenbooks - crypto and fiat accounting and payments MCP server?

Tokenbooks - crypto and fiat accounting and payments is an MCP server listed in the public MCP registry as io.tokenbooks/tokenbooks. Crypto and fiat on one double-entry ledger: sync wallets, reconcile, cost basis, audit-ready close. This page covers its hosted endpoint (https://api.tokenbooks.io/mcp).

### Is the Tokenbooks - crypto and fiat accounting and payments MCP server safe to use?

Tokenbooks - crypto and fiat accounting and payments scores 67 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Tokenbooks - crypto and fiat accounting and payments MCP server expose?

Tokenbooks - crypto and fiat accounting and payments exposes 36 tools: get_server_info, get_accounting_reference, list_workspaces, list_portfolios, get_portfolio, and 31 more. Their descriptions and schemas cost roughly 6,773 tokens of context every time the server is loaded.

### Does the Tokenbooks - crypto and fiat accounting and payments MCP server require authentication?

No. We connected to Tokenbooks - crypto and fiat accounting and payments without credentials and it answered, so anything it exposes is reachable by anyone who knows the address.

### Is the Tokenbooks - crypto and fiat accounting and payments MCP server still maintained?

Tokenbooks - crypto and fiat accounting and payments is still listed as active in the MCP registry. We last reached this channel on 29 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

## Links

- Remote endpoint: https://api.tokenbooks.io/mcp
- Website: https://tokenbooks.io/use-cases/ai-accounting
- Changelog RSS feed: https://verifymcp.io/servers/io-tokenbooks-tokenbooks/api.xml
- Changelog JSON feed: https://verifymcp.io/servers/io-tokenbooks-tokenbooks/api.json
- HTML version of this page: https://verifymcp.io/servers/io-tokenbooks-tokenbooks/api
