Skip to main content
Glama

Ajustar cadência da campanha

adjust_outreach_cadence
Destructive

Changes how ONE campaign's messages read from one sentence of the user ('não fala de preço na primeira mensagem', 'mais curto', 'sem link na primeira', 'muda o tom para mais direto') and writes its template again in the same shape, now (it takes a few seconds). The people's steps not sent yet take the new template; nobody's messages are written again until a rewrite is requested (messagesNext in the result says how); sent messages and hand-edited ones stay. What the instruction teaches about how messages read is kept by default: rules takes the style part of the instruction as one to three short imperative sentences in the user's words that hold for any campaign ('Abra com uma pergunta de sondagem.', 'E-mails com até cinco frases.'), saved as workspace cadence rules (de-duplicated) so every campaign written afterwards follows them; the result's keptRules says which were kept. campaignOnly true when the instruction is only about this campaign's own content (its offer, a subject line, a case, its audience): nothing is kept beyond it. forAll true saves it only as a workspace rule, not on the campaign. Free. Nothing is sent. Not meant for a campaign draft still being created in the web app's chat flow, which has its own draft editor.

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>",
      "instruction": "<instruction>"
    },
    "name": "adjust_outreach_cadence"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoOnly the steps on these days ("o passo 3" is the day of the cadence's third step); the other steps stay exactly as they are. Absent: every step.
rulesNoThe style part as short imperative rules for any campaign, in the user's words. Kept as workspace cadence rules.
forAllNoTrue when the sentence is a rule for every campaign. Default false.
channelsNoOnly these channels' steps are written again ("reescreve os e-mails" is ["email"]); the other steps stay exactly as they are. Absent: the whole cadence.
campaignIdYesExact campaign UUID.
instructionYesWhat to change, in the user's words, one sentence.
campaignOnlyNoTrue only when the instruction is about this campaign's own content (offer, subject, case, audience), not how messages read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / days
      Added value: +{
      +  "description": "Only the steps on these days (\"o passo 3\" is the day of the cadence's third step); the other steps stay exactly as they are. Absent: every step.",
      +  "items": {
      +    "maximum": 60,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "maxItems": 30,
      +  "minItems": 1,
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / channels
      Added value: +{
      +  "description": "Only these channels' steps are written again (\"reescreve os e-mails\" is [\"email\"]); the other steps stay exactly as they are. Absent: the whole cadence.",
      +  "items": {
      +    "enum": [
      +      "email",
      +      "linkedin",
      +      "whatsapp"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "minItems": 1,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / campaignId / description
      Previous value: -"Exact campaign UUID from list_outreach_campaigns."New value: +"Exact campaign UUID."
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds substantive behavior beyond them: it takes a few seconds, only unsent steps adopt the new template, sent and hand-edited messages are untouched, rewrites are not automatic (messagesNext reports this), rules are de-duplicated into workspace cadence rules, and it is free/nothing is sent. The one soft spot is 'writes its template again in the same shape', which does not say plainly that the previous template text of unsent steps is replaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, but the text is a single run-on sentence dense with parentheticals, mixed-language examples, and mid-sentence flag explanations that bury the operational facts. Most content earns its place, yet the packaging makes it needlessly hard to parse at invocation time.

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 7-parameter mutation with no output schema, the definition is unusually complete: it covers side effects, latency, cost, what is preserved, and what the result reports (messagesNext, keptRules). The remaining gap is how this tool relates to version restore or regeneration siblings, but nothing essential for calling it correctly is missing.

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%, so the baseline is 3; the schema already documents days, channels, rules, campaignOnly and forAll. The description mostly restates those constraints, though it does add useful relational framing (campaignOnly means nothing is kept beyond the campaign, forAll saves only as a workspace rule, rules becomes 1-3 de-duplicated workspace rules) and names result fields keptRules and messagesNext.

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 states a specific verb and resource: it rewrites ONE campaign's cadence template according to a single user sentence, and it clarifies the scope ('ONE campaign', 'one sentence'). It never names its closest siblings (regenerate_outreach_cadence, update_outreach_cadence, add_cadence_rule), so an agent cannot tell from this text alone which of those overlapping tools to pick.

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?

It gives a real exclusion ('Not meant for a campaign draft still being created in the web app's chat flow, which has its own draft editor') and explains when the campaignOnly/forAll flags apply. It stops short of routing the agent to alternative tools for regeneration or pure rule addition, which are the obvious competing siblings.

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.