Calculate realized and unrealized PnL for a Solana wallet's token trades. Analyzes swap history to compute profit/loss per token in SOL.
| Name | Type | Required | Description |
|---|---|---|---|
| walletAddress | string | required | Solana wallet address (base58) |
// MCP tool call
{
"name": "wallet_pnl",
"arguments": {
"walletAddress": ""
}
}
// Add to your MCP config — this tool is immediately available
{
"mcpServers": {
"toolbooth": { "url": "https://toolbooth.io/mcp" }
}
}