Skip to main content
Glama

chain_event_logs

$0.005 via x402: raw event logs by contract address and/or indexed topics over a block range (eth_getLogs) — the indexing primitive. Defaults to a 25-block window and narrows automatically when a node refuses on result size, and every cap or narrowing that bit is named in the response instead of silently applied. Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis.

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon|gnosis (default base)
topic0NoEvent signature topic (32-byte 0x...)
topic1No
topic2No
topic3No
addressNoContract address to filter on (0x...)
toBlockNo
fromBlockNo
x_paymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

There are no annotations, so the description carries the full behavioral burden, and it does disclose meaningful traits: the $0.005 x402 price, a 25-block default window, automatic narrowing when a node refuses on result size, and that every cap/narrowing is named in the response rather than applied silently. It still omits return format specifics and any rate-limit or payment-flow detail beyond the price.

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?

One dense paragraph that is front-loaded with price and core purpose, then behavior, then scope. The trailing chain list is slightly redundant with the schema enum, but overall it is tight and every clause carries information.

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?

For a 9-parameter tool with no annotations and no output schema, the description covers purpose, key behavioral guarantees, and supported chains well. It stops short of explicitly restating the 'address or topic0 required' constraint (left to the schema) and gives no return-shape detail, but it is largely complete.

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 only 33% across 9 parameters, so the description must compensate. It does describe the address, topic, and block-range parameters in prose and lists the supported chains, but it says nothing about topic1-3 ordering, toBlock/fromBlock formats, or x_payment, so it only partially fills the gap left by the schema.

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+resource: raw event logs by contract address and/or indexed topics over a block range, and maps it to the underlying primitive (eth_getLogs), calling itself 'the indexing primitive.' This distinguishes it from sibling read tools like chain_batch_reads and get_chain_call without opening any schema.

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 establishes context by labeling itself 'the indexing primitive' and describing the contract-address/topic/block-range shape, which implies when it is the right tool. However, it never names an alternative or states an explicit when-not condition versus siblings such as chain_batch_reads or get_chain_call, leaving routing to inference.

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.