Skip to main content
Glama

TradingCalc MCP: Options, Forex, Risk Stats, Prediction Markets, On-Chain & Crypto Futures

Market Cap Comparison

workflow.run_market_cap_comparison
Read-only

Compares 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. 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).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenMintYesAddress of the token you hold or are evaluating (base58 for Solana, 0x... for EVM chains)
tokenChainNoChain of the token you hold. Default solana.
compareToMintYesAddress of the token whose market cap to compare against
investmentUsdYesInvestment amount in USD
compareToChainNoChain of the comparison token. Default solana. Can differ from tokenChain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / compareToChain
      Added value: +{
      +  "description": "Chain of the comparison token. Default solana. Can differ from tokenChain.",
      +  "enum": [
      +    "solana",
      +    "ethereum",
      +    "base",
      +    "bsc",
      +    "arbitrum",
      +    "polygon"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / compareToMint / description
      Previous value: -"Mint address of the token whose market cap to compare against"New value: +"Address of the token whose market cap to compare against"
    • addedInput schema / properties / tokenChain
      Added value: +{
      +  "description": "Chain of the token you hold. Default solana.",
      +  "enum": [
      +    "solana",
      +    "ethereum",
      +    "base",
      +    "bsc",
      +    "arbitrum",
      +    "polygon"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / tokenMint / description
      Previous value: -"Mint address of the token you hold or are evaluating"New value: +"Address of the token you hold or are evaluating (base58 for Solana, 0x... for EVM chains)"
  2. Added

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish read-only, non-destructive, open-world behavior. The description goes further by disclosing the fixed-supply assumption and the failure mode (comparable=false plus error when either market cap can't be resolved), which is genuinely useful operational context. It does not cover rate limits or latency, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then scope, then caveats, then return shape. Sentences are dense but each carries information; the parentheticals and quoted example slightly lengthen it without waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description enumerates the return fields (multiplier, projectedValueUsd, projectedPriceUsd, profitUsd, comparable) and the error condition. Combined with full parameter coverage, an agent has everything needed to call and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond it: chains may be Solana or one of 5 EVM chains and the two tokens can reside on different chains, which explains why tokenChain and compareToChain exist as separate parameters. That cross-chain nuance is not obvious from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('compares two tokens' live market caps ... projects what an investment would be worth'), plus the cross-chain scope. No sibling in the list performs market-cap comparison, and the description makes the capability unmistakable even without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an explicit trigger phrase ('Use when user asks "what if this token reaches [other token]'s market cap?"') and bounds the tool's applicability by declaring it narrative-agnostic and pair-agnostic. It also clarifies the model's assumption ('snapshot ratio, not a forecast'), which tells the agent when the output is and isn't appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.