Skip to main content
Glama

Bring people back into a campaign

argorant_restore_campaign_leads

Use it when the user says "undo that removal" or "put those people back". It brings back people who were taken out of a campaign and never got an email, by lead_ids, addresses, tag, a CSV file (up to 100,000) or all_removed=true. To add new people use argorant_add_campaign_leads. Always call it first with preview=true and tell the user how many would come back and how many stay out. People who were emailed, replied, bounced, unsubscribed or are blocked never come back. The ones who come back wait for the first email, and nothing is sent until the campaign runs. Doing it needs confirmed=true after the user's clear yes. 2,000 people or more come back in the background, with a job_id for argorant_add_campaign_leads_status. 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_restore_campaign_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoEveryone who carries this tag.
fileNoCSV text of lead ids or email addresses, up to 100,000.
emailsNoThe people's email addresses.
previewNoSet it to true to only count, without changing anything.
lead_idsNoIds from argorant_list_campaign_leads.
confirmedNotrue only after the user's clear yes to bringing these people back
all_removedNoEveryone taken out of this campaign who was never emailed.
campaign_idYesThe campaign's id, from argorant_list_campaigns.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The annotations establish that this is a non-read-only, non-destructive, closed-world operation, but the description adds substantial behavioral detail beyond that. It explains the preview count behavior, that no email is sent until the campaign runs, the exclusion rules for who cannot return, and the background job behavior with job_id for 2,000+ restores.

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

Conciseness5/5

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

The description is front-loaded with the trigger and core action, then moves through alternatives, safeguards, exclusions, confirmation, and background behavior. Every sentence carries operational value, and the docs link is appropriately placed at the end.

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?

Given the mutation risk, eight parameters, annotations, and output schema, the description covers the critical decision points: when to use it, preview-first, confirmation, exclusions, asynchronous handling, and the alternative for adding people. An agent has enough information to invoke it safely without needing to infer hidden behavior.

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?

The schema already documents all eight parameters, so the baseline is 3. The description adds useful procedural meaning by emphasizing preview=true first and confirmed=true after a clear yes, and by mentioning the 100,000 CSV limit and all_removed=true as a selection mode. It does not add much syntax detail beyond the schema, but it improves how and when to use key parameters.

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: bringing people back into a campaign who were removed and never emailed. It also clearly distinguishes this from argorant_add_campaign_leads, which is for adding new people. An agent can identify the operation and scope without opening the 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 explicit trigger phrases, names the alternative add tool, and mandates a preview-first workflow before confirmation. It also specifies that confirmed=true is required after a clear user yes, and notes that people emailed, replied, bounced, unsubscribed, or blocked never return.

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.