MCP and custom fields

Look up and manage the custom fields of third parties and contracts by asking Claude.

Look up, add and change the custom fields of third parties and contracts by asking Claude. Claude can also read and fill in the values of those fields on a third party or a contract.

Back to the overview: Talk to your data with MCP

Overview

Custom fields are the extra fields your organisation adds to the forms of third parties and contracts. The custom field tools manage the fields themselves: their settings, their options (for select fields) and the categories they are sorted into. They follow the same rules as the Custom fields page in Configuration.

Navigate to: Left menu: Configuration, then Custom fields.

Custom fields, options and categories are identified by their unique id (a uuid). Claude gets that id from the list tools. A bare number or a name is refused. A field can only be defined for third parties or contracts. Other parts of the platform, such as risks, issues, action plans and assessments, have no custom field tools.

Every field has a type. Claude uses the type names below, and the Custom fields page shows them as Text, Rich text, Date, Toggle, Select and Record select:

  • TEXT is plain text.
  • WYSIWIG is formatted text (Rich text).
  • DATE is a date.
  • TOGGLE is a yes or no.
  • SELECT offers a list of options that you add to the field.
  • MODEL_SELECT (Record select) offers the users or the third parties of your organisation, instead of options of its own.

What Claude can do

Tool

Reads or changes

What it does

list-custom-fields

Reads

Lists the custom fields of third parties and contracts, grouped by module and in the order the forms show them. Archived fields are not listed.

create-custom-field

Changes

Adds a custom field to the forms of third parties or contracts.

update-custom-field

Changes

Changes the settings of a custom field. Only the settings you name are changed.

list-custom-field-options

Reads

Lists what a select or record select field can be set to: its options, or the users or third parties it offers.

create-custom-field-option

Changes

Adds an option to a select field, at the end of the list or at the position you give.

update-custom-field-option

Changes

Renames an option, or moves it to another position in the list.

delete-custom-field-option

Changes

Removes an option from a select field for good.

list-custom-field-categories

Reads

Lists the categories the custom fields are sorted into, in the order the app shows them. Archived categories are not listed.

create-custom-field-category

Changes

Adds a category, at the end of the list or at the position you give.

update-custom-field-category

Changes

Renames a category, or moves it to another position in the list.

list-custom-field-options shows 25 entries per page and up to 100 when asked. A larger number is refused instead of reduced. The other list tools return everything in one answer.

Example questions

  • "Which custom fields do we have for third parties?"
  • "Which options does the Industry segment field offer?"
  • "Add a select field called Data location to the third parties, with the options EU, US and Other."
  • "Make the Data location field required."
  • "Rename the option Other to Elsewhere and move it to the front."
  • "Create a category called Compliance and put the Data location field in it."
  • "Set the Data location of Example Logistics B.V. to EU."
  • "Show me the custom fields of THC-12."

Looking up fields, options and categories

Each field in list-custom-fields comes with its id, its name and label, its type, the module it belongs to (third parties or contracts), its default value, whether it is required, its tooltip and placeholder, its position, whether the form shows it under the collapse, its description, whether it takes several values, and its category. Ask for one module to list only the fields of that module.

list-custom-field-options needs the id of a select or record select field. For a select field it lists the options in the order the app shows them. For a record select field it lists the users or third parties that you may see, ordered by name. Both can be narrowed with a search on the label or the name. Any other type of field takes its value directly and is refused here.

Adding a custom field

A new field needs a label, a type and the module it belongs to, third parties or contracts. Claude asks you for anything missing.

  • The name is the key under which the values are stored. If you do not give one, 3rdRisk derives it from the label. It cannot contain a dot or an asterisk, no other field of the same module may have it, and it cannot be changed once the field exists.
  • A new field is not required, is not shown under the collapse and does not take several values, unless you say otherwise.
  • Several values can only be switched on for select and record select fields.
  • A record select field needs to know whether it offers users or third parties.
  • You can give a default value, a tooltip, a placeholder, a description and a category. The label, tooltip and placeholder are written in English.
  • A position can be given as well. The other fields of that module and category move along to make room.

A select field starts without options. Add them with create-custom-field-option afterwards.

Changing a custom field

Only the settings you name are changed, and everything else stays as it was. The label, the type and the module cannot be cleared.

Once a field holds values on any record, its type, module, several values setting and record select reference are fixed. This is the same lock as on the Custom fields page. Claude then reports that the field already has saved values.

Note: Changing a select field to another type removes all of its options.

Adding, renaming and removing options

Options belong to select fields only. A record select field offers the users or third parties of your organisation, and Claude cannot add options to it.

  • An option needs a label, written in English, and the field it is added to. The field cannot be changed afterwards: an option stays on the field it was created on.
  • A new option goes to the end of the list, unless you give a position. The other options move along.
  • Renaming or moving an option changes only what you name.
  • Removing an option is for good, and Claude cannot bring it back. Records that had the option chosen keep their stored value, but the option no longer shows in the answer.

Note: Ask Claude to confirm with you before it removes an option.

Categories

Categories sort the custom fields on the Custom fields page. A new category needs a name. Give a position to place it in the list, otherwise it goes to the end. Renaming or moving a category changes only what you name. To put a field in a category, or to take it out, change the category of the field with update-custom-field.

Archived categories are not listed and cannot be changed by Claude.

Custom field values on third parties and contracts

The tools that read and write third parties and contracts work with the values of these fields.

  • Reading: get-third-party, list-third-parties, get-contract and list-contracts return the custom fields of each record. There is one entry per field, also for the fields that have no value yet. Every entry has the field id, its name and label, and its value.
  • Writing: create-third-party, update-third-party, create-contract and update-contract take the values of the custom fields. Claude sends them per field id. Only the fields that are sent change, and an empty value clears a field.
  • Required fields: every required custom field has to be filled in when a third party or a contract is created.
  • Value formats: text as text, a date as a date, a toggle as yes or no, a select as one of its options, and a record select as a user or a third party. A field that takes several values is filled with a list.
  • Looking up a choice: Claude uses list-custom-field-options to find the option, user or third party that goes into a select or record select field.

The change history of a third party shows changes to its custom field values, named by field.

Risks, issues, action plans and assessments do not have custom fields in MCP.

For the other fields of a record, see MCP and third parties and MCP and contracts.

When a call is refused

A call that is refused names the field that was wrong. A setting that the tool does not know, such as type instead of the field type, is reported with the list of settings it does accept, instead of being ignored. A change without any setting to change is refused as well.

Permissions needed

The same permissions as the Custom fields page in Configuration: to see it, to add and to change.

  • Listing custom fields needs no permission beyond your connection.
  • Listing categories needs the permission to see the Custom fields page.
  • Adding a field or a category needs the permission to add.
  • Changing a field or a category needs the permission to change.
  • Adding, renaming and removing options also needs the permission to change, because the Custom fields page treats options as part of the field.
  • Listing options needs the permission to see the third parties or the contracts the field belongs to.

If you may not do something in the application, Claude cannot do it either.

Learn more: MCP security and permissions

Known limitations

  • Claude cannot archive, restore or permanently delete a custom field or a category. Use the Custom fields page for that.
  • Custom tabs, and putting a field on a tab, are not covered.
  • The name of a field cannot be changed after it is created.
  • A removed option cannot be brought back by Claude.
  • Custom fields exist for third parties and contracts only.
  • Labels, tooltips, placeholders and option labels are written in English.
  • Archived fields and archived categories are not listed and cannot be changed by Claude.