Skip to main content
Glama

Atualizar campanha

update_outreach_campaign
DestructiveIdempotent

Edits the settings of ONE outreach campaign the user owns, by campaignId. Only the fields passed change; the others keep their value. Fields: campaign name, offering (what the user's company sells), give (something useful offered before asking for the reader's time, such as a diagnosis, a sample or a draft), sender name, company, role and URL, tone, goal, call to action, message length, constraints (what the messages must never say), business context, and which connected Gmail mailbox, LinkedIn or WhatsApp account sends. It sends no message, adds or removes no people, does not start, pause or resume the campaign, and does not edit the cadence's messages. "O que a campanha oferece" (the activation item) and "O que você dá antes de pedir" are the give, not the offering. A new give on a campaign that already has a cadence writes the cadence's template again from it right away; the people's messages are not rewritten by this call: the result's messagesOutdated counts them and messagesNext describes the rewrite still pending.

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_outreach_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNoDesired next step: reply, book_call, accept_connect, share_resource, or custom text.
giveNo"O que a campanha oferece": concrete value handed over before asking for the reader's time (a diagnosis, a sample, a draft). Leave it out to keep it.
goalNoCampaign objective: conversion, awareness, consultative, meeting, relationship, or custom text.
nameNoNew campaign name.
toneNoMessage tone, e.g. consultative, professional, friendly, direct.
offeringNoWhat the company sells / the offer used in generated messages.
mailboxIdNoConnected Gmail mailbox UUID. Leave it out to keep it.
campaignIdYesExact campaign UUID.
senderNameNoName used in message signatures. Leave it out to keep it.
senderRoleNoSender role. Leave it out to keep it.
signalGateNoHow to use company buying signals: personalize messages, or skip people missing the chosen signal.
constraintsNoThings the copy must never say or do. Leave it out to keep it.
messageLengthNo
senderCompanyNoSender company name. Leave it out to keep it.
businessContextNoCompany and product context the campaign's messages respect. Leave it out to keep it.
rewriteMessagesNoA new give writes the cadence's template again by default; false only when the user asked to keep the messages as they are.
senderCompanyUrlNoSender company URL. Leave it out to keep it.
linkedinAccountIdNoConnected LinkedIn accountId. Leave it out to keep it.
whatsappAccountIdNoConnected WhatsApp accountId. Leave it out to keep it.
senderLinkChannelsNoChannels that may include the sender link: email, linkedin, whatsapp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / businessContext / description
      Previous value: -"Company and product context the model should respect. Leave it out to keep it."New value: +"Company and product context the campaign's messages respect. Leave it out to keep it."
    • changedInput schema / properties / campaignId / description
      Previous value: -"Exact campaign UUID from list_outreach_campaigns or dashboard context."New value: +"Exact campaign UUID."
    • changedInput schema / properties / linkedinAccountId / description
      Previous value: -"Connected LinkedIn accountId from list_outreach_senders. Leave it out to keep it."New value: +"Connected LinkedIn accountId. Leave it out to keep it."
    • changedInput schema / properties / mailboxId / description
      Previous value: -"Connected Gmail mailbox UUID from list_outreach_senders. Leave it out to keep it."New value: +"Connected Gmail mailbox UUID. Leave it out to keep it."
    • changedInput schema / properties / whatsappAccountId / description
      Previous value: -"Connected WhatsApp accountId from list_outreach_senders. Leave it out to keep it."New value: +"Connected WhatsApp accountId. Leave it out to keep it."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the partial-update contract ("Only the fields passed change"), the side effect that a new give rewrites the cadence template immediately, and that people's existing messages are not rewritten, returning messagesOutdated and messagesNext instead. That is exactly the non-obvious consequence an agent needs before calling a destructiveHint=true mutation, and it does not contradict the annotations.

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 core action and scope are front-loaded in the first two sentences, followed by field enumeration and then exclusions. It is dense and slightly long, but the give/offering disambiguation and the cadence-rewrite consequence each carry information not available elsewhere, so little is wasted.

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?

With 20 parameters and no output schema, the description compensates by describing the relevant result fields (messagesOutdated, messagesNext) and the ordering of side effects. An agent can call this correctly without opening additional documentation.

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 95%, so baseline is 3, but the description adds real meaning by disambiguating the two easily-confused parameters ("O que a campanha oferece" and "O que você dá antes de pedir" are the give, not the offering) and by explaining when rewriteMessages should be false. It also explains the send-channel parameters collectively.

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?

States a specific verb and resource with scope: "Edits the settings of ONE outreach campaign the user owns, by campaignId." It then enumerates exactly which fields are editable and explicitly excludes adjacent operations (sending, adding/removing people, start/pause/resume, cadence messages), which separates it from status, activation and cadence-editing siblings.

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?

The description gives clear when-to-use context (change one owned campaign's settings, partial update) and a strong when-not list covering four adjacent behaviors. It stops short of naming the sibling tools that own those behaviors, so the agent must infer that status changes go to update_outreach_campaign_status or activation to activate_outreach_campaign.

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.