Skip to main content
Glama

Agent Data Tools: Chain data

Optimism wallet token transfers

op_token_transfers

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. Price $0.003/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only; not marked read-only because each call is charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNo0x ERC-20 token contract (default: USDC on this network)
blocksNoHow many recent blocks to scan (1-2000, default 1000)
addressYes0x wallet address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-read-only, non-idempotent, open-world, non-destructive, but the description goes well beyond them: it explains WHY readOnlyHint is false (each call is charged), documents pricing and payment paths, and states failure semantics ('malformed addresses rejected with 400, uncharged', 'failed calls free'). That is exactly the extra behavioral context a charged, stateful-looking call needs.

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?

Front-loaded with the core operation, scope, and ordering, then payment/pricing and failure rules in terse clauses. Every sentence earns its place — the pricing and 400-rejection notes are not padding for a paid endpoint.

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 supplies the return shape (direction, counterparty, amount, transaction), ordering (newest first) and cap (up to 50), plus cost and failure behavior. Given the tool's complexity and its absence of an output schema, an agent has everything needed to call it 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 the schema already documents token (0x ERC-20, default USDC) and blocks (1-2000, default 1000). The description restates those same ranges and defaults rather than adding syntax or edge-case meaning, so per the high-coverage baseline this is a 3. The only genuinely new constraint, the 'up to 50' result cap, is an output property rather than a parameter.

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 (default USDC) on Optimism, in and out' — plus scope (last N blocks, newest first, up to 50). It explicitly names op_token_balance as the tool for a different question, so an agent can distinguish it from siblings without opening any 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 when-to-use triggers ('confirm a payment arrived or see what was sent') and names the alternative with the condition that selects it ('for the current balance use op_token_balance'). Nothing is left to inference.

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.