Skip to main content
Glama

Get Token Transfers

get_token_transfers
Read-onlyIdempotent

Get token transfer events for an address, optionally filtered by token contract. Select the token standard: erc20 (fungible, default), erc721 (NFT), or erc1155 (multi-token).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_token_transfers"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based). Default 1. page x offset must be at most 10000; narrow the block range to see more.
sortNoSort order by block number. Default desc (newest first).
offsetNoRecords per page (max 10000). Default 100.
addressNoAccount address.
chainidNoNumeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1).
endblockNoEnd block number.
standardNoToken standard: erc20 (default), erc721, or erc1155.
startblockNoStart block number.
contractaddressNoToken contract address to filter by.

Output Schema

NameRequiredDescriptionDefault
dataYesThe JSON result returned by the Etherscan data tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / chainid / description
      Previous value: -"Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). Defaults to server config."New value: +"Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1)."
    • removedInput schema / properties / contractaddress / $ref
      Removed value: -"#/properties/address"
    • addedInput schema / properties / contractaddress / pattern
      Added value: +"^0x[a-fA-F0-9]{40}$"
    • addedInput schema / properties / contractaddress / type
      Added value: +"string"
    • changedInput schema / properties / offset / description
      Previous value: -"Records per page (max 10000)."New value: +"Records per page (max 10000). Default 100."
    • changedInput schema / properties / page / description
      Previous value: -"Page number (1-based)."New value: +"Page number (1-based). Default 1. page x offset must be at most 10000; narrow the block range to see more."
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order by block number."New value: +"Sort order by block number. Default desc (newest first)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        {
      +          "items": {},
      +          "type": "array"
      +        },
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The JSON result returned by the Etherscan data tool."
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered without description help. The description adds only the default-standard behavior (erc20 assumed), and says nothing about result volume, block-range narrowing, or the meaning of a broad query over many blocks.

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?

Two short sentences, front-loaded with the core action and scope, then the enum disambiguation. Nothing is redundant or padded, and the standard enumeration is the most useful secondary information to include.

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?

With an output schema present, return values need not be described, and the 100%-covered schema handles all nine parameters. The description is sufficient to call the tool correctly, though it omits any hint that block range and pagination interact (the schema's page x offset <= 10000 constraint) for an open-world, large-result query.

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 every one of the nine parameters (including block range, pagination, chainid, and sort) is already documented in the schema. The description merely restates the address, contract, and standard parameters and adds the parenthetical glosses "fungible/NFT/multi-token" for the enum values, which is marginal added meaning. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get token transfer events for an address") with the optional contract filter, which distinguishes it from balance-oriented siblings like get_token_balances. It does not explicitly name a sibling or contrast with get_transactions/get_logs, so it stops just short of full differentiation.

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

Usage Guidelines3/5

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

Implicit guidance comes from the phrase "for an address, optionally filtered by token contract," which tells an agent the tool is address-scoped and contract-filterable. There is no explicit when-to-use/when-not guidance and no mention of the alternative tools an agent might reach for instead (e.g. get_transactions for native transfers).

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