Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Get a contact

dolibarr_contact_get
Read-only

Fetch one contact by ID with custom fields so assistants can access and use contact details in Dolibarr workflows.

Instructions

One contact by id, with custom fields.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "dolibarr_contact_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
contact_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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's only behavioral contribution is "with custom fields", which hints the payload is enriched but does not explain where those fields come from, whether they can be large, or what happens on a missing id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

It is a single clause with zero padding, so nothing is wasted. But it is terse to the point of under-specification; brevity here comes at the cost of guidance rather than from efficient phrasing.

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 one-parameter read tool with annotations covering safety and no output schema, the essentials are present. The opaque reference to "custom fields" and the absence of any not-found behavior leave an agent guessing about the response shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single contact_id property is a bare integer, so the description carries the full burden. "By id" only loosely maps to it and adds no meaning about format, source, or validity beyond the schema's positive-integer constraint.

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?

"One contact by id" names the resource and cardinality precisely, which separates it from dolibarr_contact_search and dolibarr_contact_list-style siblings. "With custom fields" adds a payload detail. It falls short of 5 only because it is fragmentary rather than a stated verb.

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" implies this is the direct-lookup path versus a search, which is minimal implicit guidance. There is no explicit when-to-use rule, no mention of what to do when the id is unknown, and no named alternative.

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