Skip to main content
Glama

Raw API request

paperless_api_request
Destructive

Send custom requests to any paperless-ngx REST endpoint. This escape hatch covers workflows, share links, mail rules, trash, permissions, and other operations not handled by dedicated tools.

Instructions

Escape hatch for any paperless-ngx REST endpoint the other tools do not cover — workflows, share links, mail rules, trash, document merge/rotate/edit_pdf, permissions, and so on. path is relative to /api/, e.g. documents/12/history, trash, share_links. Trailing slashes are added automatically. Browse the full schema for your server at <paperless-url>/api/schema/view/. Prefer the purpose-built tools when one fits; they return smaller, name-resolved output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body, for POST/PATCH/PUT.
pathYesEndpoint path relative to `/api/`, without a query string.
queryNoQuery parameters.
methodNoGET
max_charsNoTruncate the response body at this many characters.
Behavior4/5

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

Annotations already carry destructiveHint=true and openWorldHint=true; the description adds useful behavioral details beyond the flags: paths are relative to `/api/`, trailing slashes are added automatically, and responses are raw rather than name-resolved. It does not contradict the annotations.

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?

Four sentences, each earning its place: purpose, path semantics, schema discovery, and alternative-preference guidance. It is front-loaded with the most important information and has no filler.

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 generic raw-API escape hatch with no output schema, the description is appropriately complete: it teaches the agent how to discover endpoint schemas, how to build paths, and when to avoid the tool. It correctly delegates exhaustive endpoint enumeration to the linked API schema.

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 high, but the description adds meaning beyond the schema by explaining that `path` is relative to `/api/`, giving concrete examples, and noting trailing-slash normalization. It also clarifies that `body` is for POST/PATCH/PUT implicitly via the raw-API context.

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+resource: an escape hatch for any paperless-ngx REST endpoint not covered by the purpose-built siblings, with concrete examples such as workflows, share links, mail rules, and trash. It clearly distinguishes itself from the other paperless tools by scope.

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

Usage Guidelines5/5

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

Gives explicit routing guidance: prefer the purpose-built tools when one fits; use this tool for endpoints they do not cover. It also provides path-relative-to-`/api/` instructions and a link to the full API schema, so the agent knows exactly how to construct a call.

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/patrickcylai/paperless-ngx-mcp'

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