Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Create a project

dolibarr_project_create

Create draft projects in Dolibarr with optional auto-generated references, dates, visibility, budget, and custom fields, then validate them via the project action.

Instructions

Creates a draft project; its ref comes from Dolibarr's numbering rule unless given. Open it with dolibarr_project_action validate.

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": {
      "title": "<title>"
    },
    "name": "dolibarr_project_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoLeave out for an automatic ref.
titleYes
publicNotrue = visible to every user; false = only to project contacts.
date_endNoDate as YYYY-MM-DD.
date_startNoDate as YYYY-MM-DD.
descriptionNo
note_publicNoNote visible to the third party (printed on documents).
note_privateNoInternal note.
budget_amountNo
custom_fieldsNoCustom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list.
thirdparty_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write, so the safety profile is covered. The description adds context beyond that: the record is persisted in draft state, and the ref is auto-assigned from Dolibarr's numbering rule unless supplied. Missing is whether a duplicate call creates a second project or what identifier comes back.

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

Conciseness5/5

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

Two short clauses with the creation state front-loaded followed by the follow-up action; every word carries information and nothing is padded.

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

Completeness3/5

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

For an 11-parameter mutation tool with no output schema, the definition covers the lifecycle step and ref behavior but leaves out the returned identifier and the meaning of key optional inputs like thirdparty_id. Adequate to invoke, not complete enough to invoke confidently on first try.

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

Parameters3/5

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

Schema description coverage is 64%, so several parameters (title, description, budget_amount, thirdparty_id) carry no documented meaning anywhere. The description only touches ref semantics, largely restating the schema's own "Leave out for an automatic ref", and says nothing about which third party owns the project or how custom_fields interacts with dolibarr_custom_field_list.

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

Purpose5/5

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

States a specific verb and resource ("Creates a draft project") and immediately pins down the resulting state as a draft, which separates it from dolibarr_project_get/search/update. It also names the sibling needed for the natural next step, so an agent can place it in the lifecycle without opening any schema.

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

Usage Guidelines4/5

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

Explicitly says the created project is a draft and routes the agent to dolibarr_project_action validate to open it, which is real when-to-use guidance tied to an alternative. It does not state exclusions (e.g., check dolibarr_project_search first to avoid duplicates), so it stops short of full routing.

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