Skip to main content
Glama

StampyWallet

Fiche du commerce

fiche_commerce
Destructive

Lit ou modifie la fiche du commerce : nom, type de commerce, panier moyen (sert aux estimations du tableau de bord), langue des clients, coordonnées imprimées au dos de la carte (adresse, téléphone, horaires, site web, message de bienvenue), lien public d’inscription des clients (stampywallet.com/rejoindre/, celui du QR), et les lieux où la carte se présente quand un client passe devant (jusqu’à 10 : boutique, marché, emplacement de food truck), avec leurs jours et horaires. Sans paramètre de changement : rend la fiche actuelle. Avec des changements : confirmer=false (défaut) montre l’avant/après, confirmer=true écrit après accord explicite. Un ancien lien public continue de fonctionner après un changement (les QR déjà imprimés restent bons).

Input Schema

NameRequiredDescriptionDefault
nomNoNom du commerce (aussi imprimé sur la carte).
lienNoLien public voulu, en clair (« Le Fournil de la Gare » devient « le-fournil-de-la-gare »), de 3 à 32 caractères. Un lien déjà pris par un autre commerce est refusé.
langueNoLangue du commerce : celle de la carte, des pages et des messages vus par les clients.
metierNoType de commerce, l’un des métiers de l’inscription. « autre » : tout ce qui n’a pas son métier.
adresseNoAdresse, au dos de la carte (160 caractères au plus).
effacerNoChamps à vider. « lien » : l’adresse publique redevient l’identifiant technique (le lien reste réservé à ce commerce).
horairesNoHoraires d’ouverture, en texte libre (ex. « Mar–sam 7 h–19 h »).
site_webNoSite web ou page Instagram.
confirmerNofalse (défaut) : rend seulement un aperçu de ce qui serait fait, sans rien changer. true : exécute. Toujours montrer l’aperçu à la personne et attendre son accord avant de repasser avec true.
telephoneNoTéléphone, au dos de la carte.
panier_moyenNoDépense moyenne d’un client par passage, en euros.
lieux_ajouterNoLieux à ajouter pour l’alerte de proximité (la carte se présente quand un client passe devant) : marché, emplacement d’un food truck… 10 lieux au plus en tout, adresse principale comprise. Chacun avec une adresse ou des coordonnées.
lieux_retirerNoLieux à retirer, par identifiant. « principal » retire seulement le point de l’adresse (il revient si l’adresse change).
lieux_modifierNoLieux à renommer, déplacer (adresse ou coordonnées) ou replanifier (jours, plage). Les jours donnés remplacent les anciens ; sans jours ni heures, le planning ne change pas.
message_bienvenueNoPetit mot au dos de la carte, lu par le client en l’ajoutant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description earns extra credit by explaining the preview/confirm workflow that governs any destruction, plus the important non-obvious guarantee that an old public link keeps working after a change so already-printed QR codes stay valid. It also discloses that lieu addresses are geocoded (BAN/OSM) and shown in the preview, matching openWorldHint=true.

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 sentences, front-loaded with scope, then the read/write semantics, then the link-persistence caveat — every sentence conveys something operationally useful. The first sentence is dense and long, partly restating field names that the schema already lists, which keeps it just short of ideal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter, no-required-parameter tool with no output schema, the description covers the critical unknowns: read vs. write mode, the mandatory preview-before-write protocol, and what changing the public link does not break. An agent has enough to call it correctly and safely without opening the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: why panier_moyen exists (dashboard estimations), the concrete shape of the public link (stampywallet.com/rejoindre/<lien>, used by the QR) and its persistence, and the 10-lieu cap including the main address. It does not re-explain field-level constraints already carried by the schema, which is appropriate.

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?

Opens with a precise verb pair and resource ('Lit ou modifie la fiche du commerce') and then enumerates every field class it governs, so an agent knows this is the shop-profile tool, not the loyalty-card design tool. It never names a sibling (modifier_carte, voir_carte, creer_commerce) explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

Clearly states the two operating modes: with no change parameters it returns the current fiche, with change parameters it previews by default (confirmer=false) and only writes with confirmer=true after explicit human agreement. This is actionable guidance on when to call and how, but there is no comparison to sibling tools that might also read or alter shop data.

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