Skip to main content
Glama

Celo event logs

celo_logs
Read-only

Recent contract event logs on Celo (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 celo_receipt. Example: address=0x471EcE3750Da237f93B8E339c536989b8978a438. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "address": "<address>"
    },
    "name": "celo_logs"
  }
}

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. Changed2 schema fields changed
    • changedInput schema / properties / blocks / maximum
      Previous value: -9007199254740991New value: +1000
    • changedInput schema / properties / blocks / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true and idempotentHint=false, and the description reinforces rather than contradicts them ("Reads or computes only and changes nothing"; "each call is charged, so repeats are not free" explains why idempotency does not apply). It adds genuinely useful behavior beyond the annotations: the default and maximum block scan, the 100-log cap, and the cost model ("$0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free"). The only gap is how to page past the 100-log cap or scan older history.

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 purpose, then scope, return shape, usage routing, example, and pricing. Dense and mostly earning its place, though the pricing/"changes nothing" tail is slightly repetitive against the annotations and the example address sentence could be folded in.

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 carries the return-value burden and does so (block, transaction hash, topics, 100-log cap). Given the openWorld read tool with 3 params it is essentially complete, but it never explains what happens when more than 100 logs match or how to reach blocks older than the 1,000-block window.

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 still adds meaning: it calls topic0 out as a 32-byte signature hash (the schema only says "event signature hash") and supplies a worked address example showing the expected 0x checksummed format plus the default of 50 blocks. Marginal but real value over the structured fields.

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 ("Recent contract event logs on Celo (eth_getLogs)") plus the scope of what is fetched (events a contract emitted over the last N blocks) and what is returned (up to 100 logs with block, transaction hash and topics). It explicitly distinguishes itself from the sibling celo_receipt, so an agent can route without opening either 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 a concrete when-to-use ("Use to watch transfers or contract events") and names the alternative for the other case ("for one transaction's outcome use celo_receipt"). The condition that selects between the two is explicit rather than inferred.

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