Skip to main content
Glama

bulk_edit_custom_fields

DestructiveIdempotent

Delete multiple custom fields from a Paperless-NGX system in one operation, requiring confirmation before permanent removal.

Instructions

Bulk edit custom fields. ⚠️ WARNING: 'delete' operation permanently removes custom fields from the entire system.

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": {
      "custom_fields": "<custom_fields>",
      "operation": "<operation>"
    },
    "name": "bulk_edit_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true when operation is 'delete' to confirm destructive operation
operationYes
custom_fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

B3/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 description's job is to add scope and consequence. It does: deletion is permanent and affects 'the entire system' rather than one document, which is the key fact an agent cannot get from the annotations. It omits the confirm=true prerequisite, though the schema covers that.

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?

Two short sentences with the destructive consequence front-loaded in a warning block; nothing is padded. The only flaw is that the opening sentence is nearly empty of information relative to the space it takes.

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?

For a destructive, no-output-schema mutation tool, the permanent/system-wide warning is the essential piece and it is present. Missing are the confirm requirement (left entirely to the schema) and any sense of what the numeric IDs refer to or whether partial failure across IDs is possible.

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 coverage is only 33%: only 'confirm' is documented in the schema, leaving 'operation' and 'custom_fields' bare. The description does not explain that custom_fields takes numeric field IDs or that operation's only enum value is 'delete', so it fails to compensate for the coverage gap.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence restates the tool name ('Bulk edit custom fields') without saying what 'bulk edit' concretely means, and the schema's operation enum only permits 'delete', which the description frames as one operation among others. The warning does clarify the effective effect, so the agent can infer this is destructive bulk removal, but the core statement is close to tautological.

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 on when to use this versus update_custom_field, delete_custom_field, or the other bulk_edit_* siblings. It never states that multiple field IDs should be batched here rather than issuing repeated single-field calls, which is the main reason to pick this tool.

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