Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Find a Dolibarr API endpoint

dolibarr_api_find_endpoint
Read-only

Search the enabled Dolibarr REST API catalogue by path or summary words when no dedicated tool covers your need, then call the matching route with dolibarr_api_get.

Instructions

Searches the instance's full REST API catalogue by words in the path or summary. It lists only the modules enabled on this instance. Use it only when no dedicated dolibarr_* tool covers the need, then call the route with dolibarr_api_get. In params, * marks a required query parameter and body.x a field of the JSON body.

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": {
      "query": "<query>"
    },
    "name": "dolibarr_api_find_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesWords to look for, e.g. "orders contacts" or "bank accounts".
methodNoOnly this HTTP method.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/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, so safety is covered; the description adds real behavioral context beyond that — results are filtered to enabled modules, and the listing uses a notation convention (* for required query params, body.x for JSON body fields). It does not disclose result limits, ordering, or truncation behavior, which keeps it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core action, then scope, then routing guidance, then the notation legend — no filler. The final sentence is terse to the point of ambiguity ("In params" is unclear about whose params), a minor structural cost.

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

Completeness5/5

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

For a two-parameter read-only discovery tool with a fully documented schema, the description covers what it searches, what is excluded, when to prefer it, what to call next, and how to read the notation in the results. No output schema exists, so the missing return-shape details are largely implied by the described routing to dolibarr_api_get.

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%, so both query and method are already fully documented, and the baseline of 3 applies. The description clarifies that matching is against path and summary text, which adds slight meaning, but the "* marks a required query parameter" sentence describes the returned catalogue notation rather than the input parameters and is easily misread as being about this tool's own params.

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?

The description uses a specific verb and resource ("Searches the instance's full REST API catalogue") and narrows the match surface to "words in the path or summary". It also states the catalogue scope ("only the modules enabled on this instance"), which lets an agent distinguish this discovery tool from the dedicated resource tools in the sibling list.

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?

Explicit when-not guidance is given: "Use it only when no dedicated dolibarr_* tool covers the need". It also names the follow-up step ("then call the route with dolibarr_api_get"), so the agent knows both the entry condition and what to do with a hit.

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