Skip to main content
Glama

evm-log-events

Retrieve decoded EVM event logs using contract address and topic signature. Filter by block range and chain to get up to 50 entries per call.

Instructions

Query EVM contract event logs via eth_getLogs. Filter by contract address, event topic (signature hash), and block range. Returns up to 50 decoded log entries with topics, data, tx hash, block number. Supports Ethereum/Base/Polygon/Arbitrum via free DRPC. $0.004/call — 20% below comparable market rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNoContract address to query logs from (e.g. '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' for WETH).
topic0NoEvent signature hash (topic[0]) to filter by. Common values: Transfer = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef', Approval = '0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925', Swap (Uniswap V2) = '0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822'.
from_blockNoStart block — integer, hex string, or tag (latest/earliest). Default: 100 blocks before latest.
to_blockNoEnd block — integer, hex string, or tag. Default: latest.
chainNoChain to query. Default: ethereum.
limitNoMax number of log entries to return (1–50). Default: 20.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool queries logs (implied read-only), returns up to 50 entries, and charges $0.004/call. Pricing and chain support are stated, but it does not explicitly state that the operation is read-only or non-destructive, which would be helpful.

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?

The description is concise (two sentences) yet packs essential information: purpose, filters, return format, chain support, and pricing. No fluff or repetition, every sentence adds value.

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?

Given the tool has no output schema, the description fully explains return data (decoded log entries with topics, data, tx hash, block number). It covers input filters, supported chains, and pricing, making it complete for an EVM log query tool with 6 optional parameters.

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% with detailed descriptions for each parameter (e.g., topic0 includes common values). The description adds overall context (e.g., 'up to 50 decoded log entries') but does not add additional meaning beyond what the schema already provides, so baseline score of 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?

The description clearly states the tool queries EVM contract event logs via eth_getLogs, lists filter options (address, topic, block range), and specifies return format (up to 50 decoded log entries with fields). It distinguishes itself from sibling crypto tools by focusing specifically on log events and mentions supported chains and pricing.

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?

The description provides usage context (supported chains, pricing) but does not explicitly state when to use this tool vs alternatives like tx-intel or eth-block. It implies usage for log queries but lacks exclusion criteria or alternative recommendations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thebrierfox/the-stall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server