Skip to main content
Glama

Token transfers, Optimism

op_token_transfers
Read-only

List a wallet's recent transfers of one ERC-20 token (default USDC) on Optimism, in and out, over the last N blocks (1-2,000, default 1,000): direction, counterparty, amount and transaction, newest first, up to 50. Use to confirm a payment arrived or see what was sent; for the current balance use op_token_balance. Malformed addresses are rejected with 400, uncharged. Example: address=0x9a13f98cb987694c9f086b1f5eb990eea8264ec3. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "address": "<address>"
    },
    "name": "op_token_transfers"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoToken: a ticker such as USDC, USDT or WETH, or the 0x ERC-20 contract (default: USDC on this network)
blocksNoHow many recent blocks to scan (1-2000, default 1000; 2,000 blocks is about 67 minutes on Optimism)
addressYes0x wallet or contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / token / description
      Previous value: -"Token: a ticker such as USDT or WETH, or the 0x ERC-20 contract (default: USDC on this network)"New value: +"Token: a ticker such as USDC, USDT or WETH, or the 0x ERC-20 contract (default: USDC on this network)"
  2. Changed2 schema fields changed
    • changedInput schema / properties / blocks / maximum
      Previous value: -9007199254740991New value: +2000
    • changedInput schema / properties / blocks / minimum
      Previous value: --9007199254740991New value: +1
  3. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"0x wallet address"New value: +"0x wallet or contract address"
  4. Changed2 schema fields changed
    • changedInput schema / properties / blocks / description
      Previous value: -"How many recent blocks to scan (1-2000, default 1000)"New value: +"How many recent blocks to scan (1-2000, default 1000; 2,000 blocks is about 67 minutes on Optimism)"
    • changedInput schema / properties / token / description
      Previous value: -"0x ERC-20 token contract (default: USDC on this network)"New value: +"Token: a ticker such as USDT or WETH, or the 0x ERC-20 contract (default: USDC on this network)"
  5. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this ('reads or computes only and changes nothing'). It goes further with cost behavior ($0.01/call, first 10 free, failed calls free, repeats charged — which explains the idempotentHint=false), plus the 400-on-malformed-address behavior and the 50-result cap. The only gap is that it doesn't say what happens when no transfers are found in the window.

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?

Front-loaded with the core operation, then usage, then error/pricing details — a sensible ordering with no filler sentences. It is dense to the point of being crowded, packing pricing, example address and failure semantics into one paragraph, but each element carries information.

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

Completeness5/5

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

With no output schema, the description steps in and describes the return shape: direction, counterparty, amount, transaction, newest first, up to 50. Combined with the cost and error behavior, an agent has everything needed to call it correctly and interpret the result.

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 all three parameters are already documented including ranges and defaults. The description largely restates the block range and USDC default, adding only a sample address as extra signal. Baseline 3 is appropriate when the schema carries the semantics.

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 ('List a wallet's recent transfers of one ERC-20 token'), the network (Optimism), the direction scope (in and out), and the block window. It explicitly separates itself from op_token_balance, so an agent can pick the right tool without opening either schema.

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

Usage Guidelines5/5

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

Gives concrete use cases ('confirm a payment arrived or see what was sent') and names the alternative for the adjacent need ('for the current balance use op_token_balance'). The when-not condition is explicit rather than inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources