Skip to main content
Glama

delete_custom_field

DestructiveIdempotent

Permanently remove a user-defined field from all documents and the Paperless-NGX system; requires an ID and confirmation.

Instructions

⚠️ DESTRUCTIVE: Permanently delete a custom field from the entire system. This will remove the field from ALL documents that use it.

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": {
      "id": "<id>",
      "confirm": "<confirm>"
    },
    "name": "delete_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmYesMust be true to confirm this destructive operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

B3.3/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, so the safety profile is covered; the description still earns credit for adding blast radius ("remove the field from ALL documents that use it") and permanence, which annotations cannot express. It omits any note about recovery or the required confirmation step, but the core destructive consequence is disclosed clearly.

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?

Two short sentences with the destructive warning front-loaded via emoji and capitalized keyword. Nothing is redundant and the most important constraint leads.

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

Completeness3/5

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

The destructive scope is adequately covered, but with no output schema the agent gets no signal about what a successful call returns, and the undocumented `id` parameter leaves a real gap for a 2-parameter required-input tool. Adequate for a simple delete, but not fully specified.

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?

Schema description coverage is only 50%: the `confirm` flag is documented in the schema, but `id` is a bare number with no meaning attached anywhere. The description does not say that `id` is the custom field identifier, nor explain the confirm contract, so it does not compensate for the coverage gap.

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?

States a specific verb and resource ("Permanently delete a custom field") plus a scope qualifier ("from the entire system"), which separates it from update_custom_field or field-level edits. It does not name a sibling or an alternative path, but the scope language leaves no ambiguity about what the tool does.

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?

Provides no when-to-use or when-not-to-use guidance beyond an implicit caution. It never says to prefer update_custom_field when the field should be retained, nor warns that bulk_edit_custom_fields or delete_tag-style siblings exist for related cleanup; an agent must infer routing from the name alone.

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