Skip to main content
Glama

Leash

Event stats

elysium_event_stats
Read-onlyIdempotent

Counts a contract's events in a block range, optionally sums a uint argument and groups by an address argument (top N). Reads at most 5 explorer pages (5,000 logs) and reports complete:false if there are more. Use a named signature, e.g. 'Transfer(address indexed from, address indexed to, uint256 value)'. On Robinhood Chain this tool is limited: results may be partial or temporarily unavailable due to RPC log limits. Chains: elysium (default), hyperevm, robinhood.

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>",
      "event": "<event>",
      "fromBlock": "<fromBlock>"
    },
    "name": "elysium_event_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
chainNoelysium (default), hyperevm or robinhoodelysium
eventYes
addressYes
groupByNo
toBlockNo
sumFieldNo
fromBlockYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, yet the description adds real operational context: a hard cap of 5 explorer pages / 5,000 logs, a 'complete:false' signal when truncated, and degraded behavior on Robinhood Chain due to RPC log limits. That is meaningful disclosure beyond structured fields, though it doesn't say what the response payload looks like beyond the completeness flag.

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?

Four sentences, front-loaded with the core behavior, then limits, then signature format, then chain caveats — no filler. The trailing 'Chains: elysium (default), hyperevm, robinhood' partially duplicates the enum description already in the schema, a minor redundancy.

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?

For an 8-parameter aggregation tool with no output schema, the definition covers the aggregation semantics, the truncation flag, and chain-specific limitations, which is enough to call it correctly. It could say more about the returned shape (counts, summed totals, per-group rows) but the essentials are 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 description coverage is only 13%, so the description must carry the load, and it largely does: it explains that sumField sums a uint argument, groupBy groups by an address argument, top bounds the groups, and fromBlock/toBlock define the range. It stops short of stating that sumField/groupBy must be argument names drawn from the supplied signature, or that toBlock is optional/defaults to latest.

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?

Opens with a specific verb and resource ('Counts a contract's events in a block range') and immediately qualifies the scope with the optional sum and group-by behaviors. An agent can distinguish this aggregation tool from raw-log siblings like elysium_get_logs without opening a schema.

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?

It gives concrete invocation guidance ('Use a named signature, e.g. ...') and lists the supported chains, which steers correct use. However, it never states when to prefer this over the sibling log/decoding tools or when the aggregation features are unnecessary, so the when-to-use decision is only implied by the verb 'counts'.

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