Skip to main content
Glama

transfer_token

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.

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

NameRequiredDescriptionDefault
toYesRecipient address (0x-prefixed for EVM, Base58 for Solana)
tokenYesToken address (0x-prefixed ERC-20 contract for EVM, Base58 mint for Solana)
amountYesAmount in human-readable format (e.g. "100" for 100 USDC)
chain_idYesChain ID
decimalsNoToken decimals. Resolved from the registry or the token contract when omitted; if given, it must match
wallet_idYesWallet ID to send from

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.14.2
    • removedInput schema / properties / decimals / default
      Removed value: -18
    • changedInput schema / properties / decimals / description
      Previous value: -"Token decimals (6 for USDC, 18 for most tokens)"New value: +"Token decimals. Resolved from the registry or the token contract when omitted; if given, it must match"
    • addedInput schema / properties / decimals / maximum
      Added value: +36
    • addedInput schema / properties / decimals / minimum
      Added value: +0
    • addedInput schema / properties / to / pattern
      Added value: +"^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$"
  2. First observedv1.7.3

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. 'Signs and broadcasts the transaction' is a genuinely useful disclosure beyond the schema, but it omits irreversibility, gas/fee source, confirmation behavior, and required permissions for a mutation tool that moves funds.

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?

Three short sentences, front-loaded with the core action and resource, with no wasted filler. The trailing 'Use get_chains to find stablecoin addresses' is slightly tangential but still earns its place as a cross-tool pointer.

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?

No output schema or annotations exist, so the description must fully inform the agent. It covers the signing/broadcast behavior and amount format but is silent on gas handling, failure modes, and whether a native-token or approval prerequisite applies to a fund-moving tool with six parameters.

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 six parameters including the human-readable amount format and decimals resolution rule. The description only restates the amount convention, adding no parameter meaning beyond the structured data, so the baseline 3 applies.

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 (Send) and resource (ERC-20 tokens on EVM / SPL tokens on Solana) with the address target, which is clear. However, it never distinguishes itself from the sibling 'transfer' or 'send_transaction', leaving the agent to infer which tool handles which asset type.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an implied usage hint ('Use get_chains to find stablecoin addresses') and the human-readable amount convention, but gives no when-to-use guidance relative to the many sibling transfer/send/sign tools. The distinction between this and 'transfer' or 'send_transaction' is left entirely to inference.

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