Skip to main content
Glama

Add leads to a campaign

argorant_add_campaign_leads
Destructive

This spends credits. Use it when the user says "add this list to the campaign". It adds people from a saved list (list_id), a search (record_ids), another campaign (lead_ids with from_campaign_id) or the user's own rows. Each new person from Argorant costs 1 credit; people already unlocked, already in the campaign and the user's own rows are free. Tell the user the cost and ask the user before adding, every time. Call it first without grades. When some addresses are not plainly valid, the answer is needs_choice with counts and a question, and nothing is added; put that question to the user, recommend valid only, then call again with their grades. Large adds run in the background (follow with argorant_add_campaign_leads_status), and the same call again never charges twice. "Add the rest" means the rest of the search into the SAME list, then this again with that list_id. Nothing is sent until launch. More in the docs at https://docs.argorant.com/docs/agents/tools#campaigns

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "argorant_add_campaign_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoThe user's own people, as [{email, first_name?, last_name?, company?, title?}], up to 5,000. A row whose address Argorant knows gets its empty name, title and company filled in (filled_from_argorant). Free.
gradesNoWhat the user chose after needs_choice, ["valid"] (recommended) or ["valid", "catch_all"]. It is saved for the campaign. Leave it out on the first call. Unknown and risky addresses cannot be sent to yet.
list_idNoA saved list, from argorant_create_list or argorant_list_lists. Adding it again later adds only the people not in the campaign yet.
lead_idsNoPeople already in another campaign (ids from argorant_list_campaign_leads); needs from_campaign_id.
record_idsNoPeople of a search: the same ids argorant_create_list takes. 1 credit per new person, like a list.
campaign_idYesThe campaign's id, from argorant_list_campaigns.
restore_removedNoBring back people of this add who were taken out of the campaign earlier and never emailed. When it is left out, rows, record_ids and lead_ids bring them back and a saved list does not.
from_campaign_idNoThe campaign the lead_ids are in. Same workspace only.
include_catch_allNoOlder form of grades=["valid", "catch_all"]; prefer grades.
keep_given_addressNotrue adds the addresses exactly as given. By default a better address of a person can take the place of the one in the campaign (counted in swapped) and a second address of the same person is left out (alternate_skipped); tell the user both.
exclude_private_emailsNotrue leaves out free mail and home internet addresses, counted in skipped_private_email. Only when the user asks for business emails only.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=true, openWorldHint=true; the description supplies the real consequences: 1 credit per new Argorant person, which sources are free, mandatory cost disclosure and user confirmation, no-charge idempotency on repeat calls, and background execution. It also discloses that nothing is sent until launch, a critical behavioral fact no annotation conveys.

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 cost warning is correctly front-loaded and every sentence carries operational content, but the middle section is a dense run-on mixing error handling, background behavior, and phrase interpretation without structural separation. The docs link at the end is minor filler.

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 an 11-parameter destructive mutation with an output schema, the description covers everything an agent needs: cost model, confirmation requirement, first-call convention, the needs_choice branch, async follow-up, and idempotency. Return-value detail is correctly delegated to the output schema.

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; the description adds cross-parameter meaning beyond the schema, such as lead_ids requiring from_campaign_id, grades being the answer to needs_choice, and the default restore_removed behavior differing between list_id and rows/record_ids. It does not cover the less common fields (keep_given_address, exclude_private_emails) in the description, only in 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?

The description states a specific verb and resource (add leads to a campaign) and enumerates the four input sources (saved list, search, another campaign, user's own rows), which lets an agent distinguish it from move/restore/remove siblings without opening a 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 gives an explicit trigger phrase ('add this list to the campaign'), prescribed call ordering (call first without grades), the choice-follow-up path, and names the follow-up tool for background runs (argorant_add_campaign_leads_status). It even disambiguates a natural-language phrase ('Add the rest').

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.