Skip to main content
Glama

Transmettre ma demande

creer_ma_demande
DestructiveIdempotent

ÉCRITURE — transmet à Partner Construction (courtier en décennale BTP) la demande d'un artisan, pour qu'un conseiller lui établisse sa proposition et le recontacte. Crée une fiche chez le courtier et peut lui envoyer sa proposition par e-mail : à n'appeler QU'APRÈS estimer_tarif_decennale (situation, puis cotisation et mois d'échéance pour un contrat en cours). Étapes : 1) demander nom, e-mail et mobile (non assuré ou création : nom et mobile suffisent, e-mail facultatif) ; 2) montrer TEL QUEL le texte d'accord — contrat en cours : « J'envoie votre demande à Partner Construction, courtier, pour établir votre proposition et vous recontacter. Vous êtes d'accord ? » ; sinon : « J'envoie votre demande à Partner Construction, courtier, pour qu'un conseiller vous rappelle. Vous êtes d'accord ? » ; 3) n'appeler l'outil qu'après un « oui » explicite de l'artisan, avec accord: true et ce texte exact dans texte_accord. Sans accord, l'outil refuse et n'envoie rien. Ne jamais inventer de coordonnées ni de réponse. Rendre aDireAuVisiteur tel quel. Rejouable sans doublon : rappeler avec les mêmes informations et le même numero_demande.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accord": "<accord>",
      "texte_accord": "<texte_accord>",
      "situation_assurance": "<situation_assurance>",
      "nom": "<nom>",
      "mobile": "<mobile>"
    },
    "name": "creer_ma_demande"
  }
}

Input Schema

NameRequiredDescriptionDefault
nomYes
emailNoObligatoire pour un contrat en cours (la proposition part par e-mail)
villeNo
accordYestrue UNIQUEMENT si l'artisan vient de répondre « oui » au texte d'accord affiché
metierNo
mobileYesMobile français : 06 / 07, ou +33 6 / +33 7
prenomNo
creationNo
precisionsNoCe que l'artisan veut préciser, avec ses mots (facultatif)
code_postalNo
texte_accordYesLe texte d'accord EXACT montré à l'artisan
mois_echeanceNo
numero_demandeNo1 pour la première demande de la conversation, 2 pour une autre…
raison_socialeNo
chiffre_affairesNo
cotisation_actuelleNo
situation_assuranceYesLa même valeur que pour estimer_tarif_decennale

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare write, destructive, open-world and idempotent, and the description reinforces each with concrete meaning: an external record is created at a third-party broker and an e-mail may be sent, so the side effect is irreversible outside this system. It adds behavior the annotations cannot express — refusal without consent, prohibition on inventing contact data or replies, and 'Rejouable sans doublon' via identical info plus the same numero_demande, matching idempotentHint. It also names the field to surface verbatim (`aDireAuVisiteur`).

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?

The write marker and destination are front-loaded, then the flow is broken into numbered steps that are easy to follow. It is long and dense, but the verbatim consent scripts and the two conditional variants have to be reproduced exactly, so most of the length earns its place rather than being 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?

For a 17-parameter write tool with a nested object, no output schema and a consent protocol, the description covers the ordering, the gating condition, the exact script, the refusal path and the replay rule — everything an agent needs to invoke it correctly. The only shortfall is that it never characterizes the optional descriptive fields or the failure modes beyond the missing-consent refusal.

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 only 41% across 17 parameters, so the description must carry weight, and it does for the load-bearing ones: the conditional email requirement, the exact role of accord and texte_accord, numero_demande for safe replay, and situation_assurance being 'la même valeur que pour estimer_tarif_decennale'. It says nothing about the remaining fields (metier, ville, code_postal, raison_sociale, chiffre_affaires, precisions, creation, prenom), leaving those to names and enum values alone.

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 and resource ('transmet à Partner Construction ... la demande d'un artisan') and its consequence ('Crée une fiche chez le courtier et peut lui envoyer sa proposition par e-mail'). The 'ÉCRITURE' prefix and the explicit ordering relative to estimer_tarif_decennale let an agent separate it from the sibling tools without opening either schema.

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?

Gives an explicit gate ('à n'appeler QU'APRÈS estimer_tarif_decennale'), the required prerequisite data per situation ('situation, puis cotisation et mois d'échéance pour un contrat en cours'), and a hard precondition ('n'appeler l'outil qu'après un « oui » explicite ... avec accord: true'). It also states what happens otherwise ('l'outil refuse et n'envoie rien'), so there is no inference left to the agent.

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