Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Search shipments

dolibarr_shipment_search
Read-only

Find shipments by shipment reference or customer reference, newest first, and filter by status or third-party ID. Use it to locate specific Dolibarr shipment records for review or follow-up.

Instructions

Finds shipments by ref or the customer's reference. Newest first.

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_shipment_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 0.
limitNoRows per page (max 50).
queryNoPart of the shipment ref or customer reference.
statusNo
thirdparty_idNoOnly records of this third party (id from dolibarr_thirdparty_search).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 contributes one genuine behavioral fact beyond them, the 'Newest first' ordering, but says nothing about how an unfiltered call behaves, result volume, or whether all shipments are returned by default.

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

Conciseness5/5

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

Two short sentences with zero waste, front-loading the lookup keys and closing with the ordering behavior. Nothing is repeated from the schema or annotations.

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?

Five optional parameters, no output schema, and a rich input schema mean the description does not need to restate field definitions. The main gap left is what a call with no query returns (full listing vs. error) and any indication of result shape, which matters for a search tool with all-optional params.

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%, so page, limit, query, and thirdparty_id are already documented structurally. The description only echoes the query semantics ('ref or the customer's reference') and adds no meaning for status, thirdparty_id scoping, or the 50-row cap; baseline 3 applies.

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 and resource ('Finds shipments') plus the two lookup keys (ref or customer reference), which lets an agent distinguish it from single-record siblings like dolibarr_shipment_get. It stops short of naming alternates or stating the scope of an unfiltered call.

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: the ref/customer-reference framing suggests it is the lookup path when you know an identifier, and 'Newest first' hints at browse behavior. There is no explicit when-to-use/when-not guidance and no mention of related tools such as shipment_get or the order/invoice search siblings.

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