Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Create a commercial proposal

dolibarr_proposal_create

Creates a draft proposal (quote) for a customer or prospect and adds product or free-text lines; edit or delete it before validating.

Instructions

Creates a draft proposal (quote) for a customer or prospect and adds its lines. A draft can be edited or deleted; validate it with dolibarr_proposal_action.

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_proposal_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoProposal date; default today.
linesNoLines to add to the new draft.
valid_daysNoValidity in days; default from Dolibarr's setup.
note_publicNoNote visible to the third party (printed on documents).
note_privateNoInternal note.
ref_customerNoThe customer's own reference.
custom_fieldsNoCustom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list.
delivery_dateNoDate as YYYY-MM-DD.
thirdparty_idYes

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. The description adds real lifecycle context beyond that: the result is a draft (editable, deletable), and a separate validation step is required. It does not disclose permission requirements, whether duplicate refs are rejected, or any limits on the embedded lines array.

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 sentences: the first defines the action and effect, the second defines the resulting state and the follow-up tool. Nothing is redundant and the key scoping information is front-loaded.

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 a 9-parameter creation tool with a nested lines array and no output schema, the description covers the workflow but never indicates what comes back (e.g., the new proposal id or ref), which the agent needs in order to chain into dolibarr_proposal_action. It is adequate but leaves that hand-off implicit.

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 89%, so the schema already explains date, valid_days, notes, custom_fields and the nested line fields in detail. The description only gestures at line handling ("adds its lines") without adding format or defaulting nuances beyond the schema. Baseline 3 is appropriate when the schema carries the semantics.

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 proposal (quote)"), clarifies the entity scope ("for a customer or prospect") and the side effect of adding lines. It also contrasts with dolibarr_proposal_action, which handles validation, so the agent can distinguish it from the sibling that acts on an existing proposal.

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?

Clearly frames the lifecycle: this tool produces a draft that "can be edited or deleted" and must be "validate[d]... with dolibarr_proposal_action." That gives the agent a clear next step and implicitly rules out using this tool for validation. It stops short of explicit exclusions against dolibarr_proposal_update or guidance on when to prefer order/invoice creation instead.

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