Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Create an agenda event

dolibarr_event_create

Adds a meeting, call, or task to the Dolibarr agenda, optionally linked to a third party, contact, or project.

Instructions

Adds an event to the agenda: a meeting, a call, or a task to do, optionally linked to a third party, contact or project.

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": {
      "label": "<label>",
      "start": "<start>"
    },
    "name": "dolibarr_event_create"
  }
}

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
labelYes
startYesYYYY-MM-DD or YYYY-MM-DD HH:MM (UTC).
full_dayNo
locationNo
type_codeNoAC_RDV meeting, AC_TEL call, AC_EMAIL email, AC_OTH other; see dolibarr_dictionary event_types.AC_OTH
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

C2.7/5.0
Behavior2/5

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

Annotations already declare it is a non-read-only, non-idempotent, non-destructive write, and the description adds essentially nothing beyond that: no note on whether duplicate labels create duplicate events, no error behavior, no mention of default ownership or the default type_code applied when omitted.

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?

One tight sentence with the resource and the plausible event kinds front-loaded, and no filler. It is well-formed but too thin for the parameter surface it fronts.

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?

With 13 parameters, 46% schema coverage, a nested custom_fields object, and no output schema, the definition leaves an agent guessing about defaults (type_code AC_OTH, owner_user_id) and required fields. For a create tool of this complexity, far more context is warranted.

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 46% across 13 parameters (including a nested custom_fields object), so the description needs to compensate and does not. The single sentence loosely maps to thirdparty_id, contact_id and project_id but says nothing about start/end formats, full_day, done semantics, or owner_user_id defaults.

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 and resource ('Adds an event to the agenda') and enumerates the concrete event kinds (meeting, call, task to do), so an agent can distinguish this from unrelated create siblings. It stops short of naming a specific sibling such as dolibarr_event_update or dolibarr_task_create as an alternative.

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 explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as valid thirdparty_id/contact_id/project_id values. Usage is only inferable from the verb 'adds'.

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