Skip to main content
Glama

delete_volume

Destructive

Permanently deletes a volume with its nested chapters, acts, and scenes in one transaction; confirm the exact chapter count to avoid accidental loss, or move chapters first to preserve prose.

Instructions

Delete a volume. THIS ALSO DELETES the chapters inside it and inside its acts, with their prose, and those chapters' scenes — permanently, in one transaction. The tool counts what would die and refuses unless you pass that exact number as confirmChapterCount; an empty volume deletes with no confirmation. To keep the prose, move the chapters elsewhere with update_chapter first.

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": {
      "bookId": "<bookId>",
      "id": "<id>"
    },
    "name": "delete_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVolume ID
bookIdYesBook ID
confirmChapterCountNoThe number of chapters you accept destroying, as reported by this tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the bar is lower, and the description goes well past them: it names exactly what is destroyed (chapter prose, scenes), stresses permanence, notes the whole cascade happens in one transaction, and explains the refusal safety valve and its bypass. This is close to ideal disclosure for a destructive cascade tool.

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?

Four sentences, each doing distinct work: what it deletes, how far the cascade reaches, the confirmation gate, and the escape hatch. The most consequential fact — permanent cascade destruction — is front-loaded in caps.

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?

With no output schema, the description still covers the destructive scope, the confirmation contract, and the non-destructive alternative, which is everything an agent needs to call it safely. The only gap is what the tool returns — e.g. whether the count arrives as an error payload or a response body on the first attempt — which is left implicit in "as reported by this tool".

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning the schema does not: the count must be the exact number the tool itself reports, submitting anything else is refused, and zero chapters means no confirmation field at all. That turns a plain integer into a two-step confirm protocol.

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?

Opens with a specific verb+resource ("Delete a volume") and immediately scopes the blast radius to the chapters inside it and inside its acts, plus those chapters' scenes. That is enough for an agent to separate it from delete_act, delete_chapter, and delete_scene without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

States the precondition for use explicitly — you must pass confirmChapterCount matching the counted total, or the call is refused — and carves out the empty-volume exception where no confirmation is needed. It also names the alternative path when deletion is not what you want: move chapters with update_chapter first.

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