Skip to main content
Glama

Adamik MCP Server

Official

getTokenDetails

Fetch token details (ERC-20, TRC-20, SPL, etc.) including decimals for converting raw token amounts into human-readable values. Use this tool to ensure accurate balance display across multiple blockchains.

Instructions

Fetches information about a non-native token (ERC-20, TRC-20, SPL, etc.) - not the chain's native currency. CRITICAL: This provides the 'decimals' field needed to convert raw token amounts from getAccountState() to human-readable values. Always call this for each token when displaying balances: human_readable = raw_amount ÷ 10^token_decimals

Input Schema

NameRequiredDescriptionDefault
chainIdYes
tokenIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "type": "string" }, "tokenId": { "type": "string" } }, "required": [ "chainId", "tokenId" ], "type": "object" }

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

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