Skip to main content
Glama
pvliesdonk
by pvliesdonk

update_custom_field

Idempotent

Update a custom field definition by modifying its name or extra data (e.g., default currency or select options).

Instructions

Patch selected fields on a custom field definition.

extra_data shape depends on data_type:

  • monetary — optional {"default_currency": "USD"} (ISO-4217).

  • selectextra_data.select_options replaces the current list wholesale. To preserve existing values, include each existing option with its server-assigned id: {"select_options": [{"id": "abc", "label": "Low"}, ...]}. Omitting an option's id creates a new option; dropping an option from the list deletes it and any document values referencing it.

See create_custom_field for the full extra_data shape table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patchYes
field_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
data_typeYes
extra_dataNo
Behavior5/5

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

The description goes beyond annotations by disclosing that updating extra_data for 'select' type replaces the list wholesale, and dropping options deletes document values referencing them. This reveals potential side effects not indicated by destructiveHint=false.

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?

The description is well-structured with three paragraphs, but some redundancy could be trimmed. However, the level of detail for the complex parameter is justified and front-loaded with the purpose.

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?

Given the presence of an output schema and annotations, the description covers the essential behavioral details and parameter semantics. It references the sibling tool for additional shape information, making it complete for a patch operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully explains the complex 'extra_data' parameter shapes for 'monetary' and 'select' types, including examples and warnings. The 'name' and 'field_id' are self-explanatory but still mentioned.

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?

The tool name 'update_custom_field' and description 'Patch selected fields on a custom field definition' clearly state the action and resource. It distinguishes itself from siblings like create, delete, get, and list custom fields by focusing on patching.

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 provides context on when to use this tool by explaining the extra_data parameter's behavior and referencing 'create_custom_field' for the full shape table. It does not explicitly mention when not to use this tool versus alternatives, but the guidance is sufficient.

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

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