Skip to main content
Glama
assoujojo82-coder

synergieloc — French Real-Estate Legal Calculations

decide_campagne

Determine next steps for each prospect in an outreach campaign by sending prospect info; get back target persona, campaign, and ordered actions before sending commercial email.

Instructions

WHEN an outreach scenario has collected prospects and must decide what to do with each one — Make/n8n collects, Synergieloc decides. Authenticated decision engine for outreach/campaigns (requires API key, 0 units). Make AI Agent or any collector MUST call this before sending commercial email. Pass prospect info only; Synergieloc decides cible, campagne and actions[]. Never invent offers/prices. REST: POST /api/v1/agent/decide (X-Make-Secret or X-API-Key). To send: follow actions envoyer_offre → POST /api/v1/agent/demarchage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cibleNopersona: partenaire|artisan|agent_ia|sci|…
produitNoOffre à proposer. Détermine les tarifs autorisés — un tarif hors de cette offre est refusé.
contexteNoCe qu'on sait du prospect : origine, page vue, échange précédent. Nourrit la décision, pas le corps du message.
prospect_nomNoNom du prospect, pour personnaliser l'ouverture.
prospect_emailNoAdresse du prospect. Sert au contrôle de doublon et à la liste STOP ; jamais conservée après la décision.
prospect_entrepriseNoRaison sociale du prospect, quand elle est connue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose auth requirements (API key, X-Make-Secret/X-API-Key), cost (0 units), data retention ('jamais conservée après la décision'), and constraints ('Never invent offers/prices'). However, it introduces an internal contradiction: it says Synergieloc decides cible, while the input schema exposes cible as a parameter. This leaves an agent uncertain about whether to send that field.

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 description is dense but front-loaded with the trigger condition and immediately useful constraints. Endpoint, auth, and cost details are packed in efficiently. Every clause contributes operational information, though the mixed-language style and run-on feel slightly hurt readability.

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

Completeness3/5

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

The description covers the workflow, authentication, cost, and follow-up endpoint. Since there is no output schema, it should more explicitly describe the decision response structure; 'cible, campagne and actions[]' is only a minimal hint. The input/output ambiguity around cible also leaves an important gap in understanding the full contract.

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 coverage is 100%, so the baseline is 3. The description adds a useful global constraint ('Pass prospect info only') and warns against inventing offers/prices, which relates to the produit parameter. But the cible contradiction undermines the added meaning and can mislead an agent about a specific parameter's role.

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 clearly identifies the tool as an authenticated decision engine for outreach/campaigns: it decides what to do with each collected prospect. This distinguishes it from the sibling tools, which are mostly document/CAO/real-estate operations. However, the claim that 'Synergieloc decides cible' is partially contradicted by the presence of a cible input parameter in the schema, which muddies the stated purpose.

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?

The description gives an explicit trigger condition ('WHEN an outreach scenario has collected prospects') and a mandatory ordering ('MUST call this before sending commercial email'). It also tells the agent what to do after the decision ('follow actions envoyer_offre → POST /api/v1/agent/demarchage'). There is no explicit when-not-to-use or named alternative, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.