Skip to main content
Glama

Regenerar textos da cadência

regenerate_outreach_cadence
Destructive

Rewrites the open (unsent) cadence messages of people in ONE campaign with the AI writer, from the campaign's current template. It takes no instructions and does not change the template or a step's text or day. Steps that already sent, failed, or are mid-dispatch are kept. Optional prospectIds limit the rewrite to those people; without them everyone with unsent steps is refreshed. channels or days limit it to the steps the user named ("os e-mails", "o passo 3"); every other step stays as it is. Nothing is sent. Free.

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": "regenerate_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.
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.
prospectIdsNoWhen set, only these people are rewritten.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
      +}
    • 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. Changed2 schema fields changed
    • changedInput schema / properties / campaignId / description
      Previous value: -"Exact campaign UUID from list_outreach_campaigns."New value: +"Exact campaign UUID."
    • changedInput schema / properties / prospectIds / items / description
      Previous value: -"Prospect UUID from list_prospects."New value: +"Prospect UUID."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false; the description earns extra credit by explaining exactly what is and is not overwritten ('Steps that already sent, failed, or are mid-dispatch are kept'), that nothing is dispatched, and that the run is free. It does not cover permissions or whether a prior version can be recovered, but the destructive scope is well disclosed.

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 its safety boundary are front-loaded in the first two sentences, and 'Nothing is sent. Free.' is an efficient pair of trailing facts. There is some redundancy — the 'every other step stays as it is' guarantee is stated twice in near-identical wording.

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 mutation tool with four params and no output schema, the definition covers scope, preserved state, defaults, cost, and the no-dispatch guarantee. The only real gap is what the call returns (a count of rewritten messages would help), which is not documented anywhere.

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 all four parameters are already documented in structured form, and the description largely restates them ('Optional prospectIds limit the rewrite to those people', 'channels or days limit it to the steps the user named'). It adds marginal value by spelling out the default behavior when prospectIds is omitted (everyone with unsent steps is refreshed), but offers no format hints beyond the 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 description names a specific verb ('Rewrites'), a specific resource ('open (unsent) cadence messages'), and a precise scope ('of people in ONE campaign ... from the campaign's current template'). It also pre-empts confusion with the template-editing siblings by stating it 'does not change the template or a step's text or day', though no sibling is named outright.

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?

Usage context is clear: use it to refresh drafts in a single campaign, optionally narrowed by people (prospectIds) or steps (channels/days). It excludes a class of requests ('It takes no instructions') and clarifies the operation sends nothing, but it never explicitly routes template or step-text changes to the sibling tools that do that.

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.