Skip to main content
Glama

Delete an email step

delete_step
Destructive

Remove a step from a draft or paused campaign; later steps move up one position (and take over the ids by position, so call list_steps again before further edits). The last remaining step cannot be deleted.

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": {
      "id": "<id>",
      "step_id": "<step_id>"
    },
    "name": "delete_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).
step_idYesStep id from list_steps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=false, but the description adds the non-obvious consequence that later steps shift up and step ids are reassigned by position, which is critical for any subsequent call. It also discloses the hard failure case (last step cannot be deleted), which annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the core action and its side effect front-loaded and the constraint placed last as a guard. Every clause carries operational information.

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 two-parameter destructive mutation with no output schema, the description covers preconditions, side effects, id instability, and the failure case. Nothing an agent needs in order to call it safely and correctly is missing.

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 100%, so both id and step_id are already documented, and the description adds only the pointer that step_id comes from list_steps. That is a marginal gain over the schema, so the baseline of 3 is appropriate.

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 ('Remove a step') plus the scope restriction ('from a draft or paused campaign'), which distinguishes it from delete_campaign, update_step, and other delete_* siblings. An agent can identify the operation without opening the 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 clear preconditions (campaign must be draft or paused) and an explicit when-not case (the last remaining step cannot be deleted), plus a follow-up instruction to re-call list_steps before further edits. It stops short of naming a sibling alternative, but the usage envelope is well defined.

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.