Skip to main content
Glama

prestashop-mcp-connector

Rechercher des clients

search_customers
Read-onlyIdempotent

Recherche des clients par nom, e-mail, société, lieu (n'importe laquelle de leurs adresses), nombre de commandes, montant dépensé, ancienneté de la dernière commande ou impayés. Utile pour cibler une relance commerciale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoVille (recherche partielle, sans tenir compte des accents).
sortNoOrdre de tri.
limitNoNombre de résultats (défaut 20, maximum 100).
queryNoNom, prénom, e-mail ou société.
offsetNoDécalage, pour la pagination.
regionNoRégion française (« Bretagne », « Île-de-France », « PACA »…) ou nom de pays.
countryNoPays : code ISO (« FR », « BE ») ou nom (« Belgique »).
postcodeNoDébut du code postal, ex. « 69 » ou « 75011 ».
min_spentNoTotal dépensé TTC minimum.
departmentNoDépartement français : « 69 », « 2A », « 974 ».
has_unpaidNoSeulement les clients qui ont une commande impayée.
min_ordersNoNombre minimum de commandes validées.
no_order_since_daysNoClients dont la dernière commande date d'au moins N jours (clients inactifs).
ordered_within_daysNoClients ayant commandé dans les N derniers jours.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNo
returnedNo
customersYes
total_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered elsewhere. The description adds one genuinely useful behavioral detail — that the location filter matches ANY of a customer's addresses — but says nothing about pagination limits or result shape, so it is merely additive rather than rich.

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?

Two sentences, no filler, with the capability statement front-loaded and the use case trailing it. The list of filter dimensions is long but each item is a distinct capability, so it earns its space.

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?

For a 14-parameter filter tool with 100% schema coverage and an output schema, the description covers purpose, filter axes and a use case adequately. It omits any mention of pagination behavior or default/max result limits, which the schema carries but the agent might benefit from seeing alongside the capability summary.

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%, including enum values for sort, so baseline is 3. The description helpfully groups the semantic axes (location, spend, order count, recency, unpaid) without adding syntax or format detail beyond the schema, which already documents every parameter.

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?

States a specific verb+resource ('Recherche des clients') and enumerates the searchable dimensions (nom, e-mail, société, lieu, nombre de commandes, montant dépensé, ancienneté, impayés), which lets an agent distinguish it from the single-record get_customer sibling. It does not explicitly name any sibling, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence supplies one concrete use case ('cibler une relance commerciale'), which implies when the tool is appropriate. However, there is no explicit when-not guidance and no named alternative (e.g. list_unpaid_orders for unpaid-only queries), so usage remains inferable rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources