Skip to main content
Glama

List agent events

agents_events_list
Read-onlyIdempotent

Returns one page of agent events, chronological within the page. Forward pagination (after_sequence) walks from a known boundary toward the present using next_after_sequence. Backward pagination (before_sequence) starts at the latest events and walks toward the beginning using next_before_sequence; passing before_sequence takes precedence over after_sequence.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of events to return.
orgIDYesOrganization ID (org_...).
agentIDYesAgent ID (agt_...).
projectIDYesProject ID (proj_...).
after_sequenceNoExclusive event sequence boundary. Omit or pass 0 for the beginning of the agent event log.
before_sequenceNoExclusive event sequence boundary for backward pagination. Pass 0 for the latest events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / agentID / description
      Added value: +"Agent ID (agt_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the safety profile is covered. The description goes beyond them with real behavioral detail: exclusive boundaries, which cursor field each direction yields, and the explicit precedence rule that before_sequence overrides after_sequence. It stops short of stating the page-size ceiling or end-of-log behavior.

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?

Three dense segments with the core behavior front-loaded and no filler; every clause carries information. The semicolon-chained construction is slightly run-on, which keeps it from a 5.

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

Completeness3/5

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

There is no output schema, so the description must carry return-value context. It helpfully names next_after_sequence and next_before_sequence, but never explains what those cursors contain, when they are absent at the log's end, or how the returned event objects are shaped — a notable gap for a paginated list tool.

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 baseline is 3; the description earns above baseline by adding the precedence rule between after_sequence and before_sequence, which the schema does not state, plus the direction each boundary implies. It adds no detail for limit, orgID, agentID, or projectID beyond the schema.

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 opens with a specific verb+resource ('Returns one page of agent events') and adds the ordering guarantee ('chronological within the page'), which an agent can act on immediately. It does not distinguish itself from lookalike siblings such as agents_interactions_list or agents_get, so it stops short of a 5.

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 clearly explains how to drive forward vs backward pagination and which parameter wins on conflict, which is genuine invocation guidance. But it never says when to choose this tool over a sibling (e.g. interactions vs events), so usage against alternatives is only implied.

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.