Skip to main content
Glama

Criar campanha

create_outreach_campaign

Generate one personalized outreach message per people-sheet row and save them as a new prospecting campaign. Takes the exact sheetId of a people sheet. Without rowIds, uses every people row in that sheet (up to 1000, added in batches of 25 within this one call). templateId must be the exact id of a saved template; otherwise the campaign is described inline with name, offering, goal and a concrete cta. goal is the campaign objective; conversion, with a concrete commercial next step in cta, fits a company that sells to businesses and has no campaigns yet. Every sheet column is used as labeled context. Campaign generation does not consume credits. The campaign is saved as a draft; nothing is sent. 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.

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": {
      "sheetId": "<sheetId>"
    },
    "name": "create_outreach_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNoDesired next step: reply, book_call, accept_connect, share_resource, or custom text such as a demo or trial. Required and specific when goal is conversion.
giveNoConcrete value the sender can deliver before asking for the reader's time.
goalNoCampaign objective: conversion, awareness, consultative, meeting, relationship, or custom text. conversion fits a workspace with no campaigns yet.
nameNoCampaign name. Required unless the template supplies one.
toneNoMessage tone, e.g. consultative, professional, friendly, direct.
rowIdsNoOptional. Exact row ids of that sheet. Omit to use every people row in the sheet (up to 1000).
cadenceNoOptional cadence steps, in the same shape as a campaign cadence update, a step's variantB (version B for an A/B test) included and saved with the exact text given. Omit to generate later.
sheetIdYesExact people-sheet UUID.
languageNoDefaults to the template language, or "Português (Brasil)".
offeringNoWhat the sender offers. Required unless the template supplies it.
mailboxIdNoConnected Gmail mailbox UUID.
senderNameNo
senderRoleNoSender role used in copy, same as REST senderRole.
signalGateNoHow to use company buying signals: personalize messages, or skip people missing the chosen signal.
templateIdNoOnly the exact id of a saved outreach template. Omit when name and offering are set.
constraintsNoThings the copy must never say or do.
whatsappOnlyNoTrue for a campaign of WhatsApp only (the person picked WhatsApp alone): every step is a WhatsApp their sender sends from their own phone (tasks on the WhatsApp screen; Nock never sends it), no mailbox nor LinkedIn is needed, and only rows with a phone go in. Omit cadence to have it written. Only for workspaces that have the WhatsApp step.
whatsappStepNoTrue adds one WhatsApp step near the end of the written cadence that the person's sender sends from their own phone (a task on the WhatsApp screen; Nock never sends it). Only for workspaces that have it; ignored otherwise.
messageLengthNo
senderCompanyNoSender company name used in copy, same as REST senderCompany.
businessContextNoCompany/product context used to ground the generated messages.
senderCompanyUrlNoSender company URL, same as REST senderCompanyUrl.
linkedinAccountIdNoConnected LinkedIn accountId.
whatsappAccountIdNoConnected WhatsApp accountId.
senderLinkChannelsNoChannels that may include the sender link: email, linkedin, whatsapp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / cadence / items / properties / body / description
      Previous value: -"Message body for that step. Use {{firstName}}, {{company}}, {{headline}}, {{signal}} and {{senderFirstName}} when writing a campaign-wide template. Leave empty only for a LinkedIn connection request without a note, and for linkedin_like."New value: +"Message body for that step. Use {{firstName}}, {{company}}, {{headline}}, {{signal}} and {{senderFirstName}} when writing a campaign-wide template. {{outroDecisor}} is the first name of another decision maker at the person's own company (found by Nock, never invented), for a short follow-up such as 'Oi, {{firstName}}, isso é algo que você olharia ou fica mais com o {{outroDecisor}}?'; a person with none gets the sentence without a name ('...ou tem outra pessoa aí que cuida disso?') or the step's outroDecisorFallback. Leave empty only for a LinkedIn connection request without a note, and for linkedin_like."
    • addedInput schema / properties / cadence / items / properties / outroDecisorFallback
      Added value: +{
      +  "description": "Only on a step whose text cites {{outroDecisor}}: the whole sentence that replaces the one citing it for a person whose company has no other decision maker found, e.g. 'Oi, {{firstName}}, isso é algo que você olharia ou tem outra pessoa aí que cuida disso?'. It may use {{firstName}} and {{company}}, never {{outroDecisor}}. Omit it to let Nock say it without a name.",
      +  "maxLength": 280,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / cadence / items / properties / ownPostsOnly
      Added value: +{
      +  "description": "linkedin_like \"Curtir post\" (no interaction or like) only: true likes only a post the person wrote herself, never her comment, and skips the step when she has no recent post; false lets it like her newest recent comment when she has no post (never a comment on the post she was found on nor on a post of someone the campaign's signal watches). Omitted: the campaign's default, on for campaigns fed by an engagement signal (likeOwnPostsDefault on the campaign), off elsewhere.",
      +  "type": "boolean"
      +}
  3. Changed5 schema fields changed
    • changedInput schema / properties / cadence / description
      Previous value: -"Optional cadence steps, in the same shape as a campaign cadence update. Omit to generate later."New value: +"Optional cadence steps, in the same shape as a campaign cadence update, a step's variantB (version B for an A/B test) included and saved with the exact text given. Omit to generate later."
    • changedInput schema / properties / cadence / items / properties / channel / description
      Previous value: -"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, not sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; to have the invite go some hours after the like, give the invite condition no_reply_hours (2 hours is the usual). linkedin_like is an opt-in step, only for workspaces that have it (the save refuses it otherwise)."New value: +"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, not sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; to have the invite go some hours after the like, give the invite condition no_reply_hours (2 hours is the usual). linkedin_like is an opt-in step, only for workspaces that have it (the save refuses it otherwise).A linkedin_like step can do another interaction (interaction): like_post (only a post she wrote, skipped with no own post), like_comment (her recent comment, never on the post she was found on nor a watched competitor's), visit (a profile view she is told about) or reply_comment (a short public reply the Nock Agent writes from her comment, approved in the Inbox unless sending is automatic). No follow step exists."
    • addedInput schema / properties / cadence / items / properties / interaction
      Added value: +{
      +  "description": "linkedin_like only: what the LinkedIn interaction does. like (default, \"Curtir post\"), like_post, like_comment, visit or reply_comment; see the channel's description.",
      +  "enum": [
      +    "like",
      +    "like_post",
      +    "like_comment",
      +    "visit",
      +    "reply_comment"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / cadence / items / properties / recentDays
      Added value: +{
      +  "description": "linkedin_like with like_post, like_comment or reply_comment only: how many days back a post or comment counts as recent (7 to 90; 30 for likes and 14 for replies when omitted).",
      +  "maximum": 90,
      +  "minimum": 7,
      +  "type": "integer"
      +}
    • addedInput schema / properties / cadence / items / properties / variantB
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Version B of this step for an A/B test: each person gets version A (body) or version B, and the version with the higher reply rate becomes the step's only text once both went to enough people. Saved with the exact text given, never rewritten. subject only for e-mail steps (omitted: the e-mail keeps version A's subject). Not for a LinkedIn connection request nor a linkedin_like step. Saved on the campaign's template, never on one person's messages. A step sent without it has no version B.",
      +  "properties": {
      +    "body": {
      +      "maxLength": 8000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "subject": {
      +      "maxLength": 200,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "body"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / cadence / items / properties / channel / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "email",
      -      "linkedin"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "const": "whatsapp_task",
      -    "type": "string"
      -  },
      -  {
      -    "const": "linkedin_like",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "email",
      +      "linkedin"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "const": "whatsapp_task",
      +    "type": "string"
      +  },
      +  {
      +    "const": "linkedin_like",
      +    "type": "string"
      +  },
      +  {
      +    "const": "whatsapp",
      +    "type": "string"
      +  }
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / cadence / items / properties / branch
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "accepted",
      +        "not_accepted"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The path after the LinkedIn invite (only when the cadence has a LinkedIn message after the invite and e-mails or WhatsApp after it): accepted (\"Aceitou o convite\": the LinkedIn message first, then any steps for who accepted) or not_accepted (\"Não aceitou em X dias\": e-mails or WhatsApp for who did not accept; X is its first step's day minus the invite's, 1 to 21; never a LinkedIn step). Each person goes down one path. Steps on no path go first, then accepted, then not_accepted. Keep each step's branch as the campaign has it; a cadence sent without branches, with a LinkedIn message waiting for the accept before e-mails, gets the paths by itself."
      +}
  6. Changed9 schema fields changed
    • changedInput schema / properties / cadence / description
      Previous value: -"Optional cadence steps, same shape as update_outreach_cadence. Omit to generate later."New value: +"Optional cadence steps, in the same shape as a campaign cadence update. Omit to generate later."
    • changedInput schema / properties / cadence / items / properties / channel / description
      Previous value: -"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, never sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; to have the invite go some hours after the like, give the invite condition no_reply_hours (2 hours is the usual). Only when the user asks for it and only for workspaces that have it (the save refuses it otherwise)."New value: +"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, not sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; to have the invite go some hours after the like, give the invite condition no_reply_hours (2 hours is the usual). linkedin_like is an opt-in step, only for workspaces that have it (the save refuses it otherwise)."
    • changedInput schema / properties / goal / description
      Previous value: -"Campaign objective: conversion, awareness, consultative, meeting, relationship, or custom text. Prefer conversion when the workspace has no campaigns yet."New value: +"Campaign objective: conversion, awareness, consultative, meeting, relationship, or custom text. conversion fits a workspace with no campaigns yet."
    • changedInput schema / properties / linkedinAccountId / description
      Previous value: -"Connected LinkedIn accountId from list_outreach_senders."New value: +"Connected LinkedIn accountId."
    • changedInput schema / properties / mailboxId / description
      Previous value: -"Connected Gmail mailbox UUID from list_outreach_senders."New value: +"Connected Gmail mailbox UUID."
    • changedInput schema / properties / rowIds / description
      Previous value: -"Optional. Exact row ids from get_sheet_rows or add_rows_to_sheet. Omit to use every people row in the sheet (up to 1000)."New value: +"Optional. Exact row ids of that sheet. Omit to use every people row in the sheet (up to 1000)."
    • changedInput schema / properties / sheetId / description
      Previous value: -"Exact people-sheet UUID returned by list_sheets."New value: +"Exact people-sheet UUID."
    • changedInput schema / properties / templateId / description
      Previous value: -"Only a templateId returned by list_outreach_templates. Omit when name and offering are set."New value: +"Only the exact id of a saved outreach template. Omit when name and offering are set."
    • changedInput schema / properties / whatsappAccountId / description
      Previous value: -"Connected WhatsApp accountId from list_outreach_senders."New value: +"Connected WhatsApp accountId."
  7. Changed3 schema fields changed
    • changedInput schema / properties / cadence / items / properties / channel / description
      Previous value: -"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, never sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; it may share its day with the LinkedIn invite or message right after it (that one goes minutes later). Only when the user asks for it and only for workspaces that have it (the save refuses it otherwise)."New value: +"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, never sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; to have the invite go some hours after the like, give the invite condition no_reply_hours (2 hours is the usual). Only when the user asks for it and only for workspaces that have it (the save refuses it otherwise)."
    • changedInput schema / properties / cadence / items / properties / condition / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fallbackDays": {
      -        "anyOf": [
      -          {
      -            "maximum": 30,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "kind": {
      -        "enum": [
      -          "no_reply_days",
      -          "invite_accepted",
      -          "email_opened"
      -        ],
      -        "type": "string"
      -      },
      -      "waitHours": {
      -        "anyOf": [
      -          {
      -            "maximum": 720,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "fallbackDays": {
      +        "anyOf": [
      +          {
      +            "maximum": 30,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "kind": {
      +        "enum": [
      +          "no_reply_days",
      +          "no_reply_hours",
      +          "invite_accepted",
      +          "email_opened"
      +        ],
      +        "type": "string"
      +      },
      +      "waitHours": {
      +        "anyOf": [
      +          {
      +            "maximum": 720,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / cadence / items / properties / condition / description
      Previous value: -"What lets this step go after the one before. no_reply_days (the default): it goes on its day if there is no reply; invite_accepted: a LinkedIn message right after the invite, after the accept (automatic there); email_opened: only right after an e-mail step, it goes waitHours (default 24, min 1) after the person opens that e-mail and is skipped when it is not opened within fallbackDays (default 5). Opens are approximate (Apple Mail and security scanners). Omit to keep the step's current condition."New value: +"What lets this step go after the one before. no_reply_days (the default): it goes on its day if there is no reply; no_reply_hours: it goes waitHours (1 to 72) after the step before was sent, if there is no reply, and its day is set from that step; invite_accepted: a LinkedIn message right after the invite, after the accept (automatic there); email_opened: only right after an e-mail step, it goes waitHours (default 24, min 1) after the person opens that e-mail and is skipped when it is not opened within fallbackDays (default 5). Opens are approximate (Apple Mail and security scanners). Omit to keep the step's current condition."
  8. Changed3 schema fields changed
    • changedInput schema / properties / cadence / items / properties / body / description
      Previous value: -"Message body for that step. Use {{firstName}}, {{company}}, {{headline}}, {{signal}} and {{senderFirstName}} when writing a campaign-wide template. Leave empty only for a LinkedIn connection request without a note."New value: +"Message body for that step. Use {{firstName}}, {{company}}, {{headline}}, {{signal}} and {{senderFirstName}} when writing a campaign-wide template. Leave empty only for a LinkedIn connection request without a note, and for linkedin_like."
    • changedInput schema / properties / cadence / items / properties / channel / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "email",
      -      "linkedin"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "const": "whatsapp_task",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "email",
      +      "linkedin"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "const": "whatsapp_task",
      +    "type": "string"
      +  },
      +  {
      +    "const": "linkedin_like",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / cadence / items / properties / channel / description
      Previous value: -"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, never sent by Nock, only for workspaces that have it (the save refuses it otherwise)."New value: +"whatsapp_task is a WhatsApp step the person's sender sends from their own phone: a task on the WhatsApp screen, never sent by Nock, only for workspaces that have it (the save refuses it otherwise). linkedin_like is \"Curtir post\": Nock likes the person's newest LinkedIn post (or recent comment) from the campaign's LinkedIn account, a warm touch before the invite or a message; body empty, no subject; skipped when they posted nothing recent; it may share its day with the LinkedIn invite or message right after it (that one goes minutes later). Only when the user asks for it and only for workspaces that have it (the save refuses it otherwise)."
  9. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important behavior: the campaign is saved as a draft, nothing is sent, generation does not consume credits, rows are added in batches of 25, and enrichmentPending reports pending channel lookups. These details materially improve transparency for a non-read-only creation tool.

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 front-loaded and appropriately information-dense for a complex 25-parameter creation tool. It is a long single paragraph, but most sentences carry operational meaning and there is little empty wording.

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?

Given the tool's complexity, annotations, and 92% schema coverage, the description is reasonably complete: it covers creation, draft state, credits, row limits, template-vs-inline behavior, and pending enrichment. It does not explain every parameter or output, but the schema carries that burden and no output schema exists.

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 high at 92%, so the schema already carries most parameter meaning. The description adds some useful framing around rowIds, templateId, goal, and cta, but much of that is redundant with the schema and it does not compensate for the few less-documented parameters.

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 opens with a specific verb and resource: "Generate one personalized outreach message per people-sheet row and save them as a new prospecting campaign." That makes the core action clear, but it does not explicitly distinguish this tool from siblings such as generate_outreach_campaign or update_outreach_campaign.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It gives useful conditional guidance for rowIds and templateId, including what happens when rowIds are omitted and when to describe a campaign inline instead of using a template. However, it does not explicitly say when to choose this tool versus generate_outreach_campaign or update_outreach_campaign, so tool-selection guidance is only implied.

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.