Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

manage_approvals

Audit and revoke risky token approvals for your wallet to enhance security by identifying and managing smart contract permissions on blockchain networks.

Instructions

Manage token approvals for a wallet.

Args: wallet_address: The wallet address to check chain: Blockchain network action: Action to perform. Options: list, revoke_risky

Returns: List of token approvals with risk assessment.

Price: $0.30

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_addressYes
chainNoethereum
actionNolist

Implementation Reference

  • The manage_approvals tool handler is registered as an MCP tool and calls the 'approval-manager' service with the provided wallet address, chain, and action.
    @mcp.tool()
    async def manage_approvals(wallet_address: str, chain: str = "ethereum", action: str = "list") -> str:
        """
        Manage token approvals for a wallet.
        
        Args:
            wallet_address: The wallet address to check
            chain: Blockchain network
            action: Action to perform. Options: list, revoke_risky
        
        Returns:
            List of token approvals with risk assessment.
        
        Price: $0.30
        """
        payload = {
            "walletAddress": wallet_address,
            "chain": chain,
            "action": action
        }
        result = await call_coinrailz_service("approval-manager", 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