Skip to main content
Glama

Offres Neuf by M2

Demander une mise en relation

create_lead

Transmet une demande de mise en relation avec un conseiller commercial du promoteur, à propos d'un lot, d'un programme ou, pour une demande diverse, d'un promoteur seul (sans lot ni programme). N'appeler qu'après accord explicite de l'acquéreur, avec les coordonnées qu'il a lui-même fournies dans la conversation (ne jamais les inventer). Le conseiller recontacte l'acquéreur ; aucun rendez-vous n'est confirmé par cet outil.

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": {
      "name": "<name>",
      "email": "<email>"
    },
    "name": "create_lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNom et prénom de l'acquéreur.
emailYesE-mail de l'acquéreur.
phoneNoTéléphone de l'acquéreur.
budgetNoBudget d'achat TTC en euros, s'il a été exprimé par l'acquéreur.
lot_idNoLot concerné. Omettre pour une demande diverse (sans lot ni programme).
channelNoOrigine de la demande : `conversation` (défaut) ou `comparison_form` (formulaire du comparatif).
messageNoContexte utile au conseiller (critères, questions, financement…).
purposeNoNature du projet d'achat.
incentiveNoDispositif envisagé par l'acquéreur (PTZ, TVA réduite, LMNP), s'il l'a mentionné.
search_idNoIdentifiant `search_id` renvoyé par search_lots, si la demande fait suite à une recherche.
program_idNoProgramme concerné. Omettre pour une demande diverse (sans lot ni programme).
promoter_idNoPromoteur concerné, pour une demande diverse sur le catalogue M2. Ignoré sur un catalogue promoteur.
preferred_callback_timeNoDisponibilités de l'acquéreur pour être rappelé, ex. « mardi après-midi ».

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / lot_id / description
      Previous value: -"Lot concerné. Requis si program_id est absent."New value: +"Lot concerné. Omettre pour une demande diverse (sans lot ni programme)."
    • changedInput schema / properties / program_id / description
      Previous value: -"Programme concerné. Requis si lot_id est absent."New value: +"Programme concerné. Omettre pour une demande diverse (sans lot ni programme)."
    • addedInput schema / properties / promoter_id
      Added value: +{
      +  "description": "Promoteur concerné, pour une demande diverse sur le catalogue M2. Ignoré sur un catalogue promoteur.",
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / search_id
      Added value: +{
      +  "description": "Identifiant `search_id` renvoyé par search_lots, si la demande fait suite à une recherche.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description goes beyond them by disclosing the human consequence (a commercial advisor will recontact the buyer) and an important limitation (no appointment is confirmed by this tool). It does not cover duplicate-lead handling, failure modes, or whether the request can be withdrawn, so the behavioral picture is strong but not exhaustive.

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?

Three sentences, front-loaded with the core action, then the consent/authenticity precondition, then the outcome caveat. Every sentence carries distinct operational weight with no repetition of the schema or the title.

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 13-parameter mutation tool with no output schema, the description covers purpose, precondition and post-call consequence, which is enough to invoke it correctly. Only the return payload (e.g. whether a lead identifier comes back) and error/edge cases are left unstated.

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% across all 13 parameters, including enum values and the 'omit for a miscellaneous request' rules for lot_id/program_id. The description reinforces the lot/programme/promoter scoping modes but adds no syntax, defaults, or constraints beyond what the schema already states, so the baseline of 3 applies.

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?

The description opens with a specific verb and resource ('Transmet une demande de mise en relation avec un conseiller commercial du promoteur') and immediately enumerates the three scoping cases — a lot, a programme, or a promoter alone for a miscellaneous request. The siblings are all read-only lookups (search_lots, get_lot, compare_lots), so the mutation/transmission 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 Guidelines4/5

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

It gives an explicit call precondition — only after the buyer's explicit consent, using contact details the buyer supplied in the conversation, never invented — which is exactly the kind of guidance an agent needs before triggering an outbound lead. It stops short of naming alternatives or stating when another tool (e.g. check_availability) should be used instead, so it is clear context without full 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