Skip to main content
Glama

Ativar cadência de prospecção

activate_outreach_campaign
Destructive

Activate the cadence of ONE draft campaign. Fills the campaign's cadence template with each person's name, company, role and signals into its steps (by default a LinkedIn connection and message first, then e-mail, alternating) to go out through the selected connected Gmail, LinkedIn and/or WhatsApp accounts. When several accounts are connected on a channel, the account id for that channel is required. A reply stops the person's remaining steps. Activating here does not turn on automatic sending: unless the campaign already has the owner's authorization, every message waits for approval in the Inbox, and "Aprovar antes de enviar" is saved on. Automatic sending is an authorization given only in the campaign's Settings screen, by the workspace's owner or an admin. The result says which applies (automaticSending; when false, approval and settingsUrl, the link to that screen). A campaign already authorized can send immediately inside the business window. When the campaign has people whose messages come from an earlier version of the template (messagesOutdated), activating first writes those people's messages again and then activates; rewrittenBeforeActivation in the result reports it. When people of the campaign still wait on their sheet row's e-mail, LinkedIn or phone lookup, enrichmentPending counts them by field and enrichmentPendingNote is a short sentence saying so; the address joins the campaign by itself when the lookup finishes. With no LinkedIn nor e-mail connected it still activates: waitingForChannel true means the campaign is active and waiting for a channel ("Ativa, esperando canal"); nothing is sent and no credit is spent until LinkedIn or an e-mail is connected (connectUrl), and then it starts sending on its own.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "activate_outreach_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
toneNoconsultative
channelsNoConnected channels the user explicitly approved. Omit for a campaign of WhatsApp only: its steps are tasks the sender sends from their own phone, with no account to connect.
mailboxIdNoConnected Gmail mailbox UUID, required when several mailboxes are connected.
campaignIdYesExact draft campaign UUID.
linkedinAccountIdNoConnected LinkedIn accountId, required when several LinkedIn accounts are connected.
whatsappAccountIdNoConnected WhatsApp accountId, required when several WhatsApp accounts are connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / campaignId / description
      Previous value: -"Exact draft campaign UUID from list_outreach_campaigns."New value: +"Exact draft campaign UUID."
    • changedInput schema / properties / linkedinAccountId / description
      Previous value: -"Connected LinkedIn accountId from list_outreach_senders, required when several LinkedIn accounts are connected."New value: +"Connected LinkedIn accountId, required when several LinkedIn accounts are connected."
    • changedInput schema / properties / mailboxId / description
      Previous value: -"Connected Gmail mailbox UUID from list_outreach_senders, required when several mailboxes are connected."New value: +"Connected Gmail mailbox UUID, required when several mailboxes are connected."
    • changedInput schema / properties / whatsappAccountId / description
      Previous value: -"Connected WhatsApp accountId from list_outreach_senders, required when several WhatsApp accounts are connected."New value: +"Connected WhatsApp accountId, required when several WhatsApp accounts are connected."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say destructive, non-idempotent, open-world; the description goes far beyond by disclosing the approval-gating flow, the envelope of authorization, that outdated messages are rewritten before activation (rewrittenBeforeActivation), that enrichmentPending blocks some contacts and resolves automatically, and that in the no-channel case nothing is sent and no credit is spent. It also names the result fields returned. No contradiction with destructiveHint=true or idempotentHint=false — rewriting messages is consistent with non-idempotency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main action is front-loaded, which is good, but the remainder is one dense run-on block with nested parentheticals and quoted Portuguese UI strings. Almost every clause carries real information, yet the lack of sentence breaks and some redundancy (approval/authorization explained twice) makes it harder to scan than it needs to be.

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 destructive, non-idempotent activation with six parameters and no output schema, the description covers exactly what an agent needs: prerequisites, per-channel account selection, the approval-vs-automatic distinction, the outdated-message rewrite behavior, enrichment blocking, and the waiting-for-channel outcome. Result-field names are given inline, compensating for the missing output schema.

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 83%, so the schema already documents campaignId, mailboxId, linkedinAccountId and whatsappAccountId with their multiple-account conditions. The description generalizes the same rule ('When several accounts are connected on a channel, the account id for that channel is required') but adds nothing about tone or channels semantics. Baseline 3 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?

States a specific verb and resource — 'Activate the cadence of ONE draft campaign' — and explains what activation itself does (fills the cadence template with per-person data and routes steps through connected accounts). The scope qualifier 'ONE draft campaign' prevents bulk misinterpretation. It does not name a sibling alternative, so an agent must still infer the boundary against tools like update_outreach_campaign_status.

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?

Strong precondition guidance: it explains that activation does not enable automatic sending, that authorization is set only in the Settings screen by an owner/admin, that per-channel account ids are required when multiple accounts exist, and that a campaign may activate in a waitingForChannel state. It lacks explicit routing to alternatives (e.g. preview_campaign_messages or update_outreach_campaign_status), which keeps it below a 5.

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.