Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Get a bill of materials

dolibarr_bom_get
Read-only

Retrieve a single bill of materials by numeric ID or Dolibarr reference, including all component lines.

Instructions

One BOM by id or ref, with its component lines.

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": "<bom>"
    },
    "name": "dolibarr_bom_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
bomYesThe record's numeric id, or its ref exactly as shown in Dolibarr.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description's one contribution is disclosing that component lines are included in the response — meaningful given there is no output schema — but it says nothing about error or not-found behavior.

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?

A single tight sentence with the resource and lookup key front-loaded; nothing is wasted. It borders on over-terseness, which keeps it from a 5 but is structurally sound.

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 one-parameter read with full schema coverage and read-only annotations, the description covers what the tool returns (BOM plus lines), which is the main gap structured fields leave open. Only failure modes are unaddressed, a minor omission at this complexity.

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% and the single 'bom' parameter already documents the numeric-id-or-Dolibarr-ref duality in detail. The description's 'by id or ref' merely restates the schema, adding no format or resolution 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?

States a specific resource (BOM), cardinality (one), and lookup keys (id or ref), plus the notable fact that component lines come back with it. That distinguishes it well from dolibarr_bom_search and dolibarr_bom_line, though it never names a sibling explicitly.

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?

Usage is only implied: you call this when you already have a single BOM's id or ref. There is no explicit when-to-use/when-not, no pointer to dolibarr_bom_search for discovery, and no mention of what happens if the record is missing.

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