Skip to main content
Glama
mcp-server-paperless

mcp-server-paperless

Create taxonomy item

create_taxonomy_item

Create a tag, correspondent, document type, storage path, or custom field with the right kind-specific settings and optional matching rules.

Instructions

Create a tag, correspondent, document type, storage path or custom field.

The kind decides which settings apply; a setting of another kind is an error. A storage path needs path, a custom field needs data_type, and a select field needs select_options. The new object matches nothing automatically unless matching_algorithm says so. Tags, correspondents, document types and storage paths belong to you: other Paperless users do not see them until they are shared, and their names are unique per kind and owner. Custom fields have no owner and are visible to everyone, so their names are unique across all users. Returns the object as it was stored, with the ids of select options.

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

Input Schema

NameRequiredDescriptionDefault
kindYesWhat to work on; it decides which of the other settings apply.
nameYesThe new name, 1 to 128 characters, unique for you.
pathNoStorage paths: the folder template for stored files, e.g. '{{ created_year }}/{{ correspondent }}/{{ title }}'. Paperless refuses unknown variables.
matchNoTags, correspondents, document types, storage paths: the words, phrase or regular expression the matching algorithm uses.
colourNoTags: the colour as #rrggbb.
parentNoTags: name or id of the parent tag; see list_taxonomy.
data_typeNoCustom fields (required): what the field holds; it cannot change later.
is_inbox_tagNoTags: whether documents with it count as inbox documents.
select_optionsNoCustom fields of data_type select (required): the option labels.
case_insensitiveNoTags, correspondents, document types, storage paths: ignore case.
matching_algorithmNoTags, correspondents, document types, storage paths: how Paperless assigns it to new documents by itself. none: never (the default when creating); any or all: any or all of the words in match; literal: the exact phrase; regex: a regular expression; fuzzy: similar words; auto: learned from your documents.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYesThe name; the username for users.
pathNoStorage paths: the path template.
matchNoThe text or pattern the algorithm uses.
colourNoTags: the colour, e.g. #a6cee3.
parentNoTags: id of the parent tag.
data_typeNoCustom fields: the data type.
is_inbox_tagNoTags: documents with it count as the inbox.
document_countYesDocuments the user may see that use it; null for views, users, groups.
select_optionsNoCustom fields of type select: the options, ids and labels.
case_insensitiveNoWhether matching ignores case.
matching_algorithmNoHow Paperless assigns it to new documents by itself; none: never.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover the generic profile (not read-only, not destructive, not idempotent, closed-world); the description adds real behavioral substance beyond that: ownership and visibility per kind, per-kind/per-owner name uniqueness, and the global uniqueness of custom field names. It also discloses the important default that nothing is matched automatically unless matching_algorithm says so, which an agent could not infer from annotations.

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?

Front-loaded with the action, then conditional requirements, then ownership/uniqueness semantics, then return shape — a logical progression where each sentence carries distinct information. It is dense for an 11-parameter tool but rarely redundant; the kind/ownership sentences could be tightened slightly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 11 parameters, 5 enum kinds, an output schema, and annotations already covering safety, the description supplies everything else an agent needs: kind-dependent validation rules, uniqueness/visibility constraints, matching defaults, and a pointer to list_taxonomy for parent resolution. Return values are an extra bonus rather than a necessity since an output schema exists.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine cross-parameter meaning: which fields are conditionally required (path for storage paths, data_type for custom fields, select_options for select fields) and that mismatched kind/setting combinations are rejected. That conditional logic is not spelled out in the flat property descriptions.

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

Purpose5/5

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

Opens with a specific verb and an explicit enumeration of the resource kinds it creates (tag, correspondent, document type, storage path, custom field), so the agent knows exactly what object comes out. This distinguishes it cleanly from the update/delete/list siblings without needing their schemas.

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

Usage Guidelines4/5

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

Gives strong creation-time rules: the kind determines which settings apply, and supplying a setting of the wrong kind is an error, plus kind-specific requirements for path, data_type and select_options. It does not explicitly say 'use update_taxonomy_item to modify an existing object', so the boundary with the mutating sibling is left implicit.

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