Skip to main content
Glama
Dolibarr MCP Server

Dolibarr MCP Server

List warehouses

dolibarr_warehouse_list
Read-only

List Dolibarr warehouses with their ID, location and open status. Filter by part of the warehouse ref, label or location to find the right stock location quickly.

Instructions

All warehouses with their id, location and whether they are open.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dolibarr_warehouse_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoPart of the warehouse ref, label or location.

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the useful detail that each row carries id, location and open/closed state, though it says nothing about pagination, ordering, or result size limits.

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 sentence with the returned fields front-loaded and zero padding. It is efficient, though the terseness is part of why filter and usage guidance are absent.

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 simple read-only list tool with one optional parameter, full schema coverage and safety annotations, the description is largely adequate. The remaining gap is that it never acknowledges the searchable `query` parameter, which could mislead an agent into thinking no filtering exists.

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 single optional `query` parameter is already documented as matching part of ref, label or location. The description adds nothing about the filter and its phrase 'All warehouses' arguably understates that filtering is possible, but the schema carries the semantics.

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 states a specific resource (warehouses) and enumerates what it returns — id, location, open status — so an agent knows exactly what this tool produces. It does not name any sibling alternative, but the purpose itself is unambiguous for a list operation.

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 guidance on when to use this tool versus any other retrieval tool, and no mention of the optional `query` filter or when to supply it. The agent is left to infer that leaving `query` empty returns everything.

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