Skip to main content
Glama

get_process_command

Read-onlyIdempotent

Query a process intervention command’s status—received, applied, or rejected—and get the rejection reason so you can avoid repeating the mutation.

Instructions

Outcome of an intervention command: received (not applied yet), applied or rejected (with reason). Query this instead of repeating the mutation

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>",
      "command_id": "<command_id>"
    },
    "name": "get_process_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
command_idYesCommand UUID returned by cancel_process_instance or resolve_process_incident
instance_idYesProcess instance UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.4
    • addedInput schema / properties / command_id / description
      Added value: +"Command UUID returned by cancel_process_instance or resolve_process_incident"
    • addedInput schema / properties / instance_id / description
      Added value: +"Process instance UUID"
  2. Addedv2.2.3

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful semantics: the three outcome states and the fact that `received` means not yet applied, which hints that a follow-up poll may be needed. It does not state whether the status is eventually consistent or how long `received` may persist, so it stays at a solid but not rich level.

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 dense clauses, with the result states front-loaded and the operational advice last. Every phrase carries meaning; no filler or redundant restatement of the tool name.

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?

For a two-parameter, read-only status tool with no output schema, the description effectively supplies the return-value vocabulary (the three states plus `reason`), so an agent knows what to expect without an output schema. Only polling/consistency behavior is left implicit.

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%, and the schema already explains that command_id is the UUID returned by cancel_process_instance or resolve_process_incident. The description adds no per-parameter syntax or constraints, so the 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+resource implicitly but precisely: it retrieves the outcome of an intervention command, and it enumerates the exact result states (`received`, `applied`, `rejected` with `reason`). An agent can tell this apart from the mutation siblings because the description explicitly frames it as the read-back side of those commands.

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?

Explicitly says 'Query this instead of repeating the mutation', which gives a clear when-to-use rule that resolves the main ambiguity (retry vs. poll). It does not name the specific mutating siblings, but the guidance is unambiguous about the alternative behavior it replaces.

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