Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Update an agenda event

dolibarr_event_update

Update only specified fields of a Dolibarr agenda event, such as start time, location, or completion status, leaving other details unchanged.

Instructions

Changes an agenda event, e.g. its time, or marks it done. 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": {
      "event_id": "<event_id>"
    },
    "name": "dolibarr_event_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD or YYYY-MM-DD HH:MM (UTC).
doneNotrue = done (100%), false = to do (0%). Leave out for a plain appointment.
noteNo
labelNo
startNoYYYY-MM-DD or YYYY-MM-DD HH:MM (UTC).
event_idYes
full_dayNo
locationNo
type_codeNo
contact_idNo
project_idNo
custom_fieldsNoCustom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list.
owner_user_idNoDefault: the connected user.
thirdparty_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false and idempotent=false, so the safety profile is covered. The description adds genuine value with the merge behavior (only supplied fields are modified), but omits permission requirements, what happens with an invalid event_id, and how conflicting fields (e.g. full_day vs. start/end) interact.

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 with zero padding; the core action and the partial-update rule are both front-loaded. The brevity is efficient, though for a 14-parameter mutation tool the economy edges toward under-specification rather than pure conciseness.

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?

This is a 14-parameter mutation with a nested custom_fields object, no output schema, and only 36% schema coverage, so the description carries a heavy burden. It addresses only two of the many fields and says nothing about return values, error behavior, or required identifiers beyond event_id, leaving an agent to guess at most of the surface.

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?

Schema description coverage is only 36% across 14 parameters, so the description must compensate and does not. It mentions only time and done state, leaving label, note, location, type_code, contact_id, project_id, thirdparty_id, owner_user_id and full_day entirely undocumented in prose; even the worked examples are redundant with schema descriptions that already exist for start/end/done/custom_fields.

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?

"Changes an agenda event, e.g. its time, or marks it done" gives a specific verb (changes) plus the resource (agenda event) and two concrete examples of what changes. It is clearly distinguishable from dolibarr_event_create and dolibarr_event_get, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

"Only the fields given are changed" usefully signals partial-update semantics, so an agent knows it can send a single field. However there is no guidance on preconditions (event must already exist, whether to call dolibarr_event_get first), no mention of when to prefer create vs. update, and no exclusions.

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