Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Update a third party

dolibarr_thirdparty_update

Updates selected fields of an existing Dolibarr third party, such as name, address, email, phone, VAT number, roles and custom fields. Only the fields you provide are changed.

Instructions

Changes fields of a third party. Only the fields given are changed.

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": {
      "thirdparty_id": "<thirdparty_id>"
    },
    "name": "dolibarr_thirdparty_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
zipNo
nameNo
townNo
emailNo
phoneNo
rolesNoWhat the third party is to the company.
addressNo
name_aliasNoTrade name or short name.
vat_numberNoIntra-community VAT number.
note_publicNoNote visible to the third party (printed on documents).
country_codeNoISO 3166 country code, e.g. FR, US.
note_privateNoInternal note.
custom_fieldsNoCustom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list.
thirdparty_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the safety profile is covered. The description contributes the genuinely useful partial-update rule (unspecified fields are left untouched), but omits permission requirements, behavior when thirdparty_id does not exist, and whether array fields like roles are merged or replaced.

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 short sentences, front-loaded with the purpose and followed by the key semantic constraint; no filler or repetition. Brevity is appropriate per sentence, though the total volume is thin relative to a 15-parameter mutation tool.

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 mutation tool with 15 parameters, a nested custom_fields object, roughly half the schema undocumented, and no output schema, the description does far too little. It does not cover error conditions, permission or role implications of changing roles, or how custom_fields interact with the referenced dolibarr_custom_field_list.

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

Parameters2/5

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

With 15 parameters and only 47% schema description coverage, the description needs to carry param meaning but says nothing about any individual field. The "only fields given are changed" rule does govern how all parameters are read, but it leaves the many undocumented fields (url, phone, address, thirdparty_id) without added meaning.

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?

The description names a specific verb ("Changes") and resource ("fields of a third party"), making it distinguishable from dolibarr_thirdparty_create/get/search and from the other *_update siblings. It does not explicitly contrast itself with those siblings, but the verb+resource pair is unambiguous.

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?

There is no when-to-use guidance, no prerequisites (e.g., that thirdparty_id must exist), and no mention of alternatives. The only usage-adjacent statement, "Only the fields given are changed," describes semantics rather than the conditions under which to pick this tool.

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

Deploy Server

Other Tools