Skip to main content
Glama

aptos_get_events

Fetch emitted events from an Aptos module by specifying account address, event handle, and field name. Ideal for tracking on-chain activity like coin transfers or contract events.

Instructions

Get events emitted by a module

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax events to return
addressYesThe account address
fieldNameYesThe field name of the event handle
eventHandleYesThe event handle struct (e.g., 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>)
Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It only states a read operation but omits behavioral details such as pagination via the limit parameter, event ordering, or whether on-chain state is accessed. There is no mention of return format or any side effects.

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

Conciseness3/5

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

The description is concise as a single sentence, but it is under-specified rather than efficiently informative. It lacks structure or elaboration, making it minimally acceptable.

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

Completeness2/5

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

Given the tool has 4 parameters, no output schema, and no annotations, the one-sentence description is insufficient. It does not explain what the returned events data looks like, how to interpret the eventHandle and fieldName, or how the limit parameter affects results, leaving significant gaps.

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%, with each parameter having a description. The tool description itself adds no extra parameter context beyond the schema, so it meets the baseline but does not exceed it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get events emitted by a module' clearly indicates the tool retrieves events, distinguishing it from sibling tools like aptos_get_resources (resources) and aptos_view_function (view functions). However, it doesn't fully specify that it targets a specific event handle rather than all module events, leaving slight ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description does not mention use cases, exclusions, or conditions under which this tool should be preferred over other Aptos tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nirholas/universal-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server