Skip to main content
Glama

prepare_token_send

DestructiveIdempotent

Build an unsigned ERC-20 transfer transaction for sending tokens. Supports sending full balance with 'max' and resolves token symbol ambiguities between native and bridged variants.

Instructions

Build an unsigned ERC-20 transfer transaction. Pass amount: "max" to send the full balance (resolved at build time). If the user named the token by symbol, call resolve_token first to disambiguate native-vs-bridged variants (USDC vs USDC.e on Arbitrum/Polygon/Optimism, USDC vs USDbC on Base) and surface the warning to the user before committing to a contract.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYes
chainNoethereum
tokenYes
toYes
amountYesHuman-readable decimal amount, NOT raw wei/base units. Example: "10" for 10 USDC. Decimals resolved from the token contract. Pass "max" to send the full balance.
Behavior4/5

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

Description adds context beyond annotations: it clarifies the tool builds an unsigned transaction (not yet on-chain), mentions the 'max' special case and token disambiguation workflow. Annotations already indicate destructive and idempotent hints, which align.

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?

Three concise sentences, front-loaded with the main purpose, followed by special behavior. No redundant or irrelevant information.

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

Completeness4/5

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

Given no output schema, the description adequately covers what the tool does and important usage notes. It could mention that the output is an unsigned transaction to be used with other tools, but the purpose is sufficiently clear.

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?

With only 20% schema description coverage, the description compensates by explaining the 'max' value for amount and giving context for token disambiguation. It adds meaning for two key parameters beyond 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?

Description clearly states it builds an unsigned ERC-20 transfer transaction, using specific verb (build) and resource (unsigned ERC-20 transfer). It distinguishes from siblings like prepare_native_send by specifying token and mentioning resolve_token for symbol disambiguation.

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?

Provides explicit guidance to call resolve_token first if the user provided a token symbol, and explains the special 'max' amount usage. However, it does not explicitly name alternatives or state when not to use this tool.

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/szhygulin/recon-crypto-mcp'

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