Skip to main content
Glama

evm events

evm_events
Read-only

Decoded contract events from recent blocks: give a contract address and an event signature ("Transfer(address indexed from, address indexed to, uint256 value)"), optionally filter on any indexed argument by name, and get the matching logs from the last N blocks decoded to named fields with block, transaction and log index. No ABI file, no RPC key. Base, Ethereum, Arbitrum, Optimism, Polygon; up to 5,000 blocks and 200 events per call. $0.004. Costs $0.004 USDC per call (x402).

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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNooptional filter on the indexed argument named to
fromNooptional filter on the indexed argument named from
chainNobase (default), ethereum, arbitrum, optimism, polygon
eventYesevent signature with indexed markers
limitNomax 200
blocksNohow many recent blocks to scan, default 200, max 5000
addressYescontract that emits the event

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses cost ($0.004 USDC per call via x402), hard caps (5,000 blocks, 200 events), supported chains, and two behavioral booleans the annotations do not cover: no ABI file and no RPC key required. That is substantial added context for an agent deciding whether to call it.

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

Conciseness3/5

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

The main sentence is dense but front-loaded and informative. However, the cost is stated twice ('$0.004.' then 'Costs $0.004 USDC per call (x402)'), which is redundant and wastes a sentence in an otherwise tight definition.

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?

There is no output schema, yet the description explains that results are decoded to named fields with block, transaction, and log index, so an agent knows what comes back. Combined with cost, limits, chains, and the ABI/RPC-free behavior, it is complete for this tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning by showing the exact event-signature syntax with indexed markers and explaining that any indexed argument can be filtered by name — which is why the 'from'/'to' extras exist. It doesn't cover 'limit' or 'blocks' specifics beyond what the schema already says.

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 description uses a specific verb and resource ('Decoded contract events from recent blocks') and states the required inputs (contract address + event signature). It does not explicitly differentiate itself from similarly named siblings such as 'events' or 'events_query', so it falls just short of a 5.

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?

It explains the calling pattern (give address and event signature, optionally filter on an indexed argument by name) and the supported chains, which implies usage. It never states when to prefer this over alternatives like 'events' or 'rpc', nor any when-not conditions.

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