Skip to main content
Glama

prestashop-mcp-connector

Rechercher des commandes

search_orders
Read-onlyIdempotent

Recherche des commandes par référence, client, statut, période, montant, produit acheté ou lieu. Le lieu porte sur l'adresse de facturation, ou de livraison avec address="delivery". Renvoie aussi le nombre total de résultats et leur montant cumulé.

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).
offsetNoDécalage, pour la pagination.
regionNoRégion française (« Bretagne », « Île-de-France », « PACA »…) ou nom de pays.
statusNoStatut de la commande.
addressNoAdresse sur laquelle porte le filtre de lieu (défaut : invoice).
countryNoPays : code ISO (« FR », « BE ») ou nom (« Belgique »).
date_toNoDate de fin incluse, AAAA-MM-JJ.
productNoNom ou référence d'un produit contenu dans la commande.
customerNoNom, prénom, e-mail ou société du client.
postcodeNoDébut du code postal, ex. « 69 » ou « 75011 ».
date_fromNoDate de début incluse, AAAA-MM-JJ.
max_totalNoMontant TTC maximum.
min_totalNoMontant TTC minimum.
referenceNoRéférence de commande (partielle acceptée).
departmentNoDépartement français : « 69 », « 2A », « 974 ».

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNo
ordersYes
returnedNo
total_countYes
total_amount_tax_inclNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and closed-world. The description adds genuinely useful behavioral context beyond that: the address=delivery nuance for the location filter and the fact that it returns a total count and cumulative amount. Auth and rate-limit details remain unstated, but the bar is lower given full annotation coverage.

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?

Three short sentences, front-loaded with the searchable dimensions. It is dense and low-waste, though the return-value sentence is somewhat redundant given an output schema exists.

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 17-parameter, zero-required search tool with a full output schema and rich annotations, the description is adequately complete. Its main omission is routing guidance relative to siblings, which does not undermine 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?

Schema description coverage is 100%, so all 17 parameters are already documented in the schema. The description restates the filter categories and adds the invoice/delivery distinction for location, but contributes little syntax or format detail beyond what the schema provides, warranting the baseline 3.

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?

States a specific verb (Recherche) and resource (commandes) and enumerates the exact filter dimensions (référence, client, statut, période, montant, produit, lieu). This clearly distinguishes it from siblings like search_customers, search_invoices, search_products, and get_order.

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 description implies usage by listing searchable criteria but never states when to prefer this over get_order (single lookup) or list_unpaid_orders (a filtered subset). No explicit when-not or alternative routing is given, so usage is only inferable.

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