Skip to main content
Glama

evm_get_transaction_analytics

Analyze an EVM account's transaction frequency, gas usage, and activity trends across recent blocks to identify patterns and peak times.

Instructions

Analyze transaction patterns: frequency, gas usage, and activity trends.

CRITICAL RULES:

  • Read-only operation

  • Default: 1000 recent blocks

  • Computationally intensive

  • Rate limits may apply

PARAMETERS:

  • chain: EVM chain (required)

  • address: Account to analyze (required)

  • blockRange: Blocks to scan (optional, default: 1000)

EXAMPLES: ✅ Transaction patterns: {chain: "ethereum", address: "0x742d35Cc..."} ✅ Last 500 blocks: {chain: "polygon", address: "0x742d35Cc...", blockRange: 500}

SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559

CRITICAL GAS CONSIDERATIONS:

  • Ethereum: High gas costs, use gas oracle for timing

  • Polygon/BSC: Very low gas, safe for frequent transactions

  • Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum

  • Avalanche: Dynamic fees, can spike during congestion

  • Always check gas price before executing transactions

TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.

OUTPUT STRUCTURE: • frequency: Transactions per day • gasUsage: Average and total gas • patterns: Peak activity times • types: Contract vs transfer ratio

Running on Linux.

LINUX-SPECIFIC NOTES:

  • Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)

  • Python 3 is typically 'python3' command

  • GNU tools are standard

  • Use 'xdg-open' command to open files/applications

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

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain to query
addressYesEthereum address (0x...)
blockRangeNoNumber of recent blocks to analyze (default: 1000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral load; it does disclose read-only behavior, that the operation is computationally intensive, that rate limits may apply, and the default block range, which are genuinely useful. But it also injects guidance about checking gas prices before executing transactions, which does not apply to a read-only analytics call and could mislead an agent about side effects, and it never explains what happens when the address has no activity or the range exceeds limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The front-loaded purpose and rules are good, but the body is heavily padded with irrelevant material: a full Linux package-manager note, a paragraph about xdg-open, and a gas-timing section aimed at transaction senders. These paragraphs do not earn their place in a read-only analytics definition and bury the useful content.

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

Completeness3/5

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

The inclusion of an OUTPUT STRUCTURE section compensates for the absent output schema, and the chain list covers the enum fully, so an agent can form a correct call. Completeness is undermined by the off-topic Linux and gas-execution sections, and no error or empty-result behavior is described for a computationally intensive scan.

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 chain, address, and blockRange are already documented in the schema, making 3 the baseline. The description adds marginal value: examples show a realistic address format and a non-default blockRange of 500, plus chain enumeration detail, but no extra constraints or format semantics beyond the schema.

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?

The opening line states a specific verb and resource ("Analyze transaction patterns: frequency, gas usage, and activity trends") and the output structure confirms it returns aggregates rather than raw transactions, which distinguishes it from evm_get_transaction_history. It stops short of naming any sibling explicitly, so differentiation is inferred.

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?

Two concrete examples show invocation shape and the default 1000-block window is stated, so usage is implied. However, there is no explicit when-to-use versus evm_get_account_analytics or evm_get_transaction_history, and no stated conditions under which the tool should be avoided beyond the vague "rate limits may apply".

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

Deploy Server

Other Tools