Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Delete a bill of materials

dolibarr_bom_delete
Destructive

Permanently deletes a bill of materials (BOM) by ID, with a preview-only mode until confirm=true. Requires a reason for the audit log when confirming.

Instructions

Deletes a BOM 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": {
      "bom_id": "<bom_id>"
    },
    "name": "dolibarr_bom_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
bom_idYes
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond `destructiveHint=true`, the description discloses that deletion is permanent and difficult to undo, and that the unconfirmed call is a non-mutating preview. It does not describe possible dependency or cascading effects, nor what the preview contains.

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?

Two short sentences front-load the destructive action and then explain the safe preview behavior. 'Permanently' and 'cannot simply be undone' overlap somewhat, and the latter is less precise than the former.

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?

Together, the description, annotations, and schema provide the required identifier, irreversible destructive nature, default preview, consent gate, and audit-reason requirement needed for careful invocation. With no output schema, the unspecified preview contents and omission of deletion preconditions or downstream effects leave modest completeness gaps.

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?

The schema already documents the confirmation workflow, explicit-consent requirement, and the audit-log purpose and conditional requirement of `reason`; the description adds little beyond restating the preview behavior. The undocumented `bom_id` is reasonably clear from its name, but the description supplies no additional identifier guidance.

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

Purpose4/5

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

The description clearly states the verb, resource, and scope: it permanently deletes a BOM. It does not explicitly distinguish this operation from sibling deletion or generic API tools, so it does not reach the highest level of differentiation.

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?

The statement that omitting `confirm=true` returns only a preview gives clear guidance for inspecting the operation before executing it, while the schema additionally requires explicit user agreement before confirmation. It does not explain when deletion is appropriate, identify prerequisites, or route the agent to an alternative.

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