Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Search contacts

dolibarr_contact_search
Read-only

Find contacts by name or email in Dolibarr, optionally limited to one third party. Supports pagination for browsing matching people.

Instructions

Finds contacts (people) by name or email, optionally only those of one third party.

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_contact_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 0.
limitNoRows per page (max 50).
queryNoPart of the first name, last name or email.
thirdparty_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 safety is covered. The description adds that matching is on name or email and that the third-party filter is optional, but says nothing about partial-match behavior, result ordering, or pagination defaults — the schema carries most of that.

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?

A single sentence with the core purpose front-loaded and no filler. The optional filter is appended where it belongs.

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 read-only search this is close to sufficient, but with no output schema the description never hints at what a contact record contains or how results are paged. An agent can call it, but must guess at the response shape.

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 75% and the one undocumented parameter, thirdparty_id, is explained here as "only those of one third party" plus its optionality. Query semantics (name/email) are also restated in prose, adding modest meaning beyond the schema.

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?

States a specific verb ("Finds") and resource ("contacts (people)") and narrows the search key to name or email. The parenthetical "(people)" usefully separates it from third-party records, though no sibling tool is named explicitly.

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 only implied: search by name/email, or scope to one third party. There is no statement of when to prefer this over dolibarr_contact_get (known ID) or dolibarr_thirdparty_search, and no note on prerequisites or result limits beyond the schema.

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