Skip to main content
Glama

update_campaign_tool

Destructive

Updates a campaign's settings (rename via campaignName, set or change the calendar link via ctaLink, toggle auto-pilot/auto-reply via isAutoPilot, toggle the email unsubscribe footer via addUnsubscribeLink, toggle open/click tracking via openRateTrackingEnabledAt / clickTrackingEnabledAt, pin a tracking domain via trackingDomainId, change schedule via timezone / emailDays / emailStartHour / emailEndHour, set or clear per-campaign daily caps via dailyEmailLimit / dailyLinkedinConnectionLimit / dailyLinkedinMessageLimit, replace the campaign's co-owners via delegates, the first of whom takes over its dialer tasks; anyone left out loses co-owner access). On a running campaign the changes reach outreach already in flight: a changed ctaLink replaces the old link inside queued emails (clearing it leaves them unchanged), schedule, daily-cap and tracking settings apply when each queued or future message is sent, and with isAutoPilot on, AI-written replies to leads who respond go out without approval. Does NOT activate or deactivate the campaign and does NOT edit its sequence steps.

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

Input Schema

NameRequiredDescriptionDefault
ctaLinkNoThe calendar/booking link (absolute http(s) URL) recipients follow to book a meeting; null or an empty string clears it.
timezoneNoIANA time zone in which sending days and the daily window are evaluated, e.g. America/New_York. Invalid zones are rejected (the scheduler would otherwise silently fall back to UTC).
delegatesNoReplacement list of teammate user ids (from list_team_members) who co-own the campaign. The FIRST id becomes the owner of its dialer (call) tasks: the campaign moves to that person's dialer page and its call batch is created for them instead of the creator; an already open call batch follows on its next refresh. Pass [] to hand the campaign back to its creator. Ids must be the team owner or active team members, else DELEGATE_NOT_TEAM_MEMBER.
emailDaysNoReplacement set of weekdays on which the campaign may send. English names with a capital first letter: Monday ... Sunday.
campaignIdYes
isAutoPilotNoEnable (true) or disable (false) auto-pilot / auto-reply for the campaign
campaignNameNoNew name for the campaign
emailEndHourNoLocal end of the daily sending window as 24-hour H:MM or HH:MM (e.g. 17:00).
emailStartHourNoLocal start of the daily sending window as 24-hour H:MM or HH:MM (e.g. 09:00).
dailyEmailLimitNoMaximum emails this campaign sends per calendar day in its timezone, across all its mailboxes and excluding replies. Mailbox limits and sharing with other campaigns still apply. Pass null to remove the cap.
trackingDomainIdNoId of an ACTIVE team tracking domain from list_tracking_domains_tool. Null unsets the per-campaign pin so send-time click tracking uses the team's default ACTIVE domain if one exists. Click tracking must also be enabled or links are not rewritten.
addUnsubscribeLinkNoWhen true, every email step appends a one-click unsubscribe footer (email channel only). When false, the footer is omitted.
clickTrackingEnabledAtNoRewrite links in outgoing emails to tracked redirects. Must be on for a custom tracking domain to appear in the email; otherwise links stay as the original URL. Pass true to turn on, false or null to turn off. An ISO 8601 timestamp is also accepted.
dailyLinkedinMessageLimitNoMaximum LinkedIn messages (InMails included) this campaign sends per calendar day in its timezone, across all its LinkedIn accounts. Account limits still apply. Pass null to remove the cap.
openRateTrackingEnabledAtNoEnable the open-tracking pixel on outgoing emails. Pass true to turn on, false or null to turn off. An ISO 8601 timestamp is also accepted.
dailyLinkedinConnectionLimitNoMaximum LinkedIn connection requests this campaign sends per calendar day in its timezone, across all its LinkedIn accounts. Account limits still apply. Pass null to remove the cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/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 goes well beyond them: it discloses that changes propagate to queued/in-flight outreach, that a changed ctaLink rewrites the link inside already-queued emails while clearing it leaves them untouched, and that isAutoPilot sends AI replies to leads without approval. It also discloses the access consequence of the delegates list (anyone omitted loses co-owner access) and that the first delegate takes over dialer tasks.

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 core action, and the second paragraph on in-flight effects is the highest-value content. The parameter parenthetical is long and dense (16 params in one clause chain), which hurts scannability, but no sentence is pure filler given the mutation's blast radius.

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 destructive, 16-parameter mutation with no output schema, the description covers what an agent most needs: side effects on live campaigns, the auto-pilot approval bypass, co-owner access loss, and what the tool deliberately does not do. Return values are unnecessary here since callers mainly need to know the mutation succeeded.

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 description coverage is 94%, so the schema already carries nearly all parameter meaning, including the delegates dialer handoff and the trackingDomainId caveat. The description's parenthetical largely restates those parameters in shorthand ('rename via campaignName', 'toggle ... via isAutoPilot'), adding grouping and set/clear/toggle intent but little new semantics. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Updates a campaign's settings') and then enumerates exactly which settings, plus an explicit negative scope ('Does NOT activate or deactivate the campaign and does NOT edit its sequence steps'). That negative scope cleanly separates it from update_campaign_status_tool and update_sequence_step_tool without the agent needing to open 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear when-not guidance by ruling out activation/deactivation and sequence-step editing, and the 'On a running campaign' paragraph tells the agent the effect differs for live vs. paused campaigns. It stops short of naming the sibling tools that should be used instead (e.g. update_campaign_status_tool, update_sequence_step_tool), so routing still requires a small 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.