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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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)
Behavior2/5

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

With no annotations provided, the description carries full burden but offers limited behavioral insight. It mentions 'risk assessment' in returns and a price, but doesn't disclose critical details like required permissions, rate limits, whether revoke_risky is destructive, or error handling. For a tool with potential write operations (revoke_risky), this is a significant gap in transparency.

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?

The description is appropriately sized and front-loaded with the core purpose. The Args and Returns sections are structured clearly, and the price is efficiently noted. Every sentence earns its place, though the action options could be more detailed without sacrificing conciseness.

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

Completeness3/5

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

Given 3 parameters with 0% schema coverage, no annotations, but an output schema exists, the description is moderately complete. It covers basic purpose, parameters, and returns, but lacks behavioral context (e.g., safety of revoke_risky) and detailed usage guidelines. The output schema reduces need to explain return values, but more context on tool behavior is warranted.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It adds meaning by explaining wallet_address is 'to check', chain as 'Blockchain network', and action options ('list, revoke_risky'). However, it doesn't detail format requirements (e.g., wallet address validation), chain options beyond default, or what 'risky' means for revoke_risky. The description partially compensates but leaves gaps.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Manage token approvals for a wallet' with specific actions (list, revoke_risky) and mentions risk assessment. It distinguishes itself from siblings by focusing on token approvals rather than other wallet or blockchain operations. However, it doesn't explicitly differentiate from tools like 'get_wallet_risk_score' which might overlap in risk assessment.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives is provided. The description mentions actions but doesn't specify scenarios for choosing 'list' vs 'revoke_risky', prerequisites, or how it differs from sibling tools like 'get_wallet_risk_score' or 'detect_fraud'. Usage is implied through parameter descriptions but not clearly articulated.

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

Install Server

Other Tools

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