Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Read from any Dolibarr API endpoint

dolibarr_api_get
Read-only

Calls any Dolibarr REST API GET route to retrieve records not covered by dedicated tools and returns responses with empty fields removed; supports list filters.

Instructions

Calls any GET route of the Dolibarr REST API and returns the reply with empty fields removed. A fallback for look-ups that no dedicated dolibarr_* tool covers; find the route with dolibarr_api_find_endpoint first. List routes accept limit, page, sortfield, sortorder and sqlfilters, e.g. (t.ref:like:'SO%').

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": {
      "path": "<path>"
    },
    "name": "dolibarr_api_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRoute path without the query string, e.g. /orders/12/contacts.
queryNoQuery parameters, e.g. {"limit": 10}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context beyond them: the reply has empty fields stripped, and list routes support limit/page/sortfield/sortorder/sqlfilters with a concrete sqlfilters example ((t.ref:like:'SO%')). It does not cover error behavior or default pagination, so not a 5.

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?

Three sentences, no filler: capability first, routing/fallback role second, parameter enrichment third. Every sentence carries information an agent needs to call the tool correctly.

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 generic pass-through GET tool with two parameters, full schema coverage, and no output schema, the description covers purpose, prerequisite lookup step, response trimming, and list-route parameter conventions. Only error/failure and pagination-default behavior are unstated.

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 100%, so the baseline is 3, but the description goes beyond the schema's generic "Query parameters, e.g. {\"limit\": 10}" by enumerating the meaningful query keys and demonstrating sqlfilters syntax. It also reinforces that path must exclude the query string.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Calls any GET route of the Dolibarr REST API") and immediately frames it relative to the dedicated dolibarr_* tools. An agent can tell this apart from dolibarr_invoice_get, dolibarr_order_get, etc. without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly marks itself as "a fallback for look-ups that no dedicated dolibarr_* tool covers" and prescribes the preceding step: find the route with dolibarr_api_find_endpoint first. That is both a when-to-use and a routing instruction to a named sibling.

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