Skip to main content
Glama
digitalfactorysn

MCP Dolibarr Expert

create_expense_report

Create an expense report for a specified employee, using start and end dates, with optional project and note fields.

Instructions

Créer une note de frais

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_finYesDate fin période ISO 8601
date_debutYesDate début période ISO 8601
fk_projectNoID projet associé (optionnel)
note_publicNoObjet de la note de frais
fk_user_authorYesID utilisateur (employé)
Behavior1/5

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

With no annotations, the description must disclose behavioral traits. It only states the creation action and does not mention any side effects, required permissions, or workflow implications. This is insufficient for an agent to understand the full impact of invoking the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The description is very brief but largely redundant with the tool name, adding minimal informational value. It lacks the structural elements that would make it useful, such as context or examples.

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

Completeness1/5

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

Given the tool has 5 parameters, no output schema, and no annotations, the description is far too minimal. It doesn't explain the relationship between the required parameters (e.g., date_debut/date_fin) or what happens upon creation, making it inadequate for correct invocation.

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?

The input schema provides complete descriptions for all 5 parameters, so the baseline is 3. The tool description adds no additional parameter guidance or relationships, so it stays at baseline.

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 'Créer une note de frais' clearly indicates the action of creating an expense report. It uses a specific verb and resource, distinguishing it from related tools like list_expense_reports or validate_expense_report. The purpose is unambiguous.

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 mention of when to use this tool versus alternatives such as get_expense_report or add_expense_report_line. No usage context or prerequisites are provided.

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