Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Get a shipment

dolibarr_shipment_get
Read-only

Retrieves a single Dolibarr shipment by numeric ID or reference, including its line items and the lots shipped on each line for order fulfillment tracking.

Instructions

One shipment by id or ref, with its lines and the lots shipped on each line.

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": {
      "shipment": "<shipment>"
    },
    "name": "dolibarr_shipment_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
shipmentYesThe 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.6/5.0
Behavior3/5

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

Annotations already declare this read-only and closed-world, so the safety profile is covered. The description adds real value by disclosing that the response is enriched with lines and shipped lots, but says nothing about behavior when the identifier is unknown, permission requirements, or payload size for shipments with many lots.

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?

A single front-loaded sentence with no filler; the scope, key, and returned content are all packed into it without redundancy.

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 tool with no output schema, the definition supplies the one thing the schema cannot: what the returned object contains (lines and the lots shipped on each line). Only missing piece is what happens on a not-found identifier, which is a minor gap given the tool's simplicity.

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 coverage is 100% and the single parameter's description already explains that it accepts a numeric id or the ref as shown in Dolibarr. The definition's 'by id or ref' merely mirrors the schema, adding no new format, casing, or fallback guidance, so the 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?

The description names a specific resource (a single shipment) and lookup key (id or ref), and states what comes back (lines plus lots per line). That distinguishes it from the shipment search/create/action siblings without naming them, though it never explicitly contrasts with those alternatives.

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 'One shipment by id or ref' implies this is the point lookup for a single known record, which is adequate context for an agent that already has an identifier. However, there is no explicit statement about when to prefer this over dolibarr_shipment_search or when a ref should be used instead of an id.

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