Skip to main content
Glama
chainfetch

ChainFETCH MCP Server

Official
by chainfetch

get_token_info

Retrieve detailed information about any Ethereum token using its address hash. Access token metadata, contract details, and blockchain data for analysis and verification.

Instructions

Get detailed information about a specific token

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe token address hash

Implementation Reference

  • The core handler logic for the 'get_token_info' tool. It extracts the token address from the input arguments and makes an authenticated GET request to the ChainFETCH API endpoint /api/v1/ethereum/tokens/{tokenAddress}.
    case 'get_token_info': const { token: tokenAddress } = args; return await this.makeRequest(`/api/v1/ethereum/tokens/${tokenAddress}`, 'GET', {}, null, token);
  • index.js:474-487 (registration)
    Registration of the 'get_token_info' tool in the MCP server's tools list, including its description and input schema validation.
    { name: 'get_token_info', description: 'Get detailed information about a specific token', inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'The token address hash', }, }, required: ['token'], }, },
  • Input schema definition for the 'get_token_info' tool, specifying a required 'token' string parameter.
    { name: 'get_token_info', description: 'Get detailed information about a specific token', inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'The token address hash', }, }, required: ['token'], }, },

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/chainfetch/chainfetch-mcp-server'

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