Skip to main content
Glama

delete_all_sequence_steps_tool

Destructive

DESTRUCTIVE: deletes ALL sequence steps from a campaign (clears its sequence) and permanently deletes their attachment files, which a duplicated campaign may still use. Refused once a campaign with a condition or A/B split has started. On a started campaign without them, contacts get no further steps, but messages already queued still go out, without those steps' attachments and, for emails, as replies in the contact's existing thread. Only call after the user has explicitly confirmed.

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": "delete_all_sequence_steps_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description goes far beyond them: it discloses that attachment files are permanently deleted, that files may still be used by a duplicated campaign, and that on a started campaign queued messages still send without those attachments and as replies in the existing thread. That is exactly the consequence-level detail an agent needs before an irreversible call.

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 DESTRUCTIVE warning and the operation are front-loaded, and every clause carries real information (refusal rule, queued-message behavior, thread behavior, confirmation gate). The middle sentence is long but dense with consequences rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, no-output-schema tool this is complete: safety profile, irreversibility, refusal condition, and downstream effects on already-queued messages are all covered. Nothing further is needed before an agent can decide to call or avoid it.

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 one parameter (campaignId) with 0% schema description coverage, and the description never mentions it or its format, so it does not compensate for the schema gap. The parameter is conventional enough that an agent can likely infer it, keeping this at minimum-viable rather than poor.

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?

States a specific verb and resource ('deletes ALL sequence steps from a campaign'), defines the scope precisely ('clears its sequence'), and the ALL/clears framing distinguishes it from the single-step sibling delete_sequence_step_tool. An agent can tell what it removes without opening any schema.

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?

Gives a clear precondition ('Only call after the user has explicitly confirmed') and a hard refusal case (campaigns with a condition or A/B split that have started). It does not name an alternative path, such as deleting individual steps or editing the sequence, so guidance on replacements is missing.

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.