Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Validate, close or delete a reception

dolibarr_reception_action
Destructive

Move a Dolibarr reception to another status: validate, close, or delete. Returns a preview unless confirm is true, so irreversible changes are reviewed first.

Instructions

Moves a reception to another status. Actions: validate (the draft gets its final ref; depending on the stock setup this posts the goods into stock); close (classifies the reception as closed (processed)); delete (deletes the reception permanently). This step cannot simply be undone: without confirm=true it only returns a preview.

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": {
      "reception_id": "<reception_id>",
      "action": "<action>"
    },
    "name": "dolibarr_reception_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
reasonNoOne line on why, kept in the audit log. Required when confirm is true.
confirmNofalse (default) = change nothing, only show what would happen. true = do it. Set true only after the user has explicitly agreed to this exact step.
reception_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 destructiveHint=true and idempotentHint=false, but the description goes further: validate assigns a final reference and may post goods into stock, close marks processed, delete is permanent, and without confirm=true nothing changes. It does not cover failure modes (e.g. what happens if already validated) or permission requirements.

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

Conciseness4/5

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

Three tight sentences, front-loaded with the general behavior before the per-action breakdown, and the irreversibility warning closes it. The nested parentheses in the validate clause are slightly dense but carry real information.

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

Completeness4/5

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

For a destructive four-parameter mutation tool with no output schema, the description covers effects, reversibility, and the two-step confirm flow, which is most of what an agent needs. It stops short of describing the preview payload shape or preconditions per action.

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

Parameters4/5

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

Schema coverage is only 50%, but the description compensates by mapping each action enum value to its concrete effect and restating that confirm=false is a dry run. action and reception_id themselves are still relatively bare in the prose, so it falls short of full compensation.

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 ('Moves a reception to another status') and enumerates the three exact actions with their effects, so an agent can tell it apart from dolibarr_reception_get/search/create 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 Guidelines3/5

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

The confirm/preview rule gives a clear prerequisite for actually executing a step, and the three action values imply when each applies. However, there is no explicit when-to-use versus siblings (e.g. use reception_get to inspect before acting) and no stated exclusions such as which statuses can be validated or deleted.

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