Market Cap Comparison
workflow.run_market_cap_comparisonCompares two tokens' live market caps (Solana or any of 5 EVM chains; the two tokens can be on different chains) and projects what an investment would be worth if the first token's market cap matched the second's. Narrative-agnostic ("if X reaches Y's market cap"): works for any token pair, not tied to one hype cycle or one chain. A snapshot ratio, not a forecast: assumes fixed supply on both sides. Edge cases: investmentUsd above zero; each token is a chain (solana, ethereum, base, bsc, arbitrum or polygon, default solana) plus an address; a token whose market cap cannot be read returns comparable false with an error. The projection is arithmetic: price times the ratio of market caps. Not covered: supply changes, dilution, liquidity to actually sell at that price, a forecast that the cap will be reached, and tokens whose market cap is self-reported. Use when user asks "what if this token reaches [other token]'s market cap?". Returns: multiplier, projectedValueUsd, projectedPriceUsd, profitUsd, comparable (false + error if either market cap can't be resolved).
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": {
"tokenMint": "<tokenMint>",
"compareToMint": "<compareToMint>",
"investmentUsd": "<investmentUsd>"
},
"name": "workflow.run_market_cap_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenMint | Yes | Address of the token you hold or are evaluating (base58 for Solana, 0x... for EVM chains) | |
| tokenChain | No | Chain of the token you hold. Default solana. | |
| compareToMint | Yes | Address of the token whose market cap to compare against | |
| investmentUsd | Yes | Investment amount in USD | |
| compareToChain | No | Chain of the comparison token. Default solana. Can differ from tokenChain. |