Skip to main content
Glama
pvliesdonk
by pvliesdonk

Delete Document Type

delete_document_type
DestructiveIdempotent

Remove an existing document type by its ID. Use this tool to permanently delete a type from your Paperless-NGX system, cleaning up your document categorization.

Instructions

Delete a document type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_type_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already convey destructive, non-read-only, and idempotent behavior, and the description simply restates 'Delete' without adding any behavioral context. It does not disclose downstream effects on documents, permanence, or authorization requirements, though it does not contradict the annotations.

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 description is a single focused sentence with no filler, and the action is front-loaded. It is appropriately concise for a one-parameter CRUD operation, though it errs on the side of being too sparse to be genuinely helpful.

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

Completeness2/5

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

For a destructive operation, the description omits the most important operational context: what deletion means for documents assigned to the type, whether the type can be deleted while in use, and what the response indicates. The annotations and schema cover mechanics but not the impact of the deletion.

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?

The single parameter document_type_id is self-explanatory and required, but with 0% schema description coverage the description was expected to clarify its role and constraints. It says only 'Delete a document type' and provides no additional meaning about how the ID is used or validated.

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 description uses a specific verb-resource pair ('Delete' + 'document type') that clearly states the operation and target. It is readily distinguished from sibling tools such as update_document_type, get_document_type, and create_document_type, even without reading their schemas.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives, nor are prerequisites or exclusions mentioned. The description does not say, for example, whether a document type must be unused before deletion or what happens to documents assigned to it.

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