Skip to main content
Glama

Sei event logs

sei_logs
Read-only

Recent contract event logs on Sei (eth_getLogs): the events a contract emitted over the last N blocks (1-1,000, default 50), optionally filtered by topic0 (the 0x 32-byte event signature hash). Returns up to 100 logs with block, transaction hash and topics. Use to watch transfers or contract events; for one transaction's outcome use sei_receipt. Example: address=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
blocksNoHow many recent blocks to scan (1-1000, default 50)
topic0NoOptional 0x event signature hash to filter by
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint and openWorldHint, so the bar is lower, yet the description still adds real behavior: a 100-log result cap, block-range limits, and that each call is billed ($0.01, first 25 free, failed calls free) so repeats are not free. That billing/idempotency context is exactly the kind of trait an agent cannot infer from structured fields.

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-loaded with the core verb and resource, and every clause carries information (range, filter, return shape, alternative, price). The second half is dense with semicolon-joined clauses on billing and safety, which is efficient but slightly harder to scan.

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?

No output schema exists, so the description supplies the return shape itself ('up to 100 logs with block, transaction hash and topics'), plus scan limits, filtering, alternative routing and pricing. Nothing material is missing for calling this tool 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 all three parameters are already documented, including the 1-1000/default-50 range on blocks. The description restates the block range and expands topic0 only slightly ('0x 32-byte event signature hash'), which largely mirrors the schema text; the example address is a sample value rather than added semantics.

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 ('Recent contract event logs on Sei (eth_getLogs)') plus the scope of what is returned. It distinguishes itself from the nearest sibling by naming sei_receipt as the tool for single-transaction outcomes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use to watch transfers or contract events; for one transaction's outcome use sei_receipt' gives a clear condition and explicitly routes one case to an alternative. It does not clarify the boundary against sei_token_transfers, which is arguably the most tempting sibling for the 'watch transfers' use case it recommends.

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