Skip to main content
Glama

prestashop-mcp-connector

Synthèse des ventes

sales_summary
Read-onlyIdempotent

Chiffre d'affaires et nombre de commandes sur une période (12 derniers mois par défaut), regroupés par mois, produit, ville, département, région, pays ou moyen de paiement. Seules les commandes validées comptent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoNombre de groupes renvoyés (défaut 20).
cityNoVille (recherche partielle, sans tenir compte des accents).
regionNoRégion française (« Bretagne », « Île-de-France », « PACA »…) ou nom de pays.
countryNoPays : code ISO (« FR », « BE ») ou nom (« Belgique »).
date_toNoDate de fin incluse, AAAA-MM-JJ.
group_byNoRegroupement : mois, produit, ville, département, région, pays, moyen de paiement, ou aucun.
postcodeNoDébut du code postal, ex. « 69 » ou « 75011 ».
date_fromNoDate de début incluse, AAAA-MM-JJ.
departmentNoDépartement français : « 69 », « 2A », « 974 ».

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupsNo
ordersYes
periodNo
group_byNo
revenue_tax_exclNo
revenue_tax_inclYes
average_order_tax_inclNo

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, and non-destructive behavior, lowering the bar. The description adds one meaningful behavioral fact – that only validated orders are counted – but says nothing about permissions, result size limits (relevant given the 'top' parameter), or how the default period interacts with explicit dates.

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 compact sentences that front-load the metric and grouping dimensions, then add the one caveat (validated orders only). No filler, though the enumeration of group_by values slightly duplicates the schema enum.

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?

With a full output schema present, the description needn't explain return values, and it covers metric, dimensions, default period, and the validated-orders filter. The main gap is guidance on when to use it versus the search_* siblings and behavior around the 'top' cap.

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%, with each of the 9 parameters individually documented (partial search, accent-insensitivity, enum values, ISO codes). The description lists the group_by options narratively but adds no syntax or format detail beyond the schema, so the schema carries the load.

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 clearly what the tool computes (revenue and order count) and the dimensions of aggregation, plus the default period. It doesn't name a specific sibling or explain how it differs from list_unpaid_orders or search_orders, but the reporting purpose is unmistakable.

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 a reporting/aggregation use case through 'regroupés par' and the 12-month default, but it never says when to prefer this tool over the order/invoice sibling tools or what happens if no filters are provided. Usage is implied rather than explicit.

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