Skip to main content
Glama

Criar campanha a partir de planilha

generate_outreach_campaign

Create a new outreach campaign from an existing sheet (sheetId is required). It drafts name, offering, goal, CTA and cadence from the workspace profile plus the instruction and attaches people from that people sheet after the draft (rowIds left out means every row, up to 1000). The sheet is only the audience list unless useSheetContext is true (a list of founders does not turn the campaign into a founder campaign); a campaign from a sheet claims no buying signal the request did not state, and is named after the sheet. Its channels follow what the list can receive (LinkedIn connections have no e-mail: a LinkedIn-only campaign); channels sets them explicitly ("no LinkedIn" = ["linkedin"]). channels ["whatsapp"] makes a cadence of WhatsApp only (steps the seller sends from the phone, or WhatsApp automático where the workspace sends it), and only people with a mobile enter; on a company sheet its quote then includes each person's mobile (phoneLookup: the company's WhatsApp do decisor first, 6 credits, else the person's mobile, 20, each only when found). Suited to creating a campaign from an existing sheet or to offering a demo. A COMPANY sheet works the same as sheetId, with no separate decision-maker step: the same sheet becomes the campaign's people, the decision makers of each company take its place, each row keeping the company's columns; a company where nobody is found stays, marked, out of the campaign. For a company sheet the first call only quotes (status needs_confirmation, with maxCredits for the first batch of up to 25 people) and spends nothing; a call with acceptedCredits equal to that maxCredits runs it. The other companies are converted by the campaign itself, a few a day, once it is active. areasNote, when present, flags people who may not fit; they can come out of the list or stay with that version ("Tirar da lista" on the campaign's Template tab). templateId is not accepted.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": "generate_outreach_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoCopy language. Defaults to Português (Brasil).
rowIdsNoOptional subset. Omit to attach every people row in the sheet.
sheetIdYesSheet UUID: a people sheet (its people) or a company sheet (its decision makers).
channelsNoChannels the user asked for; ["whatsapp"] for WhatsApp only. Omit to use the ones the sheet's people can receive.
instructionNoWhat the campaign should sell or ask for, e.g. offer a Nock demo.
decisionMakersNoOnly for a company sheet: whom to write to at each company. Omit to use the account's persona.
withSignalOnlyNoOnly the rows of the companies whose rows show a buying signal in the sheet (its Sinal column), within rowIds when given.
acceptedCreditsNoOnly for a company sheet, on the second call: the maxCredits the first call returned, after the user agreed.
useSheetContextNoWhen true, use roles/companies from the sheet to form the campaign targeting. Default false: the sheet is only the audience and must not change the campaign slice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / withSignalOnly
      Added value: +{
      +  "description": "Only the rows of the companies whose rows show a buying signal in the sheet (its Sinal column), within rowIds when given.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / sheetId / description
      Previous value: -"Sheet UUID: a people sheet (its people) or a company sheet (its decision makers). Leave it out to find the people."New value: +"Sheet UUID: a people sheet (its people) or a company sheet (its decision makers)."
    • addedInput schema / required
      Added value: +[
      +  "sheetId"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / channels / description
      Previous value: -"Channels the user asked for. Omit to use the ones the sheet's people can receive."New value: +"Channels the user asked for; [\"whatsapp\"] for WhatsApp only. Omit to use the ones the sheet's people can receive."
  4. Changed1 schema field changed
    • changedInput schema / properties / sheetId / description
      Previous value: -"Sheet UUID from list_sheets: a people sheet (its people) or a company sheet (its decision makers). Omit to find the people."New value: +"Sheet UUID: a people sheet (its people) or a company sheet (its decision makers). Leave it out to find the people."
  5. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes far beyond the annotations by disclosing the two-call credit protocol (first call returns status needs_confirmation with maxCredits and spends nothing; acceptedCredits equal to that maxCredits runs it), per-lookup credit costs (6 for the company's WhatsApp, 20 for the person's mobile), the 1000-row cap, and the asynchronous 'a few a day' conversion of remaining companies. It also surfaces returned fields (areasNote, enrichmentPending, enrichmentPendingNote) and a hard constraint ('templateId is not accepted'). Nothing here contradicts readOnlyHint=false, destructiveHint=false or idempotentHint=false.

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 core purpose is front-loaded, which is good, but the body is a dense wall of run-on sentences mixing credit quoting, company-sheet conversion, channel inference and enrichment status. Some sentences are hard to parse, notably 'the company's WhatsApp do decisor first', which mixes languages and obscures meaning.

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 9-parameter mutation with no output schema, the description carries the missing burden: it explains the confirmation/spend flow, what happens to companies where no contact is found, what areasNote and enrichmentPending report back, and what is not supported. An agent can call this correctly on the first try without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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, but the description adds real interpretive meaning: rowIds omission means every row up to 1000, channels ['linkedin'] semantics including the 'no LinkedIn' phrasing, channels ['whatsapp'] restricting entry to people with a mobile, withSignalOnly scoping to the Sinal column, and useSheetContext governing whether the sheet shapes targeting. The one weak spot is decisionMakers, whose behavior is mostly left to the schema.

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?

Opens with a specific verb plus resource and a hard scope: 'Create a new outreach campaign from an existing sheet (sheetId is required).' The scope qualifier 'from an existing sheet' plus the closing 'Suited to creating a campaign from an existing sheet or to offering a demo' makes it unambiguous which creation path this is.

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?

Gives concrete when-to-use guidance ('creating a campaign from an existing sheet or... offering a demo') and rich conditional routing: omit rowIds to attach every row, omit channels to inherit what the list can receive, use useSheetContext only when roles/companies should shape targeting. It never names a sibling tool or an explicit when-not-to-use 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.