Skip to main content
Glama

transfer_token

Send ERC-20 or SPL tokens to addresses on EVM or Solana chains. Specify amounts in human-readable format, sign transactions, and broadcast transfers using wallet infrastructure.

Instructions

Send ERC-20 tokens (EVM) or SPL tokens (Solana) to an address. Specify the amount in human-readable format (e.g. "100" for 100 USDC). Signs and broadcasts the transaction. Use get_chains to find stablecoin addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_idYesWallet ID to send from
tokenYesToken address (0x-prefixed ERC-20 contract for EVM, Base58 mint for Solana)
toYesRecipient address (0x-prefixed for EVM, Base58 for Solana)
amountYesAmount in human-readable format (e.g. "100" for 100 USDC)
chain_idYesChain ID
decimalsNoToken decimals (6 for USDC, 18 for most tokens)
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 key behavioral traits: it 'Signs and broadcasts the transaction' (indicating a write operation with network interaction) and mentions the human-readable amount format. However, it lacks details on permissions needed, rate limits, error conditions, or what happens on failure.

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 front-loaded with the core purpose, followed by key usage details and a helper reference. Every sentence earns its place with no wasted words, making it efficient and easy to parse.

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?

For a complex write operation (token transfer) with no annotations and no output schema, the description is moderately complete. It covers the action, key behavioral aspects (signing/broadcasting), and parameter hints, but lacks details on return values, error handling, or security prerequisites, which are important for such a tool.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value by reiterating the human-readable amount format and hinting at token address formats, but does not provide additional semantic context beyond what's in the 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 ('Send ERC-20 tokens (EVM) or SPL tokens (Solana) to an address'), identifies the resource (tokens), and distinguishes from siblings like 'transfer' (which might be generic) or 'send_transaction' (which might be for native currency) by specifying token types and formats.

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 (sending tokens, not native currency) and references 'get_chains' as a helper for finding addresses, but does not explicitly state when not to use it or name specific alternatives like 'send_transaction' for ETH transfers.

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/hifriendbot/agentwallet-mcp'

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