Skip to main content
Glama

Draft a customer invoice reminder

relance_facture_client
Read-only

QUAND un artisan n'est pas payé par SON client (BTP). À ne pas confondre avec relance_impaye, qui vise un locataire. Relance facture client BTP (app Factures en retard), niveaux 1–4. Différent de relance_impaye (locatif). Renvoie la relance en HTML complet dans la réponse : ni fichier, ni URL, ni PDF, et rien n'est expédié.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ibanNoIBAN d'encaissement rappelé au débiteur. Reproduit tel quel, jamais vérifié ni stocké.
delaiNoDélai accordé avant l'étape suivante — « 8 jours ».
niveauNoDegré de la relance : 1 rappel courtois, 2 relance ferme, 3 mise en demeure. Le niveau 3 fait courir les pénalités de retard.
referenceNoRéférence à rappeler dans le libellé du virement.
client_nomNoClient débiteur.
montant_duNoSomme restant due sur cette facture, en euros.
date_echeanceNoÉchéance dépassée de la facture. Format ISO AAAA-MM-JJ. Par défaut, la date du jour. Entre professionnels, les pénalités courent de plein droit dès le lendemain (art. L441-10 du code de commerce).
date_emissionNoDate d'émission de la relance. Format ISO AAAA-MM-JJ. Par défaut, la date du jour.
client_adresseNoAdresse du destinataire. Sert au bloc fenêtre : il est poussé À DROITE pour une enveloppe à fenêtre.
entreprise_nomNoCréancier qui relance.
facture_numeroNoNuméro de la facture impayée.
entreprise_adresseNoAdresse du créancier, en en-tête.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / client_adresse / description
      Added value: +"Adresse du destinataire. Sert au bloc fenêtre : il est poussé À DROITE pour une enveloppe à fenêtre."
    • addedInput schema / properties / client_nom / description
      Added value: +"Client débiteur."
    • addedInput schema / properties / date_echeance / description
      Added value: +"Échéance dépassée de la facture. Format ISO AAAA-MM-JJ. Par défaut, la date du jour. Entre professionnels, les pénalités courent de plein droit dès le lendemain (art. L441-10 du code de commerce)."
    • addedInput schema / properties / date_emission / description
      Added value: +"Date d'émission de la relance. Format ISO AAAA-MM-JJ. Par défaut, la date du jour."
    • addedInput schema / properties / delai / description
      Added value: +"Délai accordé avant l'étape suivante — « 8 jours »."
    • addedInput schema / properties / entreprise_adresse / description
      Added value: +"Adresse du créancier, en en-tête."
    • addedInput schema / properties / entreprise_nom / description
      Added value: +"Créancier qui relance."
    • addedInput schema / properties / facture_numero / description
      Added value: +"Numéro de la facture impayée."
    • addedInput schema / properties / iban / description
      Added value: +"IBAN d'encaissement rappelé au débiteur. Reproduit tel quel, jamais vérifié ni stocké."
    • addedInput schema / properties / montant_du / description
      Added value: +"Somme restant due sur cette facture, en euros."
    • addedInput schema / properties / niveau / description
      Added value: +"Degré de la relance : 1 rappel courtois, 2 relance ferme, 3 mise en demeure. Le niveau 3 fait courir les pénalités de retard."
    • addedInput schema / properties / reference / description
      Added value: +"Référence à rappeler dans le libellé du virement."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/openWorldHint=false/destructiveHint=false, and the description adds genuinely non-obvious behavior: the reminder comes back as full HTML in the response, with no file, no URL, no PDF, and nothing is dispatched. This tells the agent exactly what side effects to expect and how to handle the return value.

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?

The key constraints (scenario, output format, no dispatch) are front-loaded, but the exclusion of relance_impaye is stated twice in near-identical terms ('À ne pas confondre avec…' and 'Différent de relance_impaye (locatif)'), which is wasted repetition.

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 12 all-optional parameters fully documented in the schema and no output schema, the description supplies the missing piece — that the reminder is returned as inline HTML and not sent anywhere. It does not, however, address what happens with zero required parameters (e.g. defaults for montant_du, client_nom), which would have completed the picture.

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 the schema already carries the parameter meaning; the description only echoes the 1–4 level range. There is even a minor mismatch: the description names levels 1–3 while the schema allows up to 4. Baseline 3 applies since the schema does the heavy lifting.

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 action (draft an invoice reminder for an unpaid artisan invoice in BTP) and explicitly distinguishes itself from the sibling relance_impaye (locative). The tool name, scenario, and level range (1–4) are all made concrete.

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

Usage Guidelines5/5

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

Opens with the triggering condition ('QUAND un artisan n'est pas payé par SON client') and names the alternative tool with the reason not to confuse them ('relance_impaye, qui vise un locataire'). Explicit when-to-use and when-not-to-use routing.

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