Skip to main content
Glama

jamjet_get_events

Retrieve the full ordered event log for a workflow execution to debug behavior, see which nodes ran and in what order, or inspect approval decisions. Returns an immutable audit trail in sequence order.

Instructions

Retrieve the full, ordered event log for a workflow execution. Read-only, no side effects. Use this to debug execution behavior, understand which nodes ran and in what order, or inspect approval decisions. Returns a JSON object with an 'events' array. Each event has: execution_id, sequence (monotonic counter), timestamp, and kind (one of: WorkflowStarted, NodeScheduled, NodeStarted, NodeCompleted, NodeFailed, ApprovalRequested, ApprovalReceived, WorkflowCompleted, WorkflowCancelled, WorkflowFailed). Events are returned in sequence order (oldest first) and represent the complete, immutable audit trail. For a high-level status summary, use jamjet_get_execution instead.

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": {
      "execution_id": "<execution_id>"
    },
    "name": "jamjet_get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
tenant_idNoTenant partition to query. Defaults to 'default'. Must match the tenant used when the execution was created. Outside dev mode the tenant is the API token's tenant and a different value is refused.
execution_idYesExecution ID to retrieve events for. Accepts 'exec_<uuid>' or bare UUID format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.7
    • changedInput schema / properties / tenant_id / description
      Previous value: -"Tenant partition to query. Defaults to 'default'. Must match the tenant used when the execution was created."New value: +"Tenant partition to query. Defaults to 'default'. Must match the tenant used when the execution was created. Outside dev mode the tenant is the API token's tenant and a different value is refused."
  2. Addedv0.8.2
  3. Removedv0.8.1
  4. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / execution_id / description
      Previous value: -"Execution ID"New value: +"Execution ID to retrieve events for. Accepts 'exec_<uuid>' or bare UUID format."
    • changedInput schema / properties / tenant_id / description
      Previous value: -"Tenant ID (default: default)"New value: +"Tenant partition to query. Defaults to 'default'. Must match the tenant used when the execution was created."
  5. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and does so well: it discloses read-only semantics, no side effects, complete and immutable audit trail, and oldest-first ordering. It stops short of disclosing practical constraints an agent might hit, such as response size limits, truncation, or whether very long logs are paginated.

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 usage, then return shape, then the alternative. The enumerated event kinds are genuinely useful for interpreting output, though the list is long enough that the description runs a bit dense; still nearly all content earns its place.

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?

No output schema exists, so the description must explain return values itself — and it does: a JSON object with an 'events' array, per-event fields, ordering, and the full kind enumeration. For a two-parameter read tool this leaves nothing an agent needs unresolved.

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 description coverage is 100%, including the tenant_id default and refusal behavior, so the schema already does the heavy lifting. The description adds only ordering context and does not elaborate on tenant scoping or the execution_id format itself; baseline 3 applies.

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 ('Retrieve the full, ordered event log for a workflow execution') and immediately scopes it against the sibling by pointing to jamjet_get_execution for a high-level status summary. An agent can distinguish this from the status tool 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 concrete when-to-use triggers (debugging execution behavior, understanding node order, inspecting approval decisions) and names the explicit alternative plus the condition that selects it ('For a high-level status summary, use jamjet_get_execution instead'). Guidance is complete.

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