Skip to main content
Glama

Delete a book

delete_scan
DestructiveIdempotent

Delete a book's upload and finished files from FixMyScan now, rather than after 24 hours. Use it only when the user asks to delete the book. This cannot be undone.

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": {
      "scan_id": "<scan_id>"
    },
    "name": "delete_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
scan_idYesThe scan_id fix_scan or list_my_scans gave.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real context beyond them: it names exactly what is destroyed (upload and finished files), states the deletion is immediate rather than deferred by the 24-hour window, and warns 'This cannot be undone.' It does not cover behavior for an in-flight scan or what happens to a subsequent reference to the scan_id.

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, each carrying distinct information: what is deleted and when, the authorization condition, and irreversibility. The destructive warning is front-loaded and nothing is redundant.

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 one-parameter destructive tool with full annotation coverage and no output schema, the description covers scope, timing, authorization, and irreversibility. Only edge cases, such as deleting a scan that is still processing or whether the scan disappears from list_my_scans, are unaddressed.

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 scan_id parameter is documented with its regex pattern and provenance ('the scan_id fix_scan or list_my_scans gave'). The description adds no parameter-level meaning, so the 3 baseline applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ('Delete a book's upload and finished files') plus the distinguishing timing detail that the removal happens immediately instead of after the 24-hour retention window. It does not explicitly contrast with cancel_scan, the nearest sibling, so an agent must infer that cancel stops a job while this destroys stored files.

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 gives an explicit gating condition: 'Use it only when the user asks to delete the book,' which is a clear when-to-use rule and implicitly excludes proactive deletion. It stops short of naming alternatives such as cancel_scan for an in-progress job or simply waiting out the 24 hours, which would complete the routing picture.

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