Skip to main content
Glama

resolve_process_incident

Destructive

Resolve process instance incidents by retrying a failed step, abandoning a path, or substituting step output. Provide the instance ID and resolution type to continue or end the workflow.

Instructions

Resolve an incident of a process instance (same command_id pattern)

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>",
      "resolution": "<resolution>"
    },
    "name": "resolve_process_incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNoIncident identifier when the instance has more than one open incident
resolutionYesretry reruns the step; abandon ends the path; substitute_output supplies the step output
instance_idYesProcess instance UUID
substitute_outputNoUsed only when resolution=substitute_output

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.2.4
    • addedInput schema / properties / instance_id / description
      Added value: +"Process instance UUID"
    • addedInput schema / properties / resolution / description
      Added value: +"retry reruns the step; abandon ends the path; substitute_output supplies the step output"
    • changedInput schema / properties / substitute_output / description
      Previous value: -"Só com resolution=substitute_output"New value: +"Used only when resolution=substitute_output"
    • changedInput schema / properties / task_id / description
      Previous value: -"Se a instância tiver mais de um incidente aberto"New value: +"Incident identifier when the instance has more than one open incident"
  2. Addedv2.2.3

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is partly known. However, the description says nothing about what each resolution does to the instance state, whether 'abandon' is irreversible, or what preconditions (e.g., incident must be open) must hold — significant gaps for a destructive mutation that the annotations do not fill.

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 short sentence, front-loaded with the verb and resource, so there is no padding. But the unexplained parenthetical occupies a meaningful share of an already minimal description, making it under-specified rather than concise.

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?

This is a destructive mutation with a nested object parameter and no output schema, yet the description does not explain the post-resolution outcome, whether the instance continues or ends, or what substitute_output must contain. The rich schema partly compensates, but the description is not complete for the tool's complexity.

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 enum values for `resolution` are documented inline, so the schema carries the semantic load and baseline 3 applies. The description adds nothing beyond the schema, and the nested `substitute_output` object's expected shape is left to the schema alone.

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?

States a specific verb and resource: resolving an incident on a process instance, which is distinct from siblings like cancel_process_instance or get_process_instance. The trailing parenthetical '(same `command_id` pattern)' is opaque and adds no discriminating information, keeping it short of a 5.

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?

No statement of when to use this versus cancelling the instance, retrying via another tool, or leaving an incident open. The implied relationship to a 'command_id pattern' references context the agent does not have, so no actionable routing guidance is provided.

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