Skip to main content
Glama

Transfer an ERC-20 token

transfer_token
Destructive

Send ERC-20 tokens from the agent wallet in whole-token amounts; each transaction is checked against the owner’s policy before signing.

Instructions

Send an ERC-20 token from the agent wallet. Amount is in whole tokens, e.g. "25.5". Every transaction is checked by Holdfast against the owner's policy before it is signed. If a request is blocked, do not retry it in a different form or split it up; tell the user what was blocked and why.

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": {
      "token": "<token>",
      "to": "<to>",
      "amount": "<amount>"
    },
    "name": "transfer_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient address
tokenYesERC-20 contract address
amountYesAmount in whole tokens, e.g. "25.5"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false, and openWorldHint=true, so the lower bar applies. The description still adds real behavioral context: every transaction passes a Holdfast policy check before signing, and blocked requests must not be worked around. It omits gas/fee behavior and whether a successful send returns a transaction hash.

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 short sentences, front-loaded with the action, then the amount convention, then the policy enforcement and no-retry rule. Nothing is redundant or wasted.

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?

For a three-required-parameter transfer with no output schema, the description covers what the tool does, its safety gate, and failure handling. Missing only peripheral details like fee handling and confirmation expectations, which are minor against annotations that already flag the mutation as destructive.

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 coverage is 100%, so all three parameters are already documented, including the whole-token amount format. The description repeats the amount example ("25.5") but adds no new meaning about token decimals, address format validation, or recipient constraints, so baseline 3 is correct.

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?

States a specific verb and resource ("Send an ERC-20 token") plus the source ("agent wallet"), which cleanly separates it from send_native and send_transaction siblings. An agent can pick it without opening the schema.

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 ERC-20 scoping implies when this applies versus native sends, and it adds concrete operative guidance for the blocked-request case (do not retry, reformulate, or split; report to the user). It stops short of naming the sibling tools or stating prerequisites such as balance or approval requirements.

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