Skip to main content
Glama

Adicionar pessoas à campanha

add_prospects_to_campaign
Idempotent

Add people from a people sheet to an existing campaign. Fills the campaign's cadence template with each person's name, company, role and signals. Skipped: rows already in the campaign; people the user's connected CRM already has (the result's crmKnown, with crmKnownReason saying how many and why); and people the user removed from this campaign before (the result's removedBefore, with removedBeforeReason saying how many and who), unless includeRemoved is true. Every row asked for is added in this one call (up to 1000, in batches of 25); a campaign has no size limit. Without rowIds, adds the sheet's people rows not yet in the campaign. Only adds people already in a sheet; it does not search for new people. Ids must be exact; none are guessed. A campaign has one sheet: people from another sheet are copied into the campaign's sheet (the same person is never added twice) and point there. 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": {
      "campaignId": "<campaignId>",
      "sheetId": "<sheetId>"
    },
    "name": "add_prospects_to_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowIdsNoOptional exact sheet row ids, up to 1000. Omit to add every people row of the sheet not yet in the campaign.
sheetIdYesExact people sheet UUID.
campaignIdYesExact campaign UUID.
includeRemovedNoTrue brings back people previously removed from this campaign (the ones a result reported in removedBefore). Leave it out or false to skip them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / campaignId / description
      Previous value: -"Exact campaign UUID from list_outreach_campaigns or dashboard context."New value: +"Exact campaign UUID."
    • changedInput schema / properties / includeRemoved / description
      Previous value: -"True only when the user explicitly asked to bring back people they removed from this campaign (after a result with removedBefore). Never set it on your own."New value: +"True brings back people previously removed from this campaign (the ones a result reported in removedBefore). Leave it out or false to skip them."
    • changedInput schema / properties / sheetId / description
      Previous value: -"People sheet UUID from list_sheets or create_sheet."New value: +"Exact people sheet UUID."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (idempotent, non-destructive, non-open-world), it discloses skip rules, batching (1000 max, batches of 25), that campaigns themselves have no size limit, cross-sheet copying behavior, and how pending enrichment surfaces in the result. That is rich context the structured fields do not carry. The 'same person is never added twice' claim is consistent with idempotentHint=true.

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 core action leads, followed by skip rules and limits, so it is well front-loaded. It is a dense block with several clauses packed into single sentences (the skip list and the enrichment note especially), which costs some scannability.

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?

There is no output schema, yet the description explains the meaningful result fields (crmKnown, crmKnownReason, removedBefore, removedBeforeReason, enrichmentPending, enrichmentPendingNote). For a 4-parameter mutation tool, nothing an agent needs in order to call it correctly appears to be missing.

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 meaning: omitting rowIds selects the sheet's not-yet-added people rows, includeRemoved maps to the removedBefore result field, and 'Ids must be exact; none are guessed' clarifies failure behavior. It stops short of describing id format expectations, which the schema already covers via patterns.

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 first sentence names a specific verb and resource ('Add people from a people sheet to an existing campaign'), and the later line 'Only adds people already in a sheet; it does not search for new people' draws the boundary against discovery-style siblings such as find_people_for_campaign. An agent can distinguish this from add_rows_to_sheet or assign_prospects without opening any schema.

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

Usage Guidelines5/5

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

It states concretely when to pass rowIds versus omitting them, when to set includeRemoved true, and which populations are skipped by default. The 'it does not search for new people' note functions as an explicit when-not condition, routing discovery work elsewhere.

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.