Skip to main content
Glama
digitalfactorysn

MCP Dolibarr Expert

get_document

Fetch a document from Dolibarr by providing the module and original file path; returns the file content encoded in base64.

Instructions

Télécharger/obtenir un document (retourne base64)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modulepartYesModule: 'invoice', 'proposal', 'order', etc.
original_fileYesChemin du fichier (obtenu via list_documents)
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the key behavior of returning base64, which is essential, but does not mention safety (read-only), error handling, or permissions. Lacks fuller behavioral context.

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 front-loads the main action and includes the base64 detail. No wasted words.

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?

The tool is simple, parameters are well-documented in schema, and the description covers the return format. It could benefit from usage guidance (e.g., distinguishing from generate_document_pdf), but overall it's reasonably complete for a straightforward download operation.

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%: both modulepart and original_file are described. The description adds nothing beyond the schema, 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?

The description clearly states the tool downloads/gets a document and returns base64. It implicitly distinguishes from siblings like list_documents (listing) and generate_document_pdf (creating PDFs), though it doesn't explicitly name alternatives.

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 tool versus alternatives. The schema mentions original_file comes from list_documents, but the description itself provides no usage context or exclusions.

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