Skip to main content
Glama
imelon2

blockscout-mcp-server

by imelon2

Get event logs by address

get_logs

Retrieve event logs emitted by a smart contract address on any supported blockchain. Use pagination cursors to navigate through large datasets.

Instructions

List event logs emitted by a contract/address. Large data fields are truncated. Paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain name or numeric chain ID, e.g. "ethereum" or "1". Use get_chains_list to discover supported chains.
cursorNoOpaque pagination cursor from a previous response's pagination.next_cursor.
addressYesThe 0x-prefixed contract/address whose logs to fetch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
notesNo
paginationNo
instructionsNo
data_descriptionNo
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 transparently discloses that large 'data' fields are truncated and that results are paginated. These are important behavioral traits for the agent to know. Could also mention ordering or error handling, but current disclosure is good.

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 consists of two concise sentences that front-load the primary purpose and then add key behavioral notes. Every sentence serves a purpose with no fluff.

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?

Given the presence of an output schema and three well-documented parameters, the description adequately covers the main purpose, pagination, and truncation. It could optionally mention ordering or filter capabilities, but is mostly complete for a simple log listing tool.

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?

All three parameters have descriptions in the input schema (100% coverage). The tool description does not add additional parameter semantics beyond what the schema already provides, 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?

The description clearly states 'List event logs emitted by a contract/address.' It uses a specific verb ('List') and resource ('event logs'), and distinguishes from sibling tools like get_transactions_by_address and get_token_transfers_by_address by specifying logs.

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 mentions pagination and truncation of large data fields, providing some usage context. However, it does not explicitly state when to use this tool versus siblings such as get_transactions_by_address or get_token_transfers_by_address, nor does it provide guidance on when not to use it.

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/imelon2/blockscout-mcp-server'

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