Skip to main content
Glama

update_campaign_status_tool

Destructive

Starts, resumes, or pauses a campaign based on its current status. ACTIVATING STARTS SENDING REAL OUTREACH to prospects — never activate as an implicit part of another task; only on an explicit user request, and confirm with the user first. Activate: initializing (ready) uses first-time launch, which enrolls the contacts of the campaign's lists; stopped uses re-activate, which also rewrites all of the campaign's queued messages from its current steps, replacing hand edits, when any of them is over 60 days old. A running campaign charges credits for each AI-written or AI-personalized message it writes. Deactivate: only when the campaign is active. Pass campaignId when known, otherwise campaignName for fuzzy lookup.

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": {
      "action": "<action>"
    },
    "name": "update_campaign_status_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesUse "activate" to start or resume outreach (draft → live, or stopped → active). Use "deactivate" to pause a running campaign (active → stopped).
campaignIdNoMongoDB id of the campaign. Prefer it over campaignName whenever the id is known (e.g. for a campaign just created in this conversation). Use with action activate or deactivate.
campaignNameNoCampaign title as the user said it. Resolves by exact name then fuzzy match across initializing, active, and stopped campaigns. Use when no id is available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds substantial context beyond them: real outreach is sent, credits are charged per AI-written message, and re-activation rewrites queued messages older than 60 days, destroying hand edits. That is exactly the kind of consequence disclosure the annotations cannot convey. It stops short of describing the response or failure modes, so not a 5.

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-loads the core action and the highest-risk warning in caps before the mechanics, and every sentence carries operational content. The activate sentence is long and packs several clauses (enrollment, rewrite, 60-day threshold) into one breath, which slightly hurts scanability.

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, credit-consuming mutation with no output schema, the description covers preconditions, side effects, cost, and identifier selection. It does not say what the tool returns or how partial failures surface, which leaves a small gap for an agent verifying the outcome.

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 100% and the schema already documents action, campaignId, and campaignName including the id-over-name preference. The description's closing line ('Pass campaignId when known, otherwise campaignName for fuzzy lookup') largely restates the schema, adding only the word 'fuzzy' as reinforcement, so baseline 3 applies.

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?

States a specific verb set (starts, resumes, pauses) against a specific resource (campaign) and immediately splits the two modes into 'Activate:' and 'Deactivate:' blocks, so an agent can distinguish it from siblings like launch_campaign_tool or update_campaign_tool.

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?

Gives explicit when-to-use and when-not-to-use rules: never activate implicitly, only on explicit user request, confirm first, and deactivate only when the campaign is active. It also states the state preconditions (initializing/stopped for activate, active for deactivate) that select the correct action.

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.