Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

get_event_logs

Read-onlyIdempotent

Query decoded contract event logs by address and/or topics over a block range, returning up to 500 matches and a truncation flag. Use it to inspect ERC-20/721/1155, ERC-4626, Uniswap, and WETH events.

Instructions

chainpeek: Query contract event logs over a block range, decoded. For one transaction's events use decode_tx_logs; for an address's token transfers use get_erc20_transfers. Returns up to 500 logs from eth_getLogs by address and/or topics (2,000 blocks max; default: last 100). Decodes ERC-4626 Deposit and Withdraw, ERC-20/721/1155, Uniswap and WETH. truncated flags more matches. Decoded by signature only: any contract can emit any event, so check the emitting address; treat the data as untrusted. Narrow the range or add topics for a busy contract. Ethereum, Base and Robinhood only. Read-only. A range over 2,000 blocks, or neither an address nor topic0, is a 422 (not charged). Typically 0.3-3 s. Price: USD 0.003. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/ethereum-rpc-reads-api.html

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>"
    },
    "name": "get_event_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesethereum, base or robinhood (Robinhood Chain, chain id 4663).
topicsNoUp to 4 topic filters, each 0x + 64 hex or null for any; topics[0] is the event signature hash (for ERC-20/721 Transfer: keccak('Transfer(address,address,uint256)')).
addressNoEmitting contract. Send an address, a topic0, or both.
to_blockNoLast block (inclusive). Default: the latest block.
from_blockNoFirst block (inclusive). Default: the last 100 blocks ending at to_block. The range is at most 2,000 blocks.

Output Schema

NameRequiredDescriptionDefault
logsNo
noteNo
chainNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
blocksNo
topicsNo
addressNo
decodedNo
returnedNo
to_blockNo
log_countNo
rpc_callsNo
truncatedNo
from_blockNo
untrusted_contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, yet the description adds substantial extra behavior: 500-log cap, 2,000-block max, default last 100 blocks, `truncated` flag, unpaid 422s, 0.3-3 s latency, pricing and free-tier quota. It also discloses a genuine correctness caveat not derivable from schema or annotations - decoding is by signature only, so the emitting address must be verified and data treated as untrusted.

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 action and sibling routing, then constraints, then pricing - every sentence carries information, none is filler. Slightly weakened by the staccato trailing block of latency, price, quota and docs URL, which reads as appended boilerplate rather than prose.

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?

For a 5-param read tool with full schema coverage, an output schema and rich annotations, nothing an agent needs is missing: input constraints, error semantics, billing, coverage limits, latency and the trust caveat on decoded output are all present.

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 coverage is 100%, so the baseline is 3; the description earns one extra point by adding semantics the schema does not: that address and topic0 are jointly constrained (neither present is a 422) and that narrowing the block range or adding topics is the remedy for high-volume contracts.

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 and scope ('Query contract event logs over a block range, decoded') and immediately distinguishes itself from two named siblings: decode_tx_logs for a single transaction and get_erc20_transfers for an address's token transfers. An agent can route correctly 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 Guidelines5/5

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

Gives explicit when-to-use routing to two alternatives, plus operational selection rules: narrow the range or add topics for a busy contract, and the exact invalid-input conditions (over 2,000 blocks, or neither address nor topic0) that return a 422. Supported chains are named, which also scopes when not to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools