Skip to main content
Glama

Token transfers, Linea

linea_token_transfers
Read-only

List a wallet's recent transfers of one ERC-20 token (default USDC) on Linea, 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 linea_token_balance. Malformed addresses are rejected with 400, uncharged. Example: address=0x90e8a5b881d211f418d77ba8978788b62544914b. 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": "linea_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 5.6 hours on Linea)
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 / blocks / description
      Previous value: -"How many recent blocks to scan (1-2000, default 1000; 2,000 blocks is about 2.4 hours on Linea)"New value: +"How many recent blocks to scan (1-2000, default 1000; 2,000 blocks is about 5.6 hours on Linea)"
  4. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"0x wallet address"New value: +"0x wallet or contract address"
  5. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing error behavior (malformed addresses rejected with 400, uncharged), pricing ($0.01/call, first 10 free, failed calls free), and the reason repeats aren't free, which explains the idempotentHint=false flag. "Reads or computes only and changes nothing" partly restates readOnlyHint/destructiveHint=false, so not every sentence is new information.

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-loads what the tool returns and how results are ordered/capped, then moves to usage and billing. Tight overall, though the pricing and no-side-effects clause in the final sentence is dense and could be trimmed.

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 still tells the agent exactly what comes back (direction, counterparty, amount, transaction) and the shape of the result (newest first, up to 50). Combined with cost and error handling, an agent can decide and call correctly without further information.

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 the token/blocks/address semantics and the block-time conversion are already documented there. The description adds the USDC default and a worked address example, but that is a modest increment over the schema, so the baseline 3 applies.

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") plus scope (Linea, last N blocks, in and out). The network and token specificity distinguish it from the arb_/base_/eth_ transfer siblings without the agent needing to open 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 use cases ("confirm a payment arrived or see what was sent") and names the alternative for a different question: "for the current balance use linea_token_balance." The condition that selects the sibling is explicit, not 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