Skip to main content
Glama

launch_draft_campaign_tool

Destructive

Launches the draft campaign given by campaignId (one not launched yet, or whose launch failed): validates readiness, enrolls the attached lists' contacts as its targets, and flips the campaign to active. Outreach then begins on its schedule: the sequence's emails and LinkedIn actions go out to the enrolled contacts from the user's connected mailboxes and LinkedIn accounts. Enrolment runs in the background, so this returns as soon as the work is queued. A campaign that fails the readiness checks, or is already active, paused or stopped, is refused and left unchanged. It is the same launch as launch_campaign_tool, so use one or the other. This is a launch action, not a data-prep step: never call it while creating or editing a campaign; only on an explicit user request to launch, and confirm with the user first. Launching spends credits: each AI-written message and AI personalization is charged as it is written, and when the campaign's find-missing-emails setting is on, work emails are first looked up from external data providers for list contacts never searched for one and saved to the lists, charged to the owner's credits.

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": {
      "campaignId": "<campaignId>"
    },
    "name": "launch_draft_campaign_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYesThe campaign to (re)generate target contacts for (its 24-hex MongoDB id).

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?

Goes well beyond the annotations (readOnly=false, destructive=true, openWorld=true) by disclosing the concrete sequence of side effects: readiness validation, contact enrolment, status flip to active, and background enrolment that returns as soon as work is queued. It also states the refusal behavior ('refused and left unchanged' for failed checks or active/paused/stopped campaigns) and the credit-charging model, including external email lookups billed to the owner.

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?

Every sentence carries information — eligibility, side effects, refusal cases, gating, cost — and the core action is stated first. It is a dense single paragraph with no visual separation of the cost/warning content, which makes the most consequential sentence (credit spend) easy to skim past.

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 a one-parameter, high-consequence launch action with no output schema, it covers everything an agent needs: preconditions, side effects, async return semantics, failure handling, user-confirmation gating, and the financial cost of AI message generation and email lookups.

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, but the description adds eligibility semantics the schema lacks: the campaignId must refer to a campaign that is not yet launched or whose launch previously failed. It does not restate the 24-hex MongoDB id format, which the schema already covers.

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?

Names a specific verb and resource ('Launches the draft campaign given by campaignId') and immediately pins the eligible state ('one not launched yet, or whose launch failed'). It also explicitly positions itself against the near-duplicate sibling launch_campaign_tool, so an agent can choose without opening either 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?

Gives explicit when-to-use ('only on an explicit user request to launch, and confirm with the user first'), explicit when-not-to-use ('never call it while creating or editing a campaign'), and an alternative ('It is the same launch as launch_campaign_tool, so use one or the other'). Nothing is left to inference.

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.