Skip to main content
Glama

change_campaign_lead_status_tool

Destructive

Resume (activate=true) or stop (activate=false) one lead within its campaign, by the lead's targetContactId. Resuming sets a stopped lead active and immediately schedules its next step, so outreach to that person restarts from the user's connected mailbox or LinkedIn account; the lead's company website may be read first to describe the company, an AI-written or AI-personalized step costs 10 credits, and if credits or a usable sender account are missing the whole campaign is paused instead, with an in-app notice (and a Slack message if Slack is connected). Resuming is refused with LEAD_UNSUBSCRIBED for a lead who unsubscribed, by an email's unsubscribe link or by asking in a reply: nothing is sent to them and the lead stays stopped. resubscribe_contact_tool undoes an unsubscribe made by mistake. Stopping the lead is not a pause: it cancels every step still pending for the lead, including scheduled sends, AI replies awaiting approval and call tasks, and resuming later writes those steps afresh rather than restoring them. Use to stop or restart outreach to a single person.

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": {
      "targetContactId": "<targetContactId>",
      "activate": "<activate>"
    },
    "name": "change_campaign_lead_status_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
activateYestrue to activate/resume the lead in its campaign, false to pause/deactivate it.
targetContactIdYesThe lead's targetContactId (a 24-hex MongoDB id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With annotations already flagging destructiveHint=true and a non-read-only write, the description adds substantial context beyond them: a 10-credit cost per AI step, potential campaign-wide pause when credits or a valid sender account are missing, in-app and Slack notifications, a company-website read before writing, the LEAD_UNSUBSCRIBED refusal, and the fact that cancelling destroys pending sends/AI replies/call tasks and that resume recreates them. That is exactly the destructive-behavior detail an agent needs.

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 action and its two states are front-loaded, which is good, but the middle sentences are long run-ons that chain scheduling, website reads, credit costs, pausing, and notifications into one clause stream, making them hard to scan. Several details earn their place; the packaging does not.

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?

For a destructive, open-world mutation with no output schema, the definition covers costs, failure modes, notification paths, refusal codes, and irreversibility of cancelled steps, which is nearly everything an agent needs. It stops short of describing what a successful call returns or how partial failures are surfaced to the caller.

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 baseline is 3; the description nevertheless adds real meaning, including the concrete consequence of activate=true (next step is scheduled immediately, outreach restarts from the connected mailbox or LinkedIn) and the nuance that stopping is a cancellation, not a pause, which sharpens the schema's looser 'pause/deactivate' wording. The targetContactId is only restated, not enriched beyond the 24-hex id already in the schema.

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?

States a specific verb pair and resource: resume (activate=true) or stop (activate=false) one lead within its campaign, keyed by targetContactId. The closing line 'Use to stop or restart outreach to a single person' reinforces scope. It never distinguishes itself from the sibling tools activate_campaign_lead_tool and deactivate_campaign_lead_tool, which appear to overlap, so it falls short of the 5 bar for sibling differentiation.

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 clear conditions: use it to stop or restart outreach to a single person, and explicitly routes users to resubscribe_contact_tool when an unsubscribe was a mistake. It also clarifies a key distinction: stopping cancels every pending step rather than pausing. It does not say when to prefer the campaign-level status tool over this one, so it is clear but incomplete on alternatives.

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.