Skip to main content
Glama

prestashop-mcp-connector

Rechercher des factures

search_invoices
Read-onlyIdempotent

Recherche des factures par numéro, période, client, société, montant, produit ou lieu de facturation. Renvoie les montants HT, TVA et TTC, et leurs totaux.

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).
numberNoNuméro de facture, avec ou sans préfixe (« 245 », « #IN000245 »).
offsetNoDécalage, pour la pagination.
regionNoRégion française (« Bretagne », « Île-de-France », « PACA »…) ou nom de pays.
companyNoSociété facturée.
countryNoPays : code ISO (« FR », « BE ») ou nom (« Belgique »).
date_toNoDate de fin incluse, AAAA-MM-JJ.
productNoNom ou référence d'un produit facturé.
customerNoNom, prénom, e-mail 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.
departmentNoDépartement français : « 69 », « 2A », « 974 ».

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNo
invoicesYes
returnedNo
total_vatNo
total_countYes
total_tax_exclNo
total_tax_inclNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the description is not the primary carrier here. It adds that results include HT, TVA and TTC amounts plus totals, which is useful but largely overlaps the existing output schema.

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

Conciseness5/5

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

Two sentences, no filler, with the searchable dimensions front-loaded and the return payload named last. Nothing in it is redundant padding.

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 an output schema present and annotations covering safety, the description only needs to frame the search surface and return shape, which it does. It omits how multiple filters combine and the relevance/ordering default, but the rich schema and output schema limit the practical gap.

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 every one of the 16 parameters is already documented with type, format examples and defaults. The description's enumeration of searchable fields mirrors the schema rather than adding syntax or combination semantics (e.g. whether filters are ANDed).

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 verb and resource ('Recherche des factures') and enumerates the searchable axes (numéro, période, client, société, montant, produit, lieu de facturation), which makes clear this is a flexible query rather than a single-invoice lookup. It does not explicitly contrast itself with the singular sibling get_invoice, so it falls just short of full sibling differentiation.

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 statement of when to use this tool versus search_orders, search_customers, or get_invoice, and no mention of prerequisites or when results might be empty. Usage must be inferred entirely from the name and parameter list.

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