Skip to main content
Glama
mcp-server-paperless

mcp-server-paperless

List taxonomy

list_taxonomy
Read-onlyIdempotent

List tags, correspondents, document types, storage paths, custom fields, saved views, users, or groups as compact ID rows to find exact names or IDs for other Paperless tools.

Instructions

List the tags, correspondents, document types, storage paths, custom fields, saved views, users or groups the current user may see, as compact rows with their ids.

Use it to find the exact name or id to pass to other tools. Returns at most 100 rows in Paperless order (by name); truncated true means more match, so narrow with name_contains. Users, groups and saved views need the matching view permission in Paperless. Run a listed saved view with run_saved_view.

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": "list_taxonomy"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich kind of object to list.
name_containsNoOnly names that contain this text, ignoring case and accents.

Output Schema

NameRequiredDescriptionDefault
kindYes
countYesHow many objects match, also beyond the items.
itemsYes
truncatedYesMore match than the items hold; narrow with name_contains.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.2
    • changedOutput schema / properties / items / items / properties / select_options / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "description": "An option of a select custom field; documents store its id as the value.",
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "label"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / items / items / properties / select_options / description
      Previous value: -"Custom fields of type select: option labels."New value: +"Custom fields of type select: the options, ids and labels."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses the 100-row cap, Paperless name ordering, the meaning of truncated=true, and that users/groups/saved views require the matching view permission in Paperless. These are exactly the operational constraints an agent needs before calling.

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?

Purpose, id-lookup use case, and limits appear in the first two sentences; the permission and run_saved_view notes follow. No redundant phrasing and every sentence carries new information.

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?

For a two-parameter list tool with an output schema (so return shape needn't be described), it covers limits, ordering, truncation handling, permission prerequisites, and the handoff to run_saved_view. Nothing material is missing.

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% and the kind enum is self-documenting, but the description adds practical meaning by explaining that name_contains is the lever to use when truncated is true, tying the parameter to a concrete failure mode. The case/accent-insensitive behavior itself is left to the schema.

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?

States a specific verb (List) plus an explicit enumeration of the resource kinds (tags, correspondents, document types, storage paths, custom fields, saved views, users, groups) and frames the output as compact rows with ids. An agent can immediately tell this is the lookup tool rather than a search tool like search_documents.

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?

Explicitly says 'Use it to find the exact name or id to pass to other tools' and routes saved-view execution to run_saved_view, and tells the agent to narrow with name_contains when truncated. It lacks a strong when-not statement (e.g. use search_documents for full-content search), so it stops just short of full routing guidance.

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