Skip to main content
Glama

Setup Outbound Campaign

setup_outbound_campaign
Destructive

Create a ready-to-use outbound email campaign in one flow: creates the campaign with its emails, assigns sender profiles, optionally imports contacts, marks it complete (not a draft), and optionally activates it. Pass emails, the emails in order: the user sees exactly those when approving the call. Use nodes and edges only for a branching (complex) sequence the user asked for. Ask for team, name, the email copy and sender profiles if not provided. When activate is true the campaign starts emailing enrolled contacts, so confirm that with the user first. Prefer this over create_campaign plus separate steps.

Input Schema

NameRequiredDescriptionDefault
daysNoDays to send, e.g. ["monday", "tuesday", "wednesday", "thursday", "friday"]
nameYesCampaign name
edgesNoOnly with nodes: sequence edges connecting them
hoursNoSending hours in the schedule timezone, e.g. "09:00-17:00"
nodesNoOnly for a branching (complex) sequence; otherwise pass emails. Sequence nodes (startNode, emailNode, waitNode, etc.). Email nodes must use subject_a/body_a.
trackNoEnable open/click tracking
emailsNoThe emails in order (a simple sequence). Each follow-up waits wait_days after the previous email and, without its own subject, replies in the same thread.
team_idYesTeam UUID - get from list_teams
versionNoOnly with nodes: 3 = simple (linear), 2 = complex (branching; permanent). With emails it is always simple.
activateNoWhen true, activate campaign after setup (starts sending to enrolled contacts)
contactsNoOptional contacts to import after campaign creation (same shape as bulk_import_contacts)
timezoneNoSchedule timezone, e.g. America/Los_Angeles
category_idNoOptional campaign category/folder UUID
mark_completeNoWhen true (default), set is_draft false after setup if validation passes
include_catch_allNoInclude catch-all addresses (default true)
sender_profile_idsYesSender profile UUIDs to assign — get from list_sender_profiles
send_to_risk_levelsNoList Health levels to send to. Omit for SAFE/LOW/MEDIUM/HIGH default (Invalid off). null = all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / edges / items / properties / sourceHandle / description
      Previous value: -"Branch handle for ifNode/switchNode outputs"New value: +"Branch handle for ifNode/switchNode outputs: \"true\" (yes) or \"false\" (no) for an ifNode, \"case_<id>\" for a switchNode case"
    • changedInput schema / properties / nodes / items / properties / data / description
      Previous value: -"Node settings. Email nodes use subject_a/body_a (and _b/_c/_d for A/B), wait, wait_unit."New value: +"Node settings. Email nodes use subject_a/body_a (and _b/_c/_d for A/B), wait, wait_unit. Other step types and their fields are listed in the update_campaign_sequence description and `supersend docs`."
    • changedInput schema / properties / nodes / items / properties / type / description
      Previous value: -"Node type: startNode, emailNode, waitNode, ifNode, switchNode, etc."New value: +"Node type: startNode, stopNode, emailNode, waitNode, ifNode, switchNode, httpApiRequestNode, moveToAnotherCampaignNode, taskNode, noteNode, or a linkedin*Node (profile visit, like, follow, comment, connection, connection with message, message, InMail, withdraw, wait until connected)"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent mutation; the description adds the substantive 'why' — activate=true starts emailing enrolled contacts, mark_complete flips is_draft false only if validation passes, and the user sees the exact emails during approval. It does not mention retry/duplicate-creation risk or permission requirements, keeping it below a full 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-loaded with the capability, then operational rules and confirmations in descending priority; no filler sentences. Slightly dense and mixes several concerns (input collection, branching rule, activation safety, sibling preference) in one paragraph without visual separation.

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 17-parameter, side-effecting tool with no output schema, the description covers the core workflow, the emails-vs-nodes decision, and the activation hazard. It omits the failure path (what happens if validation fails so mark_complete is skipped) and the return value/campaign identifier, which an agent would need without an output schema.

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 real decision guidance beyond the schema: emails are an ordered sequence shown to the user at approval, while nodes/edges are reserved for branching sequences the user requested. It does not add much on days/hours/tracking/risk-level interplay.

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 and resource ('Create a ready-to-use outbound email campaign') and then enumerates the concrete side effects performed in one flow (emails, sender profiles, contact import, mark complete, optional activation). It also explicitly differentiates itself from the sibling route: 'Prefer this over create_campaign plus separate steps.'

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 ('Use nodes and edges only for a branching (complex) sequence the user asked for'), the alternative it replaces, required user inputs to collect ('Ask for team, name, the email copy and sender profiles if not provided'), and a gating confirmation before the irreversible action ('confirm that with the user first').

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.

Resources