Skip to main content
Glama

Editar regras da campanha

update_campaign_settings
DestructiveIdempotent

Changes a campaign's sending rules; only the fields sent change. approveBeforeSending can only be turned on here (every step then waits for approval in the Inbox); turning it off, and the daily enrollment, are authorizations given in the campaign's Settings screen. Turning off blockActiveSequence or blockContactedBefore returns a warning with what the campaign then lets in. Free, except that onlyActiveLinkedin on then costs 2 credits per person read before their first message, and otherDecisionMakerSearch on 8 credits per person whose other decision maker ({{outroDecisor}}) one search finds. WhatsApp: whatsappMode (auto from the campaign's numbers, or task for the SDR), the numbers after the campaign's own, and who gets the leads' tasks (the lead's Responsável, or a rodízio among SDRs). manualLinkedin: every LinkedIn step becomes a task in the Inbox the owner does by hand. Nothing is sent.

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

Input Schema

NameRequiredDescriptionDefault
priorityNoGive this campaign priority: its due steps go out before those of the workspace's other campaigns, so it uses the shared LinkedIn quota first. Only one campaign has priority; turning it on here takes it from the others.
campaignIdYesCampaign id.
whatsappModeNotask: each WhatsApp step is a task the lead's Responsável sends from their own phone. auto: sent from the campaign's connected WhatsApp numbers (only when the workspace has automatic WhatsApp numbers); while no number can talk to new people, the steps become tasks by themselves until one is back.
fixSenderNamesNoReplace another sender's name in a message with the account that sends it.
manualLinkedinNoLinkedIn done by hand: every LinkedIn step (invite, message, like) becomes a task in the Inbox with the text ready; Nock sends nothing on LinkedIn and needs no LinkedIn account. Turn it on when the user or the material says LinkedIn is manual. For WhatsApp by hand use whatsappMode task.
extraMailboxIdsNoOther connected Gmail mailbox ids, a teammate's too, someone's first e-mail goes out from, in order, when the campaign's own mailbox has no room today. Their later e-mails stay with that mailbox. [] clears.
dailyCompanyLimitNoNew companies the daily additions take at most each day ("uma empresa por dia" = 1), on top of the people a day; each company brings its people per company. 0 clears it.
holdOnOutOfOfficeNoAn out-of-office reply holds the next message instead of ending the sequence.
linkedinDailyLimitNoLinkedIn invites and messages this campaign sends a day (default 20). LinkedIn only: e-mails of the cadence never count. The most depends on the account: 30 a day for most workspaces (a higher number is kept but sends 30), shared by every campaign on the account, so 20 leaves 10 for another campaign running at the same time.
onlyActiveLinkedinNoOnly people active on LinkedIn in the last 2 months (a post, comment or reaction in 60 days) get the first message of a cadence with LinkedIn steps; the rest are held as "perfil inativo no LinkedIn". Off by default. Each person read costs 2 credits (a read kept from the last 14 days is free): say that price and get a yes before turning it on. false lets the held people go on.
blockActiveSequenceNoOn by default: nobody in another active or paused campaign joins this one. false includes them on purpose, and they get both cadences at once.
duplicateProtectionNoCancel repeated recipients and skip people already in the campaign.
approveBeforeSendingNo
blockContactedBeforeNoOn by default: people already contacted (deleted campaigns too) are skipped. false contacts them again on purpose.
skipNationalHolidaysNoOn by default: on Brazil's national holidays (Carnaval, Sexta-feira Santa and Corpus Christi included, in the campaign's time zone) the campaign sends nothing on any channel, and the steps go at the next opening. false sends on holidays too. Finding people goes on either way.
whatsappDistributionNoowner (default): each lead's Responsável gets its tasks. round_robin: each lead without a Responsável goes to the next SDR of whatsappRoundRobinMembers; turning it on deals the leads already without one, once.
resumeAfterOutOfOfficeNoResume the day after the return date in the auto-reply.
extraLinkedinAccountIdsNoOther connected LinkedIn accountIds the campaign's new invites go out from, in order, when its own account has no room today. Someone's later messages stay with the account that invited them. [] clears.
extraWhatsappAccountIdsNoOther WhatsApp number accountIds after the campaign's own, in order; someone who got a message stays on that number. [] clears.
emailOnlyWithoutLinkedinNoA cadence with LinkedIn and e-mail steps reaches each person by one: LinkedIn steps when they have a profile, the e-mail steps only when they have none. People need one of the two to join, not both.
otherDecisionMakerSearchNoFor a step citing {{outroDecisor}}: when Nock has no other decision maker of the person's company (other people of the workspace, Receita partners, the sheet), one search for one decision maker of the company. Off by default. 8 credits per person, only when it finds someone (a Receita partner is free): say that price and get a yes before turning it on. Off: the sentence reads without a name.
whatsappRoundRobinMembersNoThe rodízio's SDRs in order (a member's name, e-mail or user id), the whole list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / otherDecisionMakerSearch
      Added value: +{
      +  "description": "For a step citing {{outroDecisor}}: when Nock has no other decision maker of the person's company (other people of the workspace, Receita partners, the sheet), one search for one decision maker of the company. Off by default. 8 credits per person, only when it finds someone (a Receita partner is free): say that price and get a yes before turning it on. Off: the sentence reads without a name.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / dailyCompanyLimit
      Added value: +{
      +  "description": "New companies the daily additions take at most each day (\"uma empresa por dia\" = 1), on top of the people a day; each company brings its people per company. 0 clears it.",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / manualLinkedin
      Added value: +{
      +  "description": "LinkedIn done by hand: every LinkedIn step (invite, message, like) becomes a task in the Inbox with the text ready; Nock sends nothing on LinkedIn and needs no LinkedIn account. Turn it on when the user or the material says LinkedIn is manual. For WhatsApp by hand use whatsappMode task.",
      +  "type": "boolean"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / extraWhatsappAccountIds
      Added value: +{
      +  "description": "Other WhatsApp number accountIds after the campaign's own, in order; someone who got a message stays on that number. [] clears.",
      +  "items": {
      +    "maxLength": 120,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 9,
      +  "type": "array"
      +}
    • addedInput schema / properties / whatsappDistribution
      Added value: +{
      +  "description": "owner (default): each lead's Responsável gets its tasks. round_robin: each lead without a Responsável goes to the next SDR of whatsappRoundRobinMembers; turning it on deals the leads already without one, once.",
      +  "enum": [
      +    "owner",
      +    "round_robin"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / whatsappMode
      Added value: +{
      +  "description": "task: each WhatsApp step is a task the lead's Responsável sends from their own phone. auto: sent from the campaign's connected WhatsApp numbers (only when the workspace has automatic WhatsApp numbers); while no number can talk to new people, the steps become tasks by themselves until one is back.",
      +  "enum": [
      +    "auto",
      +    "task"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / whatsappRoundRobinMembers
      Added value: +{
      +  "description": "The rodízio's SDRs in order (a member's name, e-mail or user id), the whole list.",
      +  "items": {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 30,
      +  "type": "array"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / skipNationalHolidays
      Added value: +{
      +  "description": "On by default: on Brazil's national holidays (Carnaval, Sexta-feira Santa and Corpus Christi included, in the campaign's time zone) the campaign sends nothing on any channel, and the steps go at the next opening. false sends on holidays too. Finding people goes on either way.",
      +  "type": "boolean"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / onlyActiveLinkedin
      Added value: +{
      +  "description": "Only people active on LinkedIn in the last 2 months (a post, comment or reaction in 60 days) get the first message of a cadence with LinkedIn steps; the rest are held as \"perfil inativo no LinkedIn\". Off by default. Each person read costs 2 credits (a read kept from the last 14 days is free): say that price and get a yes before turning it on. false lets the held people go on.",
      +  "type": "boolean"
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / blockActiveSequence / description
      Previous value: -"Fixed on since 29/09/2026, whatever this value: no one is in two active campaigns at once."New value: +"On by default: nobody in another active or paused campaign joins this one. false includes them on purpose, and they get both cadences at once."
    • changedInput schema / properties / blockContactedBefore / description
      Previous value: -"Skip people an earlier campaign already contacted."New value: +"On by default: people already contacted (deleted campaigns too) are skipped. false contacts them again on purpose."
  8. Changed4 schema fields changed
    • changedInput schema / properties / blockActiveSequence / description
      Previous value: -"Always on since 29/09/2026: no one is in two active campaigns at once, whatever this value; say so if asked to turn it off."New value: +"Fixed on since 29/09/2026, whatever this value: no one is in two active campaigns at once."
    • changedInput schema / properties / campaignId / description
      Previous value: -"Campaign id from list_outreach_campaigns."New value: +"Campaign id."
    • changedInput schema / properties / extraLinkedinAccountIds / description
      Previous value: -"Other connected LinkedIn accountIds (list_outreach_senders) the campaign's new invites go out from, in order, when its own account has no room today. Someone's later messages stay with the account that invited them. [] clears."New value: +"Other connected LinkedIn accountIds the campaign's new invites go out from, in order, when its own account has no room today. Someone's later messages stay with the account that invited them. [] clears."
    • changedInput schema / properties / extraMailboxIds / description
      Previous value: -"Other connected Gmail mailbox ids (list_outreach_senders), a teammate's too, someone's first e-mail goes out from, in order, when the campaign's own mailbox has no room today. Their later e-mails stay with that mailbox. [] clears."New value: +"Other connected Gmail mailbox ids, a teammate's too, someone's first e-mail goes out from, in order, when the campaign's own mailbox has no room today. Their later e-mails stay with that mailbox. [] clears."
  9. Changed2 schema fields changed
    • changedInput schema / properties / linkedinDailyLimit / description
      Previous value: -"LinkedIn invites and messages this campaign sends a day, 1-30 (default 20). LinkedIn only: e-mails of the cadence never count. The account's 30 a day is shared by every campaign on it, so 20 leaves 10 for another campaign running at the same time."New value: +"LinkedIn invites and messages this campaign sends a day (default 20). LinkedIn only: e-mails of the cadence never count. The most depends on the account: 30 a day for most workspaces (a higher number is kept but sends 30), shared by every campaign on the account, so 20 leaves 10 for another campaign running at the same time."
    • changedInput schema / properties / linkedinDailyLimit / maximum
      Previous value: -30New value: +100
  10. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations, the description discloses important behavior: disabling blockActiveSequence or blockContactedBefore returns a warning, approveBeforeSending can only be enabled here, and certain options consume credits at specific rates. It also clarifies that settings change without sending anything, which is useful context for a mutation tool.

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 description is front-loaded with the core operation and then moves through field-specific behavior in a logical order. It is dense and long, but for a 22-parameter settings tool most sentences carry actionable information rather than filler.

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?

Given 22 parameters, high schema coverage, and annotations covering safety, the description provides enough critical context around approvals, billing, warnings, and WhatsApp/manual LinkedIn behavior. It does not need to repeat every schema detail, though a brief note on update scope for non-sending fields could improve completeness.

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 95%, so the input schema already documents nearly all parameters, including most field meanings and costs. The description reinforces key parameters and adds cross-field context such as the approveBeforeSending restriction and warning behavior, but it does not add much beyond the already rich schema.

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 opening sentence gives a specific verb and resource: "Changes a campaign's sending rules." It also scopes the operation with "only the fields sent change," which clearly separates it from audience or signal tools, though it does not explicitly name sibling alternatives.

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?

The description gives field-level guidance for specific cases, such as approveBeforeSending only being turned on here and manualLinkedin being used when LinkedIn is manual. However, it does not explicitly say when to choose this tool over update_campaign_audience, update_campaign_signals, or update_outreach_campaign_status, so the usage guidance remains implied.

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.