Skip to main content
Glama

create_correspondent

Create a Paperless-NGX correspondent and optionally set a matching pattern and algorithm so incoming documents are assigned automatically.

Instructions

Create a new correspondent with optional matching pattern and algorithm for automatic document assignment.

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": {
      "name": "<name>"
    },
    "name": "create_correspondent"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

B3.1/5.0
Behavior3/5

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

Annotations declare non-readOnly, non-idempotent, non-destructive, closed-world — so the write nature is already conveyed. The description adds the useful detail that the matching pattern drives automatic document assignment, but doesn't cover duplicate handling, errors, or what's returned.

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?

One compact sentence, front-loaded with the verb and resource. No waste, though it could be split to separate the required field from optional behavior.

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 creation tool with no output schema and only 33% param coverage, the description does not say what the response contains (e.g., new ID), how name conflicts are handled, or how 'match' interacts with matching_algorithm. Annotations cover safety but not enough to fill these gaps.

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 coverage is 33%; the enum-ish meaning of matching_algorithm is already fully documented in the schema, and 'name'/'match' are self-explanatory by name but the description adds no format rules for 'match' (e.g., regex vs literal depending on algorithm) or how algorithm defaults apply.

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?

Specific verb+resource ('Create a new correspondent') with the optional fields named; the sibling list includes create_* tools for other resources, and the name/description make the resource unambiguous. No explicit sibling differentiation, but 'correspondent' distinguishes it.

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 or when-not-to-use guidance, no mention of prerequisites (e.g., unique names), and no pointer to update_correspondent for existing entries. Only implied usage from the verb.

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