Skip to main content
Glama
digitalfactorysn

MCP Dolibarr Expert

create_category

Create a new category for products, suppliers, clients, members, or contacts in Dolibarr. Specify label, type, optional parent, color, and description to organize your records.

Instructions

Créer une catégorie

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes0=Produit, 1=Fournisseur, 2=Client, 3=Membre, 4=Contact
colorNoCouleur hex (ex: #FF0000)
labelYesNom de la catégorie
fk_parentNoID catégorie parente
descriptionNo
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 merely states 'create a category' with no mention of side effects, required permissions, uniqueness constraints, or what happens on creation. The tool appears to be a mutating operation, but the description gives no additional transparency.

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?

The description is only three words, but this is under-specification rather than conciseness. It does not earn its place because it simply repeats the tool name. A valuable description would add context or detail while remaining brief.

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?

For a creation tool with 5 parameters, no annotations, and no output schema, the description is severely inadequate. It provides no context about category types, the meaning of 'type' values (though the schema helps), or what the response will be. The tool is incompletely specified for an agent to invoke correctly.

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 80% (4 of 5 parameters have descriptions), so the schema already provides the semantic meaning for most parameters (type, color, label, fk_parent). The description adds no parameter information. Per baseline rules, with high schema coverage, a score of 3 is appropriate.

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?

The description 'Créer une catégorie' is a direct French translation of the tool name 'create_category'. It restates the name without adding any specific detail about what a category is, its purpose, or how it differs from sibling tools like list_categories or add_object_to_category. This is a tautology, not a clarifying description.

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 guidance on when to use this tool versus alternatives. The description does not mention prerequisites, typical use cases, or any exclusions. Sibling tools exist for viewing or adding objects to categories, but no differentiation is provided.

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