Skip to main content
Glama

Agent Data Tools: Chain data

arb_logs

Recent event logs emitted by a contract on Arbitrum One over the last N blocks (up to 1,000), optionally filtered by topic0 (event signature hash). Returns up to 100 logs with block, transaction hash and topics. Use to watch transfers or contract events. Costs $0.001 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON 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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With annotations present, the description still adds meaningful context: the $0.001 USDC/x402 cost, that charging applies only on success, and that it returns up to 100 logs. This is genuinely beyond what the hints convey. The readOnlyHint=false is explained by the payment side effect rather than contradicted by the read-oriented prose.

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-loads the core purpose, then tacks on returns, usage and cost in short declarative sentences. Efficient overall, though the cost sentence sits at the end and could be folded in earlier.

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?

With no output schema, the description usefully spells out the return shape (block, transaction hash, topics) and the 100-log cap. Covers purpose, params, returns, cost and usage; only failure/empty-result behavior is unaddressed.

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 blocks, topic0 and address are already documented. The description restates the 'up to 1,000 blocks' bound and clarifies topic0 as an event signature hash, but adds little beyond the schema, so the baseline 3 applies.

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 ('event logs emitted by a contract on Arbitrum One') and scopes it precisely to the last N blocks. The chain qualifier cleanly distinguishes it from its near-identical siblings eth_logs, base_logs, op_logs and polygon_logs without needing to name them.

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?

Offers a light use case ('Use to watch transfers or contract events') but no when-not guidance and no routing to alternative chains or the other log tools. Usage is implied rather than specified.

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