Skip to main content
Glama

evm_transfer_erc20

Destructive

Transfer ERC-20 tokens by specifying amount in the token's smallest unit. Verify decimals first to ensure accurate token transfer.

Instructions

Transfer ERC-20 tokens. Amount is in the token's smallest unit (e.g. for USDC with 6 decimals, '1000000' = 1 USDC). Use evm_get_token_balance to check decimals first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient address or ENS name
amountYesToken amount in smallest units (wei-equivalent)
chainIdNoChain ID (defaults to runtime config)
tokenAddressYesERC-20 token address
Behavior4/5

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

Annotations already disclose destructive and open-world behavior. The description adds valuable context by explaining the amount is in smallest units and giving a concrete USDC example, which goes beyond what annotations provide. It also directs the user to check decimals, a key behavioral nuance. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the action verb, and contains no filler. Every sentence contributes useful information: what it does, the unit nuance, and a practical tip.

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?

While the tool is straightforward and schema/annotations cover parameters and safety, the absence of an output schema means the description should explain expected return values (e.g., transaction hash, receipt). It does not, nor does it mention what happens after broadcast or any other prerequisites, leaving a gap in completeness.

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

Parameters4/5

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

Input schema has 100% coverage, so a baseline of 3 applies. The description adds extra meaning by providing a real-world example and cross-referencing evm_get_token_balance, particularly enriching the 'amount' parameter's semantics beyond the schema's 'wei-equivalent' note.

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 'Transfer ERC-20 tokens' with a specific verb and resource. It distinguishes itself from sibling tools like evm_transfer_native by explicitly focusing on ERC-20 tokens. The added decimal example reinforces the tool's specific purpose.

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 gives a clear prerequisite: 'Use evm_get_token_balance to check decimals first,' which guides the user on a necessary step. It implicitly indicates this is for ERC-20 transfers, but it does not explicitly name alternatives or state when not to use it. This is clear context but lacks explicit exclusions.

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/Apegurus/web3agent'

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