Skip to main content
Glama

Update campaign

update_campaign
Idempotent

Updates campaign properties such as name, emoji, timezone, sending limits, the minimum email account health score and deliverability settings. Only the provided fields are changed. A new minimum health score re-plans a running campaign at once.

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": {
      "id": "<id>"
    },
    "name": "update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe numeric campaign ID (from list_campaigns)
nameNoNew campaign name
emojiNoCampaign emoji
timezoneNoIANA timezone, e.g. America/New_York
dailyLimitNoCap on the total emails (initial + follow-ups) the campaign may schedule per calendar day in its timezone. Omit for no campaign-level cap; per-mailbox limits still apply
isEnabledLlmNoEnable AI (LLM) features for this campaign
minimumHealthScoreNoMinimum email account health score for this campaign, 1-100 (see healthScore in list_sender_emails). An account below it, or with no score yet, sends nothing in this campaign, first emails and follow-ups alike, until its score is back at or above it; its conversations wait for it and never move to another account. 0 means no minimum; omit it to leave the setting as it is
allowNonBusinessEmailsNoAllow sending to free mailbox providers (gmail.com, etc.)
isEnabledEmailVerifierNoVerify lead emails before sending
ignoreOutOfOfficeRepliesNoDo not stop follow-ups on out-of-office replies
maximumTimeBetweenEmailsNoMaximum gap between two sends, in minutes
minimumTimeBetweenEmailsNoMinimum gap between two sends, in minutes
isEnabledCatchallValidatedNoSend to catch-all validated addresses
isEnabledStopFollowUpsOnReplyNoStop follow-ups to a lead once they reply
isEnabledIgnoreHardBouncedLeadsNoSkip leads that previously hard-bounced
isEnabledSkipLeadIfAlreadyExistsNoSkip leads that already exist in the workspace
maximumSendingLimitPerSenderEmailNoDaily sending limit per sender email account
isEnabledStopFollowUpsForSameCompanyNoCompany reply stop: once a lead replies (out-of-office and other automatic replies don't count), stop emailing the other leads at the same company in this campaign. Subdomains count as the same company; personal addresses like @gmail.com never do. On by default
isEnabledStopFollowUpsAcrossCampaignsNoStop follow-ups to a lead in this campaign once they reply in any campaign
isEnabledIgnoreLeadsWhoAlreadyRespondedNoSkip leads who already responded in another campaign
maximumSendingLimitPerSenderEmailVariationNoRandom daily variation applied to the sending limit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • addedInput schema / properties / minimumHealthScore
      Added value: +{
      +  "description": "Minimum email account health score for this campaign, 1-100 (see healthScore in list_sender_emails). An account below it, or with no score yet, sends nothing in this campaign, first emails and follow-ups alike, until its score is back at or above it; its conversations wait for it and never move to another account. 0 means no minimum; omit it to leave the setting as it is",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / isEnabledStopFollowUpsForSameCompany / description
      Previous value: -"Stop follow-ups to a company once someone there replies"New value: +"Company reply stop: once a lead replies (out-of-office and other automatic replies don't count), stop emailing the other leads at the same company in this campaign. Subdomains count as the same company; personal addresses like @gmail.com never do. On by default"
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish write, idempotent and non-destructive semantics, so the bar is lower, and the description still earns credit: it discloses partial-update behavior and, more importantly, that setting a new minimum health score "re-plans a running campaign at once" — a real side effect not captured by any annotation. It stops short of covering permission requirements, validation failures, or whether other settings trigger similar immediate re-planning.

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?

Three short sentences, front-loaded with the verb and affected field families, followed by the partial-update rule and the one high-value side effect. The field enumeration is slightly redundant with a fully documented schema, but nothing is wasted or buried.

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 21-parameter mutation tool the description covers the essentials: scope of updatable fields, patch semantics, and the one non-obvious side effect, while the rich schema carries per-field detail and annotations cover safety. The remaining gap is lifecycle context — whether launched or paused campaigns are treated differently — which the description only hints at with "running campaign".

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 100% and the property descriptions are unusually detailed (e.g., minimumHealthScore explains the exact send-blocking behavior and that 0 means no minimum). The description only names field categories already present in the schema, so it adds little meaning beyond structured data — baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Updates campaign properties") and enumerates representative fields — name, emoji, timezone, sending limits, health score, deliverability settings — so the scope is immediately legible. It does not distinguish itself from siblings such as update_campaign_schedule or update_sender_email, leaving the agent to infer the boundary from the field list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

"Only the provided fields are changed" gives an implicit rule for partial updates, which tells the agent this is a patch operation rather than a replace. However, there is no explicit statement of when to use this tool versus update_campaign_schedule (for schedule fields) or launch/pause_campaign (for lifecycle state), and no preconditions such as whether the campaign may be running.

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