Skip to main content
Glama
digitalfactorysn

MCP Dolibarr Expert

list_documents

List all files and documents attached to a Dolibarr record, such as invoices, orders, or projects, by specifying the module and object ID or reference.

Instructions

Lister les documents/fichiers attachés à un objet Dolibarr

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID de l'objet
refNoRéférence de l'objet (alternative à id)
modulepartYesModule: 'invoice', 'proposal', 'order', 'product', 'thirdparty', 'project', 'contract', 'intervention', 'ticket', 'supplier_invoice'
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'list' without mentioning what the response looks like, whether both id and ref can be provided, or if any permissions are needed. Minimal context is given beyond the basic action.

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?

The description is a single, concise sentence that is front-loaded with the key purpose. There is no wasted wording, and it is appropriately sized for a simple list tool.

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

Completeness2/5

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

The tool has no output schema and no annotations, so the description should clarify what to expect. It fails to mention that either id or ref must be provided to identify the object, nor does it describe the return value or behavior when no parameters are given. This leaves significant gaps for an agent to use the tool correctly.

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%, so the schema already documents all parameters. The description adds context that documents are attached to an object, implying id/ref identify that object, but does not explain the distinction between id and ref or the meaning of modulepart beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists documents/files attached to a Dolibarr object, using a specific verb and resource. It distinguishes from sibling tools like get_document, delete_document, and generate_document_pdf by focusing on listing attached documents.

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?

The description provides no guidance on when to use this tool versus alternatives, such as get_document for retrieving a single document or generate_document_pdf for creating PDFs. It does not mention prerequisites like needing modulepart or that id/ref identify the parent object.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/digitalfactorysn/mcp-dolibarr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server