Skip to main content
Glama

get_process_instance

Read-onlyIdempotent

Retrieve process instance details by UUID to inspect status, steps, agent, dates, and role-based data such as variables, tasks, files, and computation summaries.

Instructions

Inspect a process instance. Editors see status, steps, agent, name and dates. Admin/owner roles also see redacted variables, human tasks, file metadata and computation summaries.

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_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
instance_idYesProcess instance UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.4
    • addedInput schema / properties / instance_id / description
      Added value: +"Process instance UUID"
  2. Addedv2.2.3

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 and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context beyond that: return content is role-dependent, with editors seeing a limited field set and admin/owner roles seeing redacted variables, human tasks, file metadata and computation summaries. It stops short of saying what happens when the caller lacks a role or the instance does not exist.

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?

Two sentences, front-loaded with the action and followed by the return-value breakdown. The role sentence is dense but every clause carries distinct information; nothing is filler.

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 and a single documented parameter, the description carries most of the burden of describing returns, and it does so by enumerating fields per role. It is nearly complete for a read-only inspection tool, missing only edge-case behavior such as not-found or insufficient-permission responses.

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?

There is a single required parameter at 100% schema description coverage, so the schema already defines instance_id as a process instance UUID. The description adds no further meaning about format, sourcing or lookup behavior, which is acceptable at the baseline for a fully documented one-parameter 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?

"Inspect a process instance" states a specific verb and resource, and the field list makes clear this is the single-instance detail view rather than a listing or a trail. It does not explicitly contrast itself with siblings like get_process_trail or get_process_command, so an agent must infer the distinction from the field list alone.

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?

Usage is only implied: an agent can infer it should call this when it needs the current state of one instance, and the role sentence hints that some data requires elevated permissions. There is no explicit when-to-use versus get_process_trail/get_process_command guidance, and no stated prerequisite about instance state or existence.

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