Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Search tickets

dolibarr_ticket_search
Read-only

Search helpdesk tickets by reference, subject, or track ID to locate matching cases, optionally filtered by third party and ordered newest first.

Instructions

Finds helpdesk tickets by ref, subject or track id, optionally for one third party. Newest first.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 0.
limitNoRows per page (max 50).
queryNo
statusNo
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 the safety profile is covered. The description contributes the sorting behavior ("Newest first"), which is genuinely useful and not in the annotations or schema. It omits the important behavioral question of what happens when no filter is supplied — whether all tickets are listed — and says nothing about result volume or truncation.

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 compact sentence that front-loads the verb and the searchable fields before the optional scope and sort order. Nothing is redundant and nothing could be trimmed without losing information.

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, five-parameter search with no output schema, the description covers filters and ordering but leaves the no-filter case and the shape of returned tickets unaddressed. That is adequate for invocation but not fully complete for an agent reasoning about results.

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 only 40% (page and limit are documented; query, status and thirdparty_id are not). The description partly compensates well: it explains that the text match covers ref, subject or track id, and that thirdparty_id scopes to a single third party. The status enum still has no explanatory text in either place, which keeps this short of a 5.

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?

"Finds helpdesk tickets" gives a specific verb and resource, then names the searchable fields (ref, subject, track id) and the optional third-party scope plus sort order. It is clearly distinct from dolibarr_ticket_get or dolibarr_ticket_create by name alone, though it never explicitly contrasts itself with those siblings.

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?

Implicit usage is clear: use this to locate tickets rather than fetch one by id. However, there is no explicit "use this when / use dolibarr_ticket_get instead" routing and no stated caller prerequisites such as permissions or whether an empty query is allowed, so guidance is inferred rather than given.

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