Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Get a product or service

dolibarr_product_get
Read-only

Retrieve a Dolibarr product's full record by ID or reference, including description, prices, units, custom fields, kit components, and supplier prices.

Instructions

Full record of one product by id or ref: description, prices, units, custom fields, its kit components (if it is a kit) and its supplier prices.

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": {
      "product": "<product>"
    },
    "name": "dolibarr_product_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesThe record's numeric id, or its ref exactly as shown in Dolibarr.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 value by enumerating what the record contains: description, prices, units, custom fields, kit components, and supplier prices. It does not mention not-found behavior, which keeps it from 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.

Conciseness5/5

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

A single sentence with zero filler, front-loading the scope ('Full record of one product') before the enumeration of returned content. Every clause earns its place.

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

Completeness4/5

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

With one required parameter, no output schema, and read-only annotations, the description does the heavy lifting by listing the returned fields, including the conditional kit-component case. Only the not-found or error behavior is left unstated.

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% and the schema already explains that the parameter is a numeric id or the exact ref. The description's 'by id or ref' restates that rather than adding new meaning, so the baseline of 3 applies.

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 and resource ('Full record of one product') plus the two lookup keys (id or ref). It is clearly distinguishable from sibling tools like dolibarr_product_search or dolibarr_product_update by the word 'Full record' and 'one product', though no sibling 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 implied: fetch full detail for a single known product. The description never says when to prefer this over dolibarr_product_search (to find an unknown product) or when it should not be used. Adequate but leaves routing to inference.

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