portfolio · wire operation
Analyze a portfolio (snapshot, timeline, monitor)
One report of up to three direct results: the valuation snapshot at `asOf` (always), the dated timeline with P&L since each prior mark and drawdown (when `marks` are supplied), and the policy monitor with its alerts and carried state (when `monitor` is supplied). Each result is the direct function verbatim; nothing is aggregated across them, and one `assumptions` says which parts ran and why the others did not.
totalfinance.portfolio.analyze- MCP tool name
- totalfinance_portfolio_analyze
- Pack / profiles
- portfolio / full, portfolio
- Default discovery
- Opt-in (select its pack or profile)
- Required capabilities
- None
- Effects / authorization
- none / none
- Cost / cancellation
- medium / Do not assume inline interruption
- Handle-eligible inputs
- ledger, market
- Idempotency
- not-applicable
Input schema
| Field | Type | Meaning |
|---|---|---|
ledgerRequired | object | A serialized portfolio ledger (totalfinance.portfolio-ledger, the FC7 JSON form) |
asOfRequired | number | string | The valuation and monitoring instant |
marketRequired | object | A Gate B market snapshot (totalfinance.market-snapshot); its interior is re-validated by the read door |
currencyConversionsOptional | object[] | — |
instrumentClassificationOptional | object | Identity metadata per instrument for grouping; unknown instruments group as unclassified |
marksOptional | object[] | At least two dated marks, strictly ascending — adds portfolioTimeline when supplied |
monitorOptional | object | monitorPortfolio inputs beyond the shared portfolio / market / asOf / currencyConversions |
Complete JSON Schema
Loading…
Output schema
| Field | Type | Meaning |
|---|---|---|
snapshotRequired | object | portfolioSnapshot(...) verbatim |
timelineRequired | object | null | portfolioTimeline(...) verbatim, or null when no marks were supplied |
monitorRequired | object | null | monitorPortfolio(...) verbatim, or null when no monitor request was supplied |
assumptionsRequired | object | Applied conventions |
diagnosticsRequired | object | Engine, method, warnings |
Complete JSON Schema
Loading…