Skip to main content
Glama
tobee89

mcp-paperless-ngx

Upload a document

upload_document

Submit a file to Paperless-ngx for processing via server path or base64 content, then poll the returned task ID for completion.

Instructions

Hand a file to Paperless for consumption. Provide either path (a file on the machine running this server — the cheap option) or content_base64 (works for remote deployments but costs context proportional to the file size; avoid for anything over a few hundred kilobytes). Consumption is asynchronous: the returned task ID can be polled with get_task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoAbsolute path to the file on the server's filesystem.
tagsNo
titleNo
createdNoDocument date, e.g. '2024-04-19'.
filenameNoFilename to present to Paperless. Required with content_base64.
storage_pathNo
correspondentNo
document_typeNo
content_base64NoBase64-encoded file contents.
archive_serial_numberNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

With annotations only indicating non-readOnly, non-idempotent, and non-destructive, the description adds meaningful behavior: consumption is asynchronous, a task ID is returned, and content_base64 incurs context cost proportional to file size. This goes beyond the schema and helps the agent anticipate consequences.

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?

Three sentences, no filler, with the core purpose and critical operational details front-loaded. Every sentence earns its place: purpose, input-mode tradeoffs, and asynchronous behavior.

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

Completeness4/5

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

For a 10-parameter tool with no output schema, the description covers the key decision (path vs content_base64), flags file-size limits, and explains the return value and follow-up path. It doesn't explain all optional metadata parameters, but those are largely inferable from names/schema. The main gap is not mentioning accepted file types or mutual-exclusivity constraints beyond 'provide either'.

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 40%, so the description carries extra responsibility. It adds important semantics for the two primary parameters (`path` vs `content_base64`), but it does not clarify relationships between other optional parameters like `filename` being required with `content_base64` — though the schema does cover that. The optional metadata fields are self-evident from names, but the description does not compensate for all low-coverage parameters.

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?

Description opens with a clear verb and resource: 'Hand a file to Paperless for consumption.' It distinguishes upload_document from sibling document actions by specifying ingestion of a file, and the path/content-mode detail reinforces the purpose. No ambiguity about what the tool does.

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?

The description explicitly guides when to use `path` vs `content_base64`, labeling path as the cheap local option and content_base64 for remote deployments with a size caveat. It also directs the agent to get_task after the asynchronous upload. It doesn't name a sibling alternative, but the guidance within the tool is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tobee89/mcp-paperless-ngx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server