Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Search bills of materials

dolibarr_bom_search
Read-only

Find bills of materials by reference, label, status, or product ID, with pagination, so you can locate the BOM for a product or manufacturing workflow.

Instructions

Finds bills of materials (BOMs) by ref or label, optionally for one product.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dolibarr_bom_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 0.
limitNoRows per page (max 50).
queryNo
statusNo
product_idNoOnly BOMs that make this product.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 the safety profile is covered. The description adds nothing beyond that - it does not mention pagination defaults, the max-50 limit, or that an empty query lists all BOMs, which are the behaviors an agent would most want disclosed.

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 front-loaded sentence with the primary resource first and the modifier after; no waste. It is arguably too terse for a five-parameter search tool, but nothing is redundant.

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 search tool with five optional parameters, no output schema, and unclear result ordering or empty-query behavior, the definition leaves real gaps: what fields come back, whether results are paginated by default in a way the caller must loop, and what a blank query returns.

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 60%, and the description supplies meaning for the two key undocumented fields: it identifies query as matching ref or label and product_id as 'Only BOMs that make this product'. It leaves the status enum and paging params to the schema, which is reasonable since those are self-describing.

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 verb (finds) and resource (bills of materials/BOMs) plus the searchable fields (ref or label) and an optional product scope. It does not explicitly name siblings like dolibarr_bom_get, but the search-vs-get distinction is implied by 'Finds ... by ref or label'.

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 phrase 'optionally for one product' implies a filter combination, but there is no explicit when-to-use guidance, no statement that all parameters are optional (returning everything), and no pointer to dolibarr_bom_get for fetching a single known BOM.

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