Skip to main content
Glama

Enroll contacts

enroll_contacts
Destructive

📋 CADÊNCIAS DE PROSPECÇÃO — Matricula contatos em uma cadência de prospecção (sequência multi-touch). Identificados por telefone (formato internacional, ex: 5548999990001). Cria o contato no CRM automaticamente se não existir. Contatos já ativos/pausados, ou descadastrados (lista de supressão LGPD), são ignorados.

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": {
      "sequence_id": "<sequence_id>",
      "phones": "<phones>"
    },
    "name": "enroll_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
phonesYesLista de telefones separados por vírgula no formato internacional. Ex: "5548999990001,5548999990002,5548999990003"
start_atNoSobrescreve o horário calculado do 1º step (ISO 8601, ex: "2026-09-13T14:00:00Z") — use pra testar sem esperar o delay/janela comercial normal do step 0. Omitir usa o cálculo padrão (agora, ou agora+delay em horário comercial).
sequence_idYesID da cadência (obtido via list_sequences)
contact_namesNoNomes correspondentes aos telefones, separados por vírgula (opcional). Deve ter o mesmo número de itens que phones. Ex: "João Silva,Maria Santos"
target_user_idNoID da conta-alvo (opcional; APENAS o admin da plataforma pode usar). Padrão: a conta autenticada.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds genuinely useful behavior beyond them: contacts are auto-created in the CRM if missing, and existing enrollments/suppressed numbers are silently skipped. It does not disclose volume limits or what an agent should expect per-phone results for a bulk call.

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?

A single compact paragraph with the most important information (what it does, identifier format, auto-creation, skip rules) front-loaded after the section header. Efficient, though the emoji/header convention is decorative rather than informative.

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?

For a bulk, non-read-only mutation with no output schema, the description never says what comes back (e.g. how many were enrolled versus skipped and why). It also does not surface the admin-only restriction on target_user_id, which lives only in the schema. Adequate but with a real gap for an agent that needs to interpret results.

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 all five parameters are already documented. The description only restates the phone format already in the schema and adds nothing about contact_names pairing, start_at semantics, or the admin-only target_user_id override. Baseline 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 states a precise verb+resource ('Matricula contatos em uma cadência de prospecção'), defines the identifier used (phone in international format), and clarifies the implicit side effect of creating the contact in the CRM. This distinguishes it from siblings like list_enrollments, count_enrollments and manage_enrollment.

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 makes clear when the tool applies (enrolling contacts in a multi-touch sequence) and states the exclusion rules: contacts already active/paused or on the LGPD suppression list are ignored. It does not explicitly name alternative tools (e.g. update_contact for existing records or manage_enrollment for status changes), so it stops short of full routing guidance.

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