Skip to main content
Glama

List boat events

list_events
Read-onlyIdempotent

List sandbox work, lifecycle, and progress events for product UIs; stream all conversations or filter by conversation, with cursor pagination and ETag long-polling.

Instructions

List boat events. Return Sandbox work, lifecycle, and progress events so product UIs can show what the sandbox is doing. A Sandbox runs many conversations in parallel; this streams all of them by default and every event carries a conversationId. Filter to one or more with conversation. Event payloads are extensible. Clients can long-poll this endpoint with sort=asc and a cursor to stream responses. Response events expose agent text, streaming partials via data.is_streaming, and tool calls/results via data.tools. When you poll, send the last ETag back in If-None-Match. An unchanged page answers 304 Not Modified with no body.

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": {
      "sandboxId": "<sandboxId>"
    },
    "name": "list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort direction for cursor pagination.desc
typeNoComma-separated event type filter, for example `prompt,response,steer`.
limitNoMaximum items to return.
cursorNoOpaque pagination cursor returned as `pageInfo.nextCursor`.
sandboxIdYesPublic Sandbox id returned by create/list/get sandbox calls.
conversationNoOnly return events for this conversation id. Repeat the parameter (or comma-separate) for several. Omit to stream every conversation on the sandbox. See [Integrated agents](/integrated-agents).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, but the description goes well beyond them: it discloses the default all-conversations scope, that every event carries a conversationId, that payloads are extensible, the shape of returned events (agent text, data.is_streaming partials, data.tools), and the 304/no-body long-poll behavior. That is exactly the behavioral context an agent needs to reason about scope and polling.

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 scope and default behavior, then filtering, then polling mechanics; nearly every sentence carries new information. The opening 'List boat events' is a near-repeat of the title, and the polling instructions are slightly dense, but there is no substantive filler.

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

Completeness5/5

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

For a read-only list tool with no output schema, the description fully subsidizes the missing return-value documentation: it describes event payload contents, streaming partials, tool calls/results, cursor pagination, and 304 semantics. An agent can call and interpret it correctly without further reference.

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?

With 100% schema description coverage the baseline is 3, but the description adds meaning the schema does not: `sort=asc` is tied to long-poll streaming, and `cursor` is explained as the mechanism paired with ETag/If-None-Match revalidation. It does not add format details for `type` or `limit` beyond the schema, so it stops short of a 5.

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?

States a specific verb and resource ('List boat events') and immediately clarifies the resource: Sandbox work, lifecycle, and progress events for product UIs. That distinguishes it from the snapshot/file/secret siblings, but it never names a closest alternative such as list_command_history or list_conversations, so sibling differentiation is implied rather than stated.

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 concrete usage patterns: streams all conversations by default, narrow with `conversation`, and long-poll with `sort=asc` plus a cursor, sending the last ETag via If-None-Match to get 304s. That covers how to use the tool in its two main modes, but it does not explicitly say when to pick this over the process- or conversation-level listers.

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