Skip to main content
Glama

get_process_trail

Read-onlyIdempotent

Read a process instance's audit trail in sequence to inspect transitions, triggering events or commands, and reasons, with sensitive values redacted; requires admin or owner access.

Instructions

Read a process instance audit trail in order, including transitions, triggering events/commands and reasons. Sensitive values are redacted. Requires admin or owner.

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": {
      "instance_id": "<instance_id>"
    },
    "name": "get_process_trail"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum transitions per call; defaults to 200, maximum 1000
instance_idYesProcess instance UUID
after_sequenceNoContinue after this sequence; use next_after_sequence from the previous response

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.4
    • addedInput schema / properties / after_sequence
      Added value: +{
      +  "description": "Continue after this sequence; use next_after_sequence from the previous response",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / instance_id / description
      Added value: +"Process instance UUID"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum transitions per call; defaults to 200, maximum 1000"
  2. Addedv2.2.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description earns credit for adding what they cannot: the trail is ordered, sensitive values are redacted, and admin/owner authorization is required. Return shape and paging behavior are only partially addressed, keeping it from a 5.

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

Conciseness5/5

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

Three short sentences, front-loaded with the purpose, then redaction, then the authorization gate. No filler and nothing redundant with the schema.

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

Completeness4/5

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

With no output schema, the description carries the burden of describing returns and does so by naming the record types included and the redaction rule. Slight gap: pagination expectations (default 200, max 1000) and whether the trail can be truncated are left entirely to the schema.

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 limit, instance_id, and after_sequence all documented in the schema itself. The description adds only the 'in order' framing, which loosely motivates after_sequence but does not explain its use or the default limit of 200.

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 uses a specific verb and resource ('Read a process instance audit trail') and enumerates the payload (transitions, triggering events/commands, reasons), which separates it clearly from get_process_instance or get_process_command. It stops short of naming the sibling it contrasts with, so differentiation is inferential rather than explicit.

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?

'Requires admin or owner' gives a real access prerequisite, and 'in order' plus the schema's after_sequence hint implies sequential paging. There is no explicit when-to-use versus alternative, and no statement of when this trail is not the right source (e.g., current state belongs in get_process_instance).

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

Deploy Server

Other Tools