Skip to main content
Glama

bulk_edit_correspondents

DestructiveIdempotent

Bulk update Paperless-NGX correspondents by setting permissions or deleting selected records, with confirmation required for permanent deletion.

Instructions

Bulk edit correspondents. ⚠️ WARNING: 'delete' operation permanently removes correspondents 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": {
      "correspondent_ids": "<correspondent_ids>",
      "operation": "<operation>"
    },
    "name": "bulk_edit_correspondents"
  }
}

Input Schema

NameRequiredDescriptionDefault
mergeNo
ownerNo
confirmNoMust be true when operation is 'delete' to confirm destructive operation
operationYes
permissionsNo
correspondent_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true when operation is 'delete' to confirm destructive operation",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / permissions / additionalProperties
      Removed value: -false
    • removedInput schema / properties / permissions / properties / change / additionalProperties
      Removed value: -false
    • removedInput schema / properties / permissions / properties / view / additionalProperties
      Removed value: -false
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is partly given. The description earns credit for going beyond that by specifying the blast radius — deletion is permanent and removes correspondents from "the entire system" — which is exactly the kind of context annotations cannot convey. It still does not describe what set_permissions does to existing permissions (overwrite vs. merge) despite the merge parameter.

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, front-loaded with the warning and free of filler. The first sentence adds little beyond the name, which is the only minor waste.

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, 6-parameter tool with nested objects, a 17% schema coverage rate and no output schema, the description is far too thin. An agent cannot learn from it whether set_permissions replaces or merges existing permissions, what merge or owner do, or how confirm interacts with the delete path.

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 17% across 6 parameters including nested permission objects, so the description must carry the load and does not. Only the 'delete' operation value is explained; 'set_permissions', 'merge', 'owner', 'permissions' (view/change, users/groups) and 'correspondent_ids' semantics are left entirely to the schema. The confirmation requirement is documented in the schema, not the description.

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, "Bulk edit correspondents," largely restates the tool name and does not say which edits are possible. The warning sentence does name one concrete operation ('delete') and its effect, which lifts it above pure tautology, but the 'set_permissions' path — half the enum — is never described.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no named alternatives among siblings such as delete_correspondent or list_correspondents. The warning implicitly cautions against casual use of 'delete', which is the only usage signal present.

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