Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Look up a Dolibarr dictionary

dolibarr_dictionary
Read-only

Reads Dolibarr reference lists such as payment types, countries, currencies, and contact types to find the IDs or codes required by other tools.

Instructions

Reads one of Dolibarr's reference lists: payment types and terms, countries, currencies, units, shipping methods, contact types, event types and so on. Use it to find the id or code another tool asks for (e.g. payment_mode_id for a payment).

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": {
      "dictionary": "<dictionary>"
    },
    "name": "dolibarr_dictionary"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoOnly entries whose code or label contains this text.
dictionaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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 the safety profile is covered; the description reinforces that these are fixed reference lists rather than live business data. However, it says nothing about result size, the default limit of 100 / maximum 500, or what an entry looks like, which is behavioral information the annotations do not provide.

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 sentences, no filler, with the core action front-loaded and the usage cue second. The 'and so on' signals a non-exhaustive list without wasting words on each enum value.

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 read-only lookup with no output schema and a partially documented schema, the description covers the what and the why but not the shape of the response (id / code / label fields) or the effect of limit and query. Those gaps matter because the agent's follow-on call depends on reading the returned id correctly.

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 only 33% — just the 'query' parameter is documented in the schema, while 'limit' has none. The description partially compensates by mapping the dictionary concept to real list names and explaining the payoff of the lookup (getting an id or code), which gives the enum parameter meaning beyond its literal values. It does not explain limit/pagination behavior or that query matches code or label beyond what the schema already says.

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 ('Reads one of Dolibarr's reference lists') and enumerates the kinds of lists covered (payment types, countries, currencies, units, shipping methods, contact types, event types), which is enough to separate it from the sibling CRUD/search tools. It also frames the output purpose, supplying ids/codes, so an agent knows this is a static lookup, not a record fetch.

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

Usage Guidelines4/5

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

Gives an explicit trigger — 'Use it to find the id or code another tool asks for (e.g. payment_mode_id for a payment)' — which tells the agent exactly when to reach for this instead of a search or get tool. It does not name a specific alternative tool or state exclusions (e.g. don't use for free-text search of business records), so it stops just short of full routing guidance.

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