Skip to main content
Glama

Avalanche event logs

avax_logs
Read-only

Recent contract event logs on Avalanche (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 avax_receipt. Example: address=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E. 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.3/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing cost ($0.01/call via x402 USDC or card key), that the first 25 calls are free and failed calls are free, and that repeats are charged — consistent with idempotentHint=false. It also bounds the output ('up to 100 logs with block, transaction hash and topics'), which annotations cannot express.

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?

Core semantics, the alternative pointer and an example are front-loaded in the first two sentences; the pricing/cost sentence is long but earns its place for an agent budgeting calls. Slight density, but no filler.

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?

Covers return shape, filterable fields, cost model and the read-only guarantee, which is sufficient for a 3-parameter read tool with no output schema. It stops short of stating what happens when a query matches more than 100 logs (truncation vs error), the main residual ambiguity.

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% and the schema already documents blocks, topic0 and address with ranges and defaults. The description adds only a small gloss on topic0 (32-byte signature hash) and a concrete example address; it does not explain truncation behavior when more than 100 logs match. Baseline 3 is appropriate since the schema does the heavy lifting.

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 (eth_getLogs event logs for a contract on Avalanche), fixes the scan window (1-1,000 blocks, default 50) and the topic0 filter, and explicitly names the sibling it is not (avax_receipt) for single-transaction outcomes. An agent can distinguish it from avax_logs-style siblings on other chains and from avax_receipt without opening the schema.

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?

Gives a positive use case ('watch transfers or contract events') and an explicit exclusion pointing to avax_receipt for one transaction's outcome. One gap: for pure transfer watching, the sibling avax_token_transfers is arguably the better fit and is not mentioned, so routing is slightly incomplete.

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