Skip to main content
Glama

delete_correspondent

DestructiveIdempotent

Permanently deletes a correspondent from Paperless-NGX, affecting all documents linked to it; requires confirmation to prevent accidental removal.

Instructions

⚠️ DESTRUCTIVE: Permanently delete a correspondent from the entire system. This will affect ALL documents that use this correspondent.

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_correspondent"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmYesMust be true to confirm this destructive operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true to confirm this destructive operation",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "confirm"
      +]
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the warning banner largely repeats structured data. The one genuinely additive fact is the cascade note that ALL documents using this correspondent are affected, but it remains ambiguous whether those documents are deleted, orphaned, or merely unlinked, and no permission or auth requirements are mentioned.

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, front-loaded with the destructive warning and the blast radius. Nothing is wasted and the most important information comes first.

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 two-parameter destructive tool with no output schema, the definition covers the core risk but leaves out the practical consequences (what happens to affected documents), the meaning of `id`, and any alternative action. It is adequate to prevent accidental calls but not complete enough to let an agent advise a user on the outcome.

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 50%: `confirm` is documented in the schema, while `id` has no description anywhere. The description says nothing about parameters, so an agent must infer that `id` is the correspondent identifier rather than, say, a document id — a meaningful gap for a destructive tool.

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 uses a specific verb and resource ('Permanently delete a correspondent'), which clearly separates it from the create/get/update/delete_* siblings in the list. It stops short of explicitly naming a contrasting sibling, but the operation is unmistakable.

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?

There is no guidance on when to choose this tool versus alternatives such as update_correspondent (for reassigning documents) or bulk_edit_correspondents, and no stated prerequisites or preconditions. The only usage signal is the destruction warning, which tells the agent to be careful but not what to do instead.

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