Skip to main content
Glama

Delete a Playbook

delete_playbook
DestructiveIdempotent

Permanently deletes a playbook the user owns, with its versions and share grants; its share links stop working. Irreversible: there is no undo or archive. Requires the playbook:manage scope, which write access does not include. An unknown or not-owned id deletes nothing and returns the same note. [Bearer scope: playbook:manage]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
dotfileIdNoDeprecated alias for `playbookId`.
playbookIdNoPlaybook id to delete — see list_playbooks. (`dotfileId` is still accepted as a deprecated alias.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, it discloses what actually gets destroyed (versions and share grants), a real side effect ("its share links stop working"), and the absence of any recovery path ("no undo or archive"). It also documents the failure mode — unknown or not-owned ids delete nothing and return the same response — which supports the idempotentHint=true annotation rather than contradicting it.

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?

The critical facts — permanence and irreversibility — are front-loaded, and each sentence contributes distinct information. The trailing bracketed scope tag slightly duplicates the preceding scope sentence, a small redundancy in an otherwise tight definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive single-parameter tool with no output schema, the description covers everything an agent needs: cascade effects, irreversibility, auth scope, and the no-op behavior on unknown ids. Nothing material is left to inference.

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 both parameters are already documented there, including the deprecated dotfileId alias. The description adds only indirect meaning via "a playbook the user owns" and "not-owned id deletes nothing", which hints at the ownership requirement on the id but does not add format or syntax detail. Baseline 3 applies when the schema carries the parameter burden.

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 ("Permanently deletes a playbook") plus the scope of ownership ("a playbook the user owns") and the cascade (versions and share grants). This distinguishes it clearly from siblings like delete_setup_snapshot or update_playbook_metadata without needing 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes prerequisites explicit ("Requires the playbook:manage scope, which write access does not include") and warns that the action is irreversible, which implies caution. However, it never names an alternative or a when-not-to-use condition, and it does not route the agent to any sibling for softer operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources