Skip to main content
Glama

regenerate_step_topics_tool

Destructive

Re-generates the per-step topics of an AI campaign's EXISTING sequence steps from the campaign's current prompt/focus. Keeps every step's channel, order, wait days, templates, and attachments — the titles/topics of its AI-generated steps are overwritten, and when the campaign has a focus and a linked knowledge hub, its stored company description may also be replaced with the context the topics were written from. A lighter alternative to deleting and rebuilding the sequence. It also works on a running campaign: messages not yet written for a contact are written from the new topics, while messages already queued keep their text.

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

Input Schema

NameRequiredDescriptionDefault
campaignIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations already flag destructiveHint=true and openWorldHint=true, and the description adds substantial context beyond them: exactly what is overwritten (titles/topics), what is preserved (channel, order, wait days, templates, attachments), the side effect of possibly replacing the stored company description, and the running-campaign behavior where queued messages keep their text.

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 action and then layers on preservation and side-effect details. It is dense but every sentence adds decision-relevant information, with only mild redundancy in the closing running-campaign sentence.

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 destructive, single-parameter mutation with no output schema, the description covers side effects, preservation guarantees, and runtime behavior well. It does not describe what the call returns or how to confirm success, which is a minor gap given the absence of an output schema.

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?

There is a single required parameter, campaignId, and schema description coverage is 0%, so the description must carry the burden. It never explains what campaignId refers to or its format, though the name is largely self-evident, so this is adequate but not compensating for the coverage gap.

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?

The description states a specific verb and resource: it re-generates the per-step topics of an AI campaign's EXISTING sequence steps from the campaign's current prompt/focus. It also distinguishes this tool from the delete-and-rebuild workflow, so an agent can tell it apart from sequence-generation 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?

It clearly says when to use it: on existing steps, as a lighter alternative to deleting and rebuilding, and even on a running campaign. It does not name a specific sibling tool or state explicit exclusions, which keeps it short of a 5.

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.