Skip to main content
Glama

evm_get_token_name

Retrieve the name of an ERC-20 token by specifying its chain and contract address, helping identify tokens during wallet, DeFi, or contract analysis.

Instructions

Get the name of an ERC-20 token

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "tokenAddress": "<tokenAddress>"
    },
    "name": "evm_get_token_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
tokenAddressYesERC-20 token contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It does not state that this is a read-only call, what happens when the address is not an ERC-20 contract or the call reverts, or how the chain parameter affects resolution — all material for an agent deciding whether to call it.

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?

A single front-loaded sentence with zero filler. It is appropriately sized in form but errs toward under-specification rather than verbosity.

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

Completeness2/5

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

With no annotations and no output schema, the description should at minimum characterise the return value (a string, and the possibility of an empty or bytes32-style name for some legacy tokens) and failure modes. None of that is present, leaving the definition thin for a two-required-parameter cross-chain call.

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

Parameters2/5

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

Schema coverage is only 50%: tokenAddress is documented but the seven-value chain enum carries no description in either the schema or the description. The description adds no meaning beyond the schema, such as address formatting or whether chain determines the RPC endpoint.

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?

States a specific verb and resource (get + ERC-20 token name), and the name distinguishes it from evm_get_token_symbol, evm_get_token_decimals, and evm_get_token_info. It does not, however, explain how 'name' differs from 'symbol', which is the most likely confusion given the sibling set.

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?

There is no when-to-use guidance, no mention of alternatives such as evm_get_token_info or evm_get_token_symbol, and no stated prerequisites (e.g. that tokenAddress must be a deployed ERC-20 contract). The agent must infer all routing from the tool name alone.

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

Deploy Server

Other Tools