Skip to main content
Glama
mcp-dolibarr

mcp-dolibarr

Search Thirdparties

search_thirdparties
Read-only

Find third parties (companies or people) by name or alias, optionally filtering by customer, prospect, or supplier role and paging through results.

Instructions

Third parties (companies or people) whose name or alias contains name.

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": "search_thirdparties"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pageNo
roleNo
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

C2.6/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 genuinely useful behavior the schema does not: matching is substring ('contains') and applies to alias as well as name. It says nothing about pagination behavior, default ordering, or how role filtering interacts with the name match, which are the remaining gaps.

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

Conciseness3/5

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

It is a single short fragment with no padding, so it is front-loaded and efficient. But the brevity reflects under-specification rather than disciplined concision, and the missing verb makes the opening weaker than a one-line statement of action plus filter would have been.

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?

An output schema exists, so return values need not be described, but for a 4-parameter search tool with zero schema documentation the definition is too thin: no paging/limit guidance, no role semantics, and no usage context. An agent could invoke it but could easily miss that results are paged and filtered.

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% across 4 parameters, so the description must carry parameter meaning and it explains only one: `name`, including the alias and substring semantics. The `role` enum values, `page` paging, and `limit` (max 100) are left entirely unexplained, so the coverage gap is not compensated.

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

Purpose3/5

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

The description identifies the resource (third parties, i.e. companies or people) and that the query matches name or alias, which is more specific than the title. However, it is a noun fragment with no verb, so the agent must infer that the tool performs a search rather than, say, a count, and there is no explicit differentiation from siblings like search_products beyond the resource noun.

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 when-to-use guidance, no mention of prerequisites, and no reference to alternatives. An agent must guess that this is the call for partial-name lookups versus get_object or other siblings; nothing in the text rules anything in or out.

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