Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

get_risk_metrics

Analyze token risk by calculating volatility, VaR, max drawdown, and other metrics using token address and blockchain network data.

Instructions

Get comprehensive risk metrics for a token.

Args: token_address: The token contract address (0x...) chain: Blockchain network

Returns: Volatility, VaR, max drawdown, and other risk metrics.

Price: $0.40

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_addressYes
chainNoethereum

Implementation Reference

  • The tool 'get_risk_metrics' is defined and registered using the @mcp.tool() decorator. It calls the 'risk-metrics' endpoint via 'call_coinrailz_service'.
    @mcp.tool()
    async def get_risk_metrics(token_address: str, chain: str = "ethereum") -> str:
        """
        Get comprehensive risk metrics for a token.
        
        Args:
            token_address: The token contract address (0x...)
            chain: Blockchain network
        
        Returns:
            Volatility, VaR, max drawdown, and other risk metrics.
        
        Price: $0.40
        """
        payload = {"tokenAddress": token_address, "chain": chain}
        result = await call_coinrailz_service("risk-metrics", payload)
        return json.dumps(result, indent=2)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tdnupe3/mcp-server-coinrailz'

If you have feedback or need assistance with the MCP directory API, please join our Discord server