Skip to main content
Glama

update_custom_field

Idempotent

Modify an existing custom field's name, data type, or extra configuration data in Paperless-NGX by specifying its id, keeping your metadata schema accurate.

Instructions

Update an existing custom field's name, data type, or extra configuration data.

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": {
      "id": "<id>"
    },
    "name": "update_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameNo
data_typeNo
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 it is non-read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds that this touches an existing field's type and extra configuration, but says nothing about consequences of changing a data type on documents that already use the field, nor about what happens to omitted properties.

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?

A single front-loaded sentence with no filler, listing mutable fields in a natural order. It is efficient but borders on thin given the parameter documentation gap.

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?

A mutation tool with four parameters at 0% schema coverage, no output schema, and no parameter descriptions. The definition should compensate by explaining the required id and the implications of a data_type change, and it does not; annotations cover safety but not the semantic 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 carries the full burden. It names three of four parameters (name, data_type, extra_data) and gives 'extra configuration data' as a gloss for the free-form JSON blob, but never mentions the required 'id' or enumerates the allowed data_type values that the schema lists.

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 (update) and resource (custom field) and enumerates the mutable facets: name, data type, extra configuration data. That is enough to separate it from create/delete/get by name alone, though it never explicitly contrasts with the closest sibling, bulk_edit_custom_fields.

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?

The word 'existing' implies this only applies to fields already created, which is a weak usage hint. There is no guidance on when to pick this over bulk_edit_custom_fields for multiple fields, or any prerequisite such as permissions needed to modify a field.

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