Skip to main content
Glama

delete_sequence_step_tool

Destructive

DESTRUCTIVE: deletes a single sequence step by its id. Deleting a condition step (an A/B split included) also deletes both of its lanes (a split's two arms) and every step in them. The deleted steps' attachment files are permanently deleted too, also for any other campaign whose steps use them: a copy made with duplicate_campaign_tool shares its original's files, so they are deleted for both the copy and the original. That other campaign's steps still list the deleted files, and its messages for those steps, queued or later, then fail to send. It also works on a running campaign whose sequence has no condition step (once a campaign has started, a sequence with a condition cannot lose any step): messages of this step that are already queued still go out, without its attachments and, for emails, as replies in the contact's existing thread; contacts waiting on this step's manual task (calls excepted) skip it, and their next step is written and queued. Writing that next step costs 10 credits when it is AI-written or AI-personalized, and if credits or a usable sender account are missing the campaign is paused instead, with an in-app notice (and a Slack message if Slack is connected). Only call after the user has explicitly confirmed removing that step.

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": {
      "sequenceStepId": "<sequenceStepId>"
    },
    "name": "delete_sequence_step_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequenceStepIdYes

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 and openWorldHint=true, yet the description adds substantial context beyond them: condition-step deletion cascades to both lanes and all nested steps, attachment files are purged globally including copies made via duplicate_campaign_tool, and other campaigns' steps will list dead files and fail to send. It also discloses the running-campaign semantics (queued messages still send without attachments, as thread replies for emails, manual-task contacts skip ahead), the 10-credit cost of writing the next step, and the pause-plus-notice fallback when credits or a sender account are missing.

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?

Front-loaded with the destructive warning and the core action, then the cascade details, then the running-campaign edge cases, then the confirmation requirement — a sensible order. Some sentences are long and clause-stacked (the running-campaign sentence in particular), but every clause carries operational meaning 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, open-world mutation with one parameter and no output schema, the description covers the cascade surface, cross-campaign side effects, queued-message behavior, credit cost, and failure/pause path. An agent has enough to decide whether to call it and to warn the user accurately.

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 coverage is 0% for the single sequenceStepId parameter, so the description must compensate; it only says the step is identified 'by its id' without format or a source for obtaining the id. The baseline for a one-parameter tool keeps this at 3, but the value added over the bare schema is thin.

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 a single sequence step') and pins the scope to one step, which implicitly separates it from delete_all_sequence_steps_tool. The 'DESTRUCTIVE' prefix and the id-based targeting make the operation 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?

Gives a hard precondition ('Only call after the user has explicitly confirmed removing that step') and a clear applicability boundary (works on a running campaign only when the sequence has no condition step, since a started sequence with a condition cannot lose a step). It does not name sibling alternatives such as delete_all_sequence_steps_tool, so it stops short of full routing guidance.

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.