Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

get_token_metadata

Retrieve ERC-20 token metadata including name, symbol, decimals, and total supply by providing the contract address and blockchain network.

Instructions

Get metadata for any ERC-20 token including name, symbol, decimals, and total supply.

Args: token_address: The token contract address (0x...) chain: Blockchain network. Options: ethereum, base, polygon, bsc, arbitrum, optimism

Returns: Token metadata including name, symbol, decimals, total supply.

Price: $0.10 (FIRST CALL FREE for new users!)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_addressYes
chainNoethereum

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The implementation of the 'get_token_metadata' tool handler in the MCP framework.
    @mcp.tool()
    async def get_token_metadata(token_address: str, chain: str = "ethereum") -> str:
        """
        Get metadata for any ERC-20 token including name, symbol, decimals, and total supply.
        
        Args:
            token_address: The token contract address (0x...)
            chain: Blockchain network. Options: ethereum, base, polygon, bsc, arbitrum, optimism
        
        Returns:
            Token metadata including name, symbol, decimals, total supply.
        
        Price: $0.10 (FIRST CALL FREE for new users!)
        """
        payload = {"tokenAddress": token_address, "chain": chain}
        result = await call_coinrailz_service("token-metadata", payload)
        return json.dumps(result, indent=2)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the tool's read-only nature implicitly through 'Get' and lists return fields, but lacks details on error handling, rate limits, authentication needs, or whether it's a paid service beyond the pricing footnote. The description doesn't contradict any annotations (none exist), but could provide more behavioral context.

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 well-structured with clear sections (purpose, args, returns, price) and front-loaded the core functionality. The pricing footnote, while useful for cost awareness, slightly detracts from pure conciseness as it's not essential for tool selection. Overall, most sentences earn their place.

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

Completeness4/5

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

Given 2 parameters with 0% schema coverage and an output schema (which handles return values), the description is mostly complete. It explains both parameters thoroughly and states the return fields. However, for a tool with no annotations, it could better address behavioral aspects like error cases or rate limits to be fully comprehensive.

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

Parameters5/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 fully. It successfully does so by explaining both parameters: token_address ('The token contract address (0x...)') and chain ('Blockchain network. Options: ethereum, base, polygon, bsc, arbitrum, optimism'), including the enum values for chain. This adds crucial meaning beyond the bare schema.

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?

The description clearly states the specific action ('Get metadata') and resource ('ERC-20 token'), listing the exact fields returned (name, symbol, decimals, total supply). It distinguishes itself from sibling tools like get_token_price or get_token_sentiment by focusing on static token metadata rather than price, sentiment, or other dynamic data.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: to retrieve basic token information. However, it doesn't explicitly mention when NOT to use it or name specific alternatives among the sibling tools (e.g., get_token_price for price data, get_token_sentiment for sentiment analysis). The pricing information implies usage considerations but isn't a functional guideline.

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