Skip to main content
Glama

get_workflow_events

Retrieve persisted events for a workflow run after a given sequence number so clients can inspect event timelines and track progress.

Instructions

Replay persisted events after a sequence number.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_workflow_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
run_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Persisted' hints that events are stored rather than live, but it never states read-only safety, ordering guarantees, whether results are bounded/paginated, or what happens for an unknown run_id — all material for a no-annotation tool.

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?

A single front-loaded sentence with no wasted words, but the brevity reflects under-specification rather than economy — the one clause present is doing almost none of the work an agent needs.

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?

An output schema exists, so return values needn't be described, but for a two-parameter workflow tool with no annotations the definition omits usage context, parameter semantics, and behavioral guarantees. It is well short of what is needed to invoke the tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description only gestures at 'after a sequence number', leaving the default of 0 (presumably replay from the beginning) and the meaning of run_id unexplained. It adds a hint of cursor semantics but does not compensate for the near-total documentation gap.

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?

Names a specific verb ('Replay') and resource ('persisted events') scoped by a sequence number, which an agent can reasonably map to fetching stored workflow events. It does not distinguish itself from the sibling get_workflow, and 'replay' is slightly ambiguous between re-reading and re-executing.

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?

There is no statement of when to call this instead of get_workflow, no prerequisite context (does the run need to be finished?), and no guidance on choosing a starting sequence number. Usage must be entirely inferred from the single sentence.

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