Skip to main content
Glama

Remove Playbook Step

remove_playbook_step
DestructiveIdempotent

Remove a playbook step by archiving or deleting it. The first call returns conflict options so the user can choose archive, delete, or cancel.

Instructions

Remove a step from a playbook by archiving (hides from step list, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. Tasks already created by previous runs are not affected.

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": {
      "step_id": "<step_id>"
    },
    "name": "remove_playbook_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDeprecated: use `resolution`. 'archive' / 'delete' / 'cancel'.
step_idYesPlaybook step UUID to remove.
resolutionNoResolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, and the description adds genuinely non-obvious behavior: archive hides the step but is recoverable, and previously created tasks are unaffected by removal. The main flaw is that it calls delete 'permanent' while the schema documents 'confirm' as recoverable for 30 days, which could lead an agent to misstate irreversibility to a user.

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?

Four short sentences, front-loaded with the reversible-vs-permanent distinction and then the interaction flow. No filler, though the deprecated-parameter sentence consumes space with guidance that is now wrong.

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?

The description covers the essential non-obvious aspect of this tool, the two-phase conflict/resolution flow, which the schema alone does not convey, and there is no output schema to explain. It stops short of clarifying that 'cancel' aborts and leaves the step intact, but the critical behavior is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description actively works against the schema: it instructs the agent to 'pass mode', which the schema marks Deprecated in favor of 'resolution'. It also names the options ARCHIVE / DELETE / CANCEL while the resolution enum is confirm / archive / cancel, so the mapping (DELETE -> confirm) is left for the agent to guess wrong.

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 and resource (remove a step from a playbook) and immediately explains the two mechanisms available (archive vs. permanent delete). It is clearly distinct from siblings like update_playbook_step and remove_playbook, and an agent can identify the operation without opening the 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?

Gives strong procedural guidance: the first call yields a conflict with options and the resolution is passed afterward once the user decides. It does not, however, address when to choose this tool over update_playbook_step (moving/replacing a step) or remove_playbook (dropping the whole playbook), leaving that routing to inference.

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