Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Create a project task

dolibarr_task_create

Add a task to a Dolibarr project using a required project ID and label, with optional dates, planned hours, parent task, and custom fields.

Instructions

Adds a task to a 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": {
      "project_id": "<project_id>",
      "label": "<label>"
    },
    "name": "dolibarr_task_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoLeave out to number it after the project ref.
labelYes
date_endNoDate as YYYY-MM-DD.
date_startNoDate as YYYY-MM-DD.
project_idYes
descriptionNo
custom_fieldsNoCustom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list.
planned_hoursNo
parent_task_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds nothing beyond that: it does not say what happens on duplicate labels, whether ref auto-numbering occurs, or what is returned on success. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence, but brevity here is under-specification rather than conciseness. There is no front-loaded detail an agent could act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutation tool with nine parameters, a nested object, and no output schema needs the description to carry real weight. One generic sentence leaves the agent without required-field context, side effects, or return expectations.

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

Parameters1/5

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

Nine parameters at 44% schema description coverage, including a nested custom_fields object, and the description explains none of them. It does not mention project_id, label, parent_task_id, planned_hours, or the ref auto-numbering behavior, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Adds a task to a project" restates the name and title (dolibarr_task_create / "Create a project task") without adding scope, required inputs, or any distinction from siblings like dolibarr_task_update or dolibarr_task_add_time. It is a tautology rather than a specification.

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?

No when-to-use guidance, no prerequisites (e.g. project must exist), and no mention of alternatives such as dolibarr_task_update for modifying an existing task. The agent must infer everything from the tool name.

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