Skip to main content
Glama

create_custom_field

Creates a new Paperless-NGX custom field with a specified data type, including monetary fields that require currency-code prefixes like USD10.00.

Instructions

Create a new custom field with a specified data type (string, url, date, boolean, integer, float, monetary, documentlink, or select). For monetary fields, values must use currency code prefix format (e.g., USD10.00, GBP123.45) — NOT trailing symbol format (e.g., 10.00$).

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": {
      "name": "<name>",
      "data_type": "<data_type>"
    },
    "name": "create_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
data_typeYes
extra_dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral detail with the monetary value format rule and the explicit negative example (USD10.00 not 10.00$), but is silent on uniqueness constraints, failure modes, and post-creation steps for select fields.

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?

Two sentences, front-loaded with the core action, with the formatting caveat clearly separated. Re-listing the full nine-value enum duplicates what the schema already enumerates and is the main piece of avoidable bulk.

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

Completeness2/5

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

For a three-parameter mutation tool with zero schema description coverage and no output schema, one parameter (extra_data) is entirely unexplained and the caller gets no idea of what creation returns or how select options are supplied. The monetary format note is helpful but does not close the larger gaps.

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 0%, so the description has to carry weight. It restates the data_type enum and adds real value by explaining the monetary value format; however, the third parameter 'extra_data' is never mentioned, and 'name' has no stated constraints (uniqueness, length, allowed characters).

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

Purpose4/5

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

States a specific verb and resource ('Create a new custom field') and names the configurable dimension (data type). The create_ prefix and the sibling set (update_custom_field, delete_custom_field, get_custom_field) make the operation distinguishable, though the description itself never contrasts with them.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. Nothing says to use create_custom_field rather than update_custom_field for an existing field, nor what happens on a duplicate name, nor whether 'select' fields need their options configured elsewhere after creation.

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