Skip to main content
Glama
digitalfactorysn

MCP Dolibarr Expert

create_product

Create a new product or service in the Dolibarr catalog with reference, label, pricing, stock, and tax details.

Instructions

Créer un nouveau produit ou service dans le catalogue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesRéférence interne unique (ex: CLOUD-AZ-001)
typeNo0=Produit physique, 1=Service. Défaut: 1
labelYesLibellé du produit/service
priceNoPrix HT de vente
stockNoStock initial (pour produits physiques)
statusNo1=En vente, 0=Inactif
tva_txNoTaux TVA % (ex: 18)
weightNoPoids en kg (pour produits physiques)
barcodeNoCode barre / EAN
price_ttcNoPrix TTC (calculé si price fourni)
status_buyNo1=Achetable, 0=Non achetable
descriptionNoDescription détaillée
price_base_typeNo"HT" ou "TTC". Défaut: HT
accountancy_code_buyNoCode comptable d'achat
accountancy_code_sellNoCode comptable de vente
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the creation action without mentioning potential side effects, such as uniqueness constraints on 'ref', auto-calculation of fields like 'price_ttc', or any required permissions. This lacks the context needed for safe invocation.

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?

The description is a single concise sentence in French, front-loading the verb and direct object with no superfluous words. It is efficiently structured and immediately comprehensible.

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?

Given the tool has 15 parameters and no output schema, the description is minimal but not wholly inadequate. The schema fully documents parameters, and the creation action is straightforward. However, it does not mention return values, required permissions, or any validation behavior, leaving the agent without some important context.

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 100%, so the baseline is 3. The description adds no parameter-specific information beyond what the schema already provides, though it does hint at the 'type' parameter by mentioning both products and services. It neither enhances nor detracts from the schema's clarity.

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?

The description clearly states the action with a specific verb 'Créer' (create) and names the resource 'produit ou service' (product or service) as well as the location 'catalogue' (catalog). This unambiguously distinguishes the tool from siblings like update_product and get_product.

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?

The description provides no explicit guidance on when to use this tool versus alternatives. There is no mention of prerequisites, exclusions, or references to related tools such as update_product or get_product. The use case is only implied by the verb 'create'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/digitalfactorysn/mcp-dolibarr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server