Skip to main content
Glama

duplicate_campaign_tool

Destructive

Duplicates an existing campaign (creates a copy with its sequence). Pass the campaignId to clone. The copy is a new draft campaign named 'Copy of ' (with a number added if the user already has a campaign by that name) and owned by the user, with fresh copies of all the original's sequence steps, the same lists and exclusions, and its AI prompt and company context, schedule and sending settings (its sender mailboxes, LinkedIn accounts and delegates only when the user owns the original), but none of its leads or sending history. The copy enrolls no one and sends nothing until it is started (update_campaign_status_tool). The call itself changes nothing in the original, but the copy's steps reuse the original's attachment files instead of getting copies of them, tying the two campaigns' attachments together: later deleting a step that holds those files, in either campaign, with delete_sequence_step_tool, delete_all_sequence_steps_tool or update_sequence_tool's delete_step action permanently deletes them for both, and the other campaign's messages for steps that list them then fail to send.

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": "duplicate_campaign_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYes

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?

Annotations only flag destructiveHint=true and readOnlyHint=false; the description goes far beyond by disclosing that the original is untouched but the copy's steps share the original's attachment files, so deleting a step in either campaign (via delete_sequence_step_tool, delete_all_sequence_steps_tool, or update_sequence_tool's delete_step) permanently removes them for both and breaks sending. It also covers ownership-dependent copying of sender mailboxes/LinkedIn accounts, the 'Copy of <name>' naming with collision numbering, and that no leads, history, enrollment, or sending carry over.

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?

The action and its output shape are front-loaded, and nearly every clause conveys a distinct fact (contents copied, ownership rule, naming, shared-attachment hazard). The single run-on sentence in the back half, especially the attachment-coupling clause, would read better as separated points.

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 single-parameter mutation with no output schema, the description covers side effects, destructive coupling, and the next step needed to make the copy act. The remaining gap is error/precondition handling (what happens with a bad or foreign campaignId).

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

Parameters2/5

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

Schema coverage is 0%, so the description must carry the burden, but it only says 'Pass the campaignId to clone' — effectively restating the property name. It gives no format, no source for obtaining the ID (e.g., get_campaign_tool), and no behavior for invalid or inaccessible IDs.

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 ('Duplicates an existing campaign (creates a copy with its sequence)') and then enumerates exactly what the copy contains and omits. An agent can distinguish this from create_campaign_template_tool or generate_campaign_sequence_tool without opening any schema.

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?

Clearly frames the tool as cloning an existing campaign by ID and routes the agent to update_campaign_status_tool as the step that actually starts the copy, which is the key follow-up decision. It does not, however, state when an agent should duplicate versus create a fresh campaign or template.

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.