Skip to main content
Glama

AI SDR Kit by Zevari

campaigns_remove_target

Remove a lead from a campaign (WS1.3). Cancels every queued future action for that lead in the campaign (pending execution jobs and queued LinkedIn actions) and marks the target removed. Sent messages, replies, and audit history are preserved. An unsent removed lead can be restored later with campaigns_restore_target while the campaign is paused or draft; a lead removed after sends cannot. Requires confirm_remove=true after the user explicitly confirms the lead.

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": {
      "target_id": "<target_id>",
      "confirm_remove": "<confirm_remove>"
    },
    "name": "campaigns_remove_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
target_idYesCampaign target ID to remove (from campaigns_get)
confirm_removeYesRequired confirmation. Set to true only after the user explicitly confirms removing this lead — every queued future action for the lead in this campaign is cancelled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well on destructive scope: it names exactly what is cancelled (pending execution jobs and queued LinkedIn actions) and what is preserved (sent messages, replies, audit history). It does not cover permission/auth requirements, rate limits, or what happens if the target is already removed or the campaign is running, leaving real gaps for a mutation.

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?

Front-loaded and dense: destruction scope first, preservation second, recovery conditions third, confirmation last. Four sentences each do work, with only the internal reference code (WS1.3) as waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the irreversible-action risk and the restore window thoroughly, which is the most important thing for this mutation with no annotations and no output schema. Still incomplete on the undocumented reason parameter and on edge cases such as removing an already-removed lead or acting on an active campaign.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description largely restates the confirm_remove gate that the schema already documents in detail. The optional reason parameter is never explained in either place, and no format or sourcing detail is added for target_id beyond what the schema says.

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+resource ("Remove a lead from a campaign") and immediately names the inverse operation, campaigns_restore_target, so the agent can distinguish removal from restoration without opening a schema. The internal tag (WS1.3) is noise but does not obscure the purpose.

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?

States both the condition for use (with an explicit user confirmation gate on confirm_remove) and the recovery path: restore is possible only while the campaign is paused or draft, and impossible once sends have occurred. That is a clear when/when-not pairing rather than implied guidance.

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.