Skip to main content
Glama

paperless-mcp

list_document_types

Retrieve and cache all document types to efficiently handle user queries and reduce redundant API calls. Simplifies matching by name or slug for better performance.

Instructions

List all document types. IMPORTANT: When a user query may refer to a document type or tag, you should fetch all document types and all tags up front (with a large enough page_size), cache them for the session, and search locally for matches by name or slug before making further API calls. This reduces redundant requests and handles ambiguity between tags and document types efficiently.

Input Schema

NameRequiredDescriptionDefault
name__icontainsNo
name__iendswithNo
name__iexactNo
name__istartswithNo
orderingNo
pageNo
page_sizeNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "name__icontains": { "type": "string" }, "name__iendswith": { "type": "string" }, "name__iexact": { "type": "string" }, "name__istartswith": { "type": "string" }, "ordering": { "type": "string" }, "page": { "type": "number" }, "page_size": { "type": "number" } }, "type": "object" }

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

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