Skip to main content
Glama

update_correspondent

Modify an existing correspondent's name, matching pattern, or matching algorithm in Paperless-NGX to refine document auto-tagging rules.

Instructions

Update an existing correspondent's name, matching pattern, or matching algorithm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
matchNo
matching_algorithmNoMatching algorithm: 0=None, 1=Any word, 2=All words, 3=Exact match, 4=Regular expression, 5=Fuzzy word, 6=Automatic

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / matching_algorithm / description
      Added value: +"Matching algorithm: 0=None, 1=Any word, 2=All words, 3=Exact match, 4=Regular expression, 5=Fuzzy word, 6=Automatic"
    • removedInput schema / properties / matching_algorithm / enum
      Removed value: -[
      -  "any",
      -  "all",
      -  "exact",
      -  "regular expression",
      -  "fuzzy"
      -]
    • addedInput schema / properties / matching_algorithm / maximum
      Added value: +6
    • addedInput schema / properties / matching_algorithm / minimum
      Added value: +0
    • changedInput schema / properties / matching_algorithm / type
      Previous value: -"string"New value: +"integer"
  2. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies mutation and lightly signals that the target must already exist ('an existing correspondent'), but says nothing about permissions, whether fields are optional/partial, or reversibility of changes.

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?

A single front-loaded sentence with zero filler. It is efficient, though extremely terse for a mutation tool with four parameters.

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 simple update tool with no output schema and no annotations, the description is minimally viable: the agent knows the resource and mutable fields. But with low schema coverage and no disclosure of return behavior or partial-update semantics, it stops short of full context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only matching_algorithm is documented in-schema). The description partly compensates by naming the updatable fields (name, match, matching_algorithm), but it leaves the required 'id' identifier and the 'match' pattern semantics unexplained, so it adds only marginal value.

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 (update) plus the resource (correspondent) and enumerates the mutable fields (name, matching pattern, matching algorithm). The intent is unmistakable, though it doesn't call out how it differs from siblings like bulk_edit_correspondents.

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 when-to-use guidance and no alternatives named. An agent must infer from the naming convention alone that bulk_edit_correspondents handles multiple records and that create_correspondent is the creation path.

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