Skip to main content
Glama

retire_process_definition

Destructive

Blocks new instances by retiring all published versions of a process key; existing instances continue. Publish a new version to make the process available again.

Instructions

Retire all published versions of a process key to prevent new instances. Existing instances continue. Publish a new version to make the process available again.

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": {
      "key": "<key>"
    },
    "name": "retire_process_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesProcess definition key, such as review-customer-record

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.4
    • changedInput schema / properties / key / description
      Previous value: -"Key da definição (ex.: \"analisar-cadastro-erp\")"New value: +"Process definition key, such as review-customer-record"
  2. Addedv2.2.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the description's real contribution is consequence scoping: 'Existing instances continue' tells the agent the blast radius is limited to new-instance creation, and the publish sentence discloses reversibility. It doesn't say what happens if the key is already retired or missing, which leaves a gap for a destructive operation.

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 with no filler, and the action and its immediate effect are front-loaded ahead of the recovery note.

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 single-parameter tool with no output schema and annotations covering the safety profile, the description supplies the essential semantics: scope of impact and how to undo it. Minor omissions around not-found/already-retired keys and required permissions keep it just short of complete.

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% and the single 'key' parameter already carries a pattern and a concrete example, so the description adds no format or validation detail beyond it. Baseline 3 is appropriate when the schema does all the parameter work.

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?

The description gives a specific verb-and-resource pair ('Retire all published versions of a process key') plus its effect ('prevent new instances'), which lets an agent distinguish it from publish_process_definition and the disable/enable family without opening any schema.

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?

It states the use case (stop new instances from being created) and points to the recovery path ('Publish a new version to make the process available again'). It stops short of naming the sibling tool explicitly or clarifying when to prefer disable_process over retirement.

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