Skip to main content
Glama

Remove Playbook

remove_playbook
DestructiveIdempotent

Archive or delete a playbook through a confirmation prompt; run history is preserved, and existing tasks remain unaffected.

Instructions

Remove a playbook by archiving (hides from active views, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. Run history is preserved in both cases. 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": {
      "playbook_id": "<playbook_id>"
    },
    "name": "remove_playbook"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses real behavioral consequences: archiving hides from active views but stays recoverable, run history survives both paths, and previously created tasks are untouched. The one blemish is calling the delete path "permanently deleting," which conflicts with the schema's note that `resolution: confirm` is recoverable for 30 days.

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 tight sentences, front-loaded with the destructive semantics and the recovery guarantee before the conflict-flow mechanics. Nearly every sentence carries distinct information; only the mode/resolution wording adds noise rather than value.

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 destructive, non-idempotent-looking operation with no output schema, the description covers reversibility, side effects on downstream artifacts, and the required interaction sequence. The residual gap is the unresolved naming mismatch between the prose's `mode` values and the schema's `resolution` values, which is exactly the detail a caller needs to complete the second call.

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%, so the baseline is 3. The description does add meaning about what each choice does behaviorally, but it enumerates the conflict options as ARCHIVE / DELETE / CANCEL, which does not match the actual `resolution` enum (confirm / archive / cancel) — an agent following the prose could pass an invalid value or use the deprecated `mode` field.

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 opening sentence gives a specific verb and resource ("Remove a playbook") and immediately distinguishes the two semantics — archive vs. permanent delete — which separates it from siblings like remove_playbook_step, update_playbook, and purge_item. An agent can identify the tool from the first clause 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?

It usefully describes a two-phase protocol (first call surfaces a conflict, second call resolves it), which is genuine when-to-use guidance. However, it never points to alternatives such as restore_item for recovering an archived playbook, and it tells the caller to "pass mode" while the schema deprecates `mode` in favor of `resolution`, muddying the operative instruction.

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