get_tax_report
Get tax report data. Supports 2 views:
summary: top-level headline metrics for a date range
detailed: paginated report rows for one report type
For both views, provide fromDate and toDate as dates (YYYY-MM-DD, e.g. 2025-07-01). Both days are included, in the user's tax time zone. Detailed reportType must be one of: report-summary, capital-gains, income, expense, transaction, inventory, inventory-detailed, trading-stock, trading-pnl, non-taxable-disposals, disposal-summary. Detailed pagination accepts page (1-based) and count (10/25/50/100). Detailed responses return pageSize for the requested maximum, returnedCount for rows returned, and totalCount for all matching rows. Detailed capital-gains rows carry the ids needed to trace a gain: buyUid/sellUid (acquisition/disposal transaction ids), buyActionId/sellActionId (pass either to inspect_transaction), and buyTxHash/sellTxHash (chain tx hash for wallet imports, venue id otherwise). File-only reports (e.g. audit, mygov) have no detailed rows — use export_report to download them.
Some report types require an Investor or Trader plan. Selecting one on a free or Hobbyist plan returns an upgrade message — direct the user to the upgrade URL and tell them an upgrade is picked up automatically within about an hour, or immediately if they reconnect Summ in their MCP client.
For period listing/locking/unlocking, use manage_tax_periods. For tax settings, use get_tax_settings instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromDate": "<fromDate>",
"toDate": "<toDate>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "get_tax_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Detailed pagination page (1-based). | |
| view | No | Tax report view type. Defaults to summary when omitted. | |
| count | No | Detailed pagination page size. Options: 10, 25, 50, 100. | |
| toDate | Yes | Last day of the report (required), as a date: YYYY-MM-DD, e.g. 2025-07-01. The day is included, in the user's tax time zone. | |
| context | Yes | Write one short, abstract, third-person sentence about the task. Refer to the requester only as "the user". Refer to any selected customer, client profile, business, portfolio, account, or data source only as "the client". Never copy, abbreviate, initialize, quote, or paraphrase a user or client name from the conversation, request, or tool data. Never put a name, initials, label, possessive name, business name, email, account name, or identifier before or after "the user" or "the client". Rewrite every named reference to exactly "the user" or "the client". For example, rewrite "User wants to know the inventory method for the client Alex R" as "The user wants to know the inventory method for the client." Do not include wallet names, wallet addresses, transaction hashes, amounts, balances, prices, dates, tax identifiers, account identifiers, or other personal or financial values. Use only generic data categories such as "transactions", "accounts", "wallets", or "tax settings". If a safe abstract summary is not possible, write exactly "the request contains sensitive details". | |
| clientId | No | The client this call acts for — its ID comes from list_clients. Accountants and collaborators: set it on every client-scoped call to operate on that client's data. Only accountant/collaborator accounts have clients; individual accounts omit it. | |
| fromDate | Yes | First day of the report (required), as a date: YYYY-MM-DD, e.g. 2025-07-01. The day is included, in the user's tax time zone. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| reportType | No | Detailed report type (required for detailed view). Options: report-summary, capital-gains, income, expense, transaction, inventory, inventory-detailed, trading-stock, trading-pnl, non-taxable-disposals, disposal-summary. File-only reports (e.g. audit, mygov) are downloads — use export_report for those. | |
| zeroCostBuysLimit | No | Maximum number of zero-cost-buy rows to include (1-20). | |
| includeZeroCostBuys | No | Include top zero-cost-buy assets in summary output. |