Skip to main content
Glama

chain_events

On-demand, decoded on-chain events for AI agents: query a contract's event logs on Base (eth_getLogs) and get normalized, human-readable events — Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn — with raw topics for unknown signatures. Filter by event name, full signature or topic0, and by block range or lookback. Decoded event feed with no RPC setup, block span capped. Price: $0.05 per call (x402 payment, USDC on Base mainnet). Decoded, normalized on-chain events via eth_getLogs on Base: Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn — raw topics for unknown signatures. Filter by event name/signature/topic0 and block range. Input: contract (+event, block range/lookback).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventNoEvent name (Transfer/Approval/Swap/Mint/Burn/TransferSingle/Sync), full signature 'Transfer(address,address,uint256)', or 0x topic0. Omit for all.
limitNoMax events (1-100, most recent in range)
contractYesContract address to read logs from (0x + 40 hex)
lookbackNoIf from/to omitted, scan the last N blocks (1-5000, default 2000)
to_blockNoEnd block (inclusive). Omit for latest.
from_blockNoStart block (inclusive). Omit to use lookback.

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses read-only behavior (queries logs), pricing ($0.05/call via x402), block span cap, and that unknown signature topics are returned raw. However, it does not mention retry behavior, error handling, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is repetitive (e.g., nearly identical opening sentences), includes pricing in the middle of the function description, and is overly long. Could be trimmed to one clear paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers main features (supported events, filtering, block range, pricing) but lacks details about the output format (structure of decoded events, pagination, or how to handle raw topics). Since there is no output schema, more guidance on return values is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% coverage, baseline 3. Description adds context: lists example event names, explains the relationship between from_block, to_block, and lookback, and gives default values. This adds meaning beyond the schema's terse descriptions.

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 it queries decoded on-chain event logs from a contract on Base, filtering by event name/signature/block range, and explicitly lists supported event types. It distinguishes from sibling blockchain tools (e.g., crypto_token_dossier) by focusing on raw event logs rather than token metadata or safety.

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?

Implied usage is for querying on-chain events, but no explicit guidance on when to use this tool versus related tools like crypto_wallet_xray or solana_token_safety. No exclusion criteria or alternatives mentioned.

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.

TDQS

A3.5/5.0
Disambiguation4/5

Most tools have distinct purposes with detailed descriptions. However, there are clusters of similar tools (e.g., multiple token safety and pre-trade verdict tools for different chains) that could cause confusion, though descriptions help differentiate.

Naming Consistency5/5

All tool names follow a consistent pattern of lowercase snake_case with descriptive prefixes (e.g., agent_, crypto_, x402_). No mixing of conventions or ambiguous names.

Tool Count2/5

52 tools is excessive for a single server, covering a wide range of unrelated domains (crypto, legal, climate, transport, etc.). This overwhelms an agent and suggests a lack of focus.

Completeness2/5

The server lacks a coherent domain; it offers one-off tools across many areas but misses fundamental operations for any specific domain (e.g., no company registry for US, no order placement for crypto). Significant gaps exist.

Resources