Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Search supplier orders

dolibarr_supplier_order_search
Read-only

Find supplier purchase orders by order reference or supplier reference, with newest results first, to quickly locate and review a specific order.

Instructions

Finds purchase orders sent to suppliers by ref or the supplier'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_supplier_order_search"
  }
}

Input Schema

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

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?

The annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful ordering behavior with 'Newest first', but does not disclose matching semantics, pagination behavior, or what the result set contains beyond the schema's parameter descriptions.

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 description is two short sentences, front-loaded with the core purpose and followed by the ordering behavior. Every sentence carries useful information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple search tool, the description covers purpose, search fields, and ordering. However, there is no output schema and the description does not indicate the return shape or whether pagination metadata is included, leaving some context for the agent to infer.

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 the schema already documents page, limit, query, status, and thirdparty_id. The description reinforces that the query targets the order ref or supplier reference, but adds no additional meaning for filters such as status or supplier id.

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 uses a specific verb and resource: it 'Finds purchase orders sent to suppliers' and clarifies lookup by order ref or supplier reference. This distinguishes supplier purchase orders from customer orders, though it does not explicitly name sibling 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?

Usage is implicitly clear for a search tool: use it to locate supplier purchase orders by reference. However, there is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as viewing a single order or searching supplier invoices.

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