Skip to main content
Glama
mcp-dolibarr

mcp-dolibarr

Get Object

get_object
Read-only

Retrieve a complete Dolibarr record by numeric ID and object type—such as a third party, contact, product, project, proposal, order, or invoice—including line items.

Instructions

Full Dolibarr object by numeric id, with its lines for a proposal, order or invoice.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "get_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
kindYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

B3/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 adds that the result is a *full* object and that line items are embedded for the three document kinds, but it says nothing about behavior for a non-existent id, permissions, or why only three of the seven kinds get lines.

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 compact sentence, front-loaded with the core purpose, with zero filler. It is arguably too terse for the amount of behavior it is obligated to convey, 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?

An output schema exists, so return formatting need not be described. However, for a polymorphic getter with seven kinds and nearby overlapping siblings, the definition omits the kind-specific behavior and sibling disambiguation an agent needs to invoke it confidently.

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%, so the description must carry the parameter burden. It clarifies that id is numeric and implies kind selects the object type, but leaves the kind enum largely unexplained and never says what varies across the seven accepted values (e.g. whether lines appear for project or product too).

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 (retrieve full object) and resource (Dolibarr object) keyed by numeric id, and adds that proposal/order/invoice results include their lines. It does not distinguish itself from the sibling dolibarr_get, so an agent cannot tell from the text alone which of the two to call.

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?

No guidance on when to use this versus dolibarr_get, list_sales_documents, or the search_* siblings. The only implied precondition is that the caller already has a numeric id, which is not stated explicitly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.