Skip to main content
Glama

ScorpTech x402 Tools

Evm Logs

evm_logs
Read-onlyIdempotent

Decoded event logs for any contract and event on Ethereum, Base, Arbitrum, OP Mainnet, Polygon or BNB Chain: give the event as a human signature (e.g. "Transfer(address indexed from, address indexed to, uint256 value)"), optional indexed-topic filters, and get the newest matching logs with named, ABI-decoded arguments (exact integers as strings, checksummed addresses). Scans backwards from the head with an adaptive block window. Keyless public RPC. Returns JSON with: chain, chainId, address, event, topic0, fromBlock, toBlock, blocksScanned. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-logs

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>",
      "event": "<event>"
    },
    "name": "evm_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoeth (default), base, arbitrum, optimism, polygon or bsc (chain ids and common aliases accepted)
eventYesEvent signature, e.g. "Swap(address indexed sender, uint256 amount0In, ...)". Mark indexed params; without "indexed" the first N params are assumed indexed from the topic count
limitNoMax logs returned, newest first
blocksNoMax blocks to scan back from toBlock
topic1NoFilter on the 1st indexed param: address, uint (decimal) or 32-byte hex
topic2NoFilter on the 2nd indexed param
topic3NoFilter on the 3rd indexed param
addressYesContract address emitting the event (0x, 20 bytes)
toBlockNoNewest block to scan (default head)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description adds real context beyond them: adaptive backward block-window scanning, keyless public RPC, $0.01 USDC x402 pricing per successful call, and an alternate HTTPS endpoint. It stops short of describing failure modes or what happens when the window finds nothing.

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 the core purpose and chain list, then layers filters, mechanics, return fields, and pricing in a logical order. It is dense but nearly every clause carries information; the trailing HTTPS URL is the only marginal addition.

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 compensates by enumerating the returned JSON fields (chain, chainId, address, event, topic0, fromBlock, toBlock, blocksScanned) and covering payment and transport, leaving nothing an agent needs to call it correctly.

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 schema already documents all nine parameters including the indexed-param assumption. The description adds only output-format meaning (integers as strings, checksummed addresses) and restates the event-signature example, so baseline 3 is appropriate.

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 ('Decoded event logs for any contract and event') plus the exact chains supported, and the generic-any-event scope distinguishes it from narrower siblings like evm_token_transfers.

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?

Explains how to invoke it (supply a human-readable event signature, optional indexed-topic filters, newest-first results) but never says when to prefer it over siblings such as evm_token_transfers or evm_read, and gives no exclusions or prerequisites beyond the payment note.

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