Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

Get a commercial proposal

dolibarr_proposal_get
Read-only

Retrieve a Dolibarr proposal by numeric ID or reference to view its header, custom fields, and line items.

Instructions

One proposal by id or ref: head, custom fields and lines.

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": {
      "proposal": "<proposal>"
    },
    "name": "dolibarr_proposal_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
proposalYesThe 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

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description contributes beyond them by disclosing what the response contains (head, custom fields and lines), which is genuinely useful. It says nothing about permissions on the record, error behavior for an unknown id/ref, or whether the returned lines are paginated, so it clears the annotated baseline without being rich.

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?

One short fragment with no filler, front-loading the resource and the return payload. It is telegraphic to the point that 'head' requires interpretation (presumably header fields), which slightly hurts clarity, but nothing is wasted.

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 single-parameter, read-only getter with a fully documented schema and no output schema, the description should explain what comes back. It lists the three response sections but not their structure or whether line collections are complete, leaving a modest gap relative to the absent output schema.

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 description coverage is 100%, and the single parameter already documents the numeric-id-or-exact-ref duality. The description repeats that 'id or ref' duality without adding format, resolution-order, or ambiguity-handling detail beyond the schema, so the baseline 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?

The description names the resource (proposal), the retrieval mode (one, by id or ref) and the payload contents (head, custom fields, lines), which is enough to distinguish it from sibling tools like dolibarr_proposal_search or dolibarr_proposal_create. It stops short of an explicit verb, but 'One proposal by id or ref' reads unambiguously as a single-record fetch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing tells the agent to prefer this over dolibarr_proposal_search when only a name or filter is known, and no prerequisites or error conditions are stated. Usage is only inferable from the word 'One' implying a single-record lookup.

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