Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Get a manufacturing order

dolibarr_mo_get
Read-only

Retrieve a single manufacturing order by numeric ID or Dolibarr reference, including its product and line details for planned versus posted consumption and production.

Instructions

One MO by id or ref: what it makes, and its lines (role toconsume / toproduce for what is planned, consumed / produced for what was posted).

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": {
      "mo": "<mo>"
    },
    "name": "dolibarr_mo_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
moYesThe 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.8/5.0
Behavior4/5

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

The annotations already declare a safe read-only, closed-world operation, so the description's main added value is its disclosure of return structure. It explains that the result includes manufacturing order lines and clarifies the meaning of role values: 'toconsume / toproduce' for planned quantities and 'consumed / produced' for posted quantities. No pagination or error behavior is described, but that is less critical for a single-record read.

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?

The definition is a single compact sentence with the record scope front-loaded and no wasted wording. The parenthetical explaining line roles is dense but earns its place by clarifying return semantics.

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-only tool with no output schema, the description provides enough context to understand both the required identifier and the returned manufacturing order structure. It does not cover not-found behavior or confirm the exact shape of the returned object, but that is a minor gap for this simple retrieval operation.

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 'mo' parameter is documented in the schema as a numeric id or ref with length constraints. The description's phrase 'by id or ref' aligns with the schema but adds no additional format or edge-case detail, so the baseline 3 is appropriate.

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 identifies a single-record retrieval of a manufacturing order by id or ref, and goes further to state what the response contains (what it makes and its lines). This scope distinguishes it implicitly from search/list siblings like dolibarr_mo_search, though no sibling is named 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?

The phrase 'by id or ref' implies the tool should be used when an identifier is already known, giving minimal but present usage context. There is no explicit when-not-to-use guidance or reference to alternative tools such as dolibarr_mo_search.

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