Skip to main content
Glama

regenerate_queued_campaign_messages_tool

Destructive

Rewrite, in a background job, every message a campaign has queued but not yet sent (emails, LinkedIn messages, InMails and connection-request notes) from its current sequence steps, replacing their wording, including edits the user made to them. It does not change the sequence steps or messages already sent, and does nothing for a campaign with no queued messages (such as a draft). AI writing a message has not yet paid for is charged in credits; if the balance cannot cover it, that message is stopped and the campaign is paused, and the user is notified in the app and on Slack if connected.

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

Input Schema

NameRequiredDescriptionDefault
campaignIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only flag destructive=true and openWorldHint=true; the description goes well beyond them by disclosing that this runs as a background job, that user edits are overwritten, that credits are charged per AI-written message, and that an insufficient balance halts the message, pauses the campaign, and notifies via app and Slack. These are exactly the consequences an agent needs before invoking a destructive operation.

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 operation and its scope come first, with side effects and failure behavior following in a logical order, and no sentence is filler. The second and third sentences are quite dense with parenthetical asides, which costs a bit of readability but nothing is wasted.

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 one-parameter destructive tool with annotations and no output schema, the description covers scope, async nature, credit cost, failure handling, and notifications. The remaining gap is what the call returns (job identifier? immediate acknowledgement?) and how to locate campaignId, which matters for a background job the agent may need to poll.

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 0% for the single campaignId parameter, so the description has to carry the burden, and it only implies the parameter through the word 'campaign'. It adds no format, source, or lookup guidance for the ID, so it partially but not fully compensates for the empty 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 and resource ('Rewrite ... every message a campaign has queued but not yet sent') and enumerates the channel types covered (emails, LinkedIn messages, InMails, connection-request notes) plus the source of the new text ('current sequence steps'). It never names a sibling tool, so an agent must infer the boundary with regenerate_step_topics_tool or generate_campaign_sequence_tool, but the scope statement itself is unambiguous.

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?

Clear exclusions are given: it does not change sequence steps, does not touch already-sent messages, and does nothing for a campaign with no queued messages such as a draft. That implicitly routes the agent elsewhere for step edits, but no alternative tool is named explicitly, so the agent must map the exclusion to a sibling itself.

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.