Skip to main content
Glama

Delete a step

delete_campaign_step
DestructiveIdempotent

Use this when the user wants one step removed from a campaign's sequence. It cannot be restored. Free.

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>",
      "stepId": "<stepId>"
    },
    "name": "delete_campaign_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepIdYesThe step's id, as the campaign's steps list gives it.
campaignIdYesThe campaign's id.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description earns credit for adding that the removal is irreversible ('It cannot be restored') and that the call is 'Free' — cost information not present in structured fields. It stops short of stating permission requirements or whether deleting a step from a running campaign is allowed.

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?

Three short sentences with the usage trigger front-loaded and no filler. The telegraphic fragments ('It cannot be restored. Free.') are efficient, though 'Free' is terse enough to be slightly ambiguous about what it refers to.

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

Completeness3/5

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

For a destructive mutation with no output schema, the description covers irreversibility and cost, which are the key agent-facing risks. It omits side effects on campaign queue/leads referencing the step and any state preconditions, leaving moderate gaps.

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 100% and both required params (campaignId, stepId) are documented in the schema, including format constraints. The description adds no further meaning about the identifiers, which is acceptable at this coverage level but not additive.

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 states a concrete verb and resource: removing one step from a campaign's sequence. That wording distinguishes it from delete_campaign (the whole campaign) without naming it. It is clear, though it does not explicitly route to 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?

'Use this when the user wants one step removed from a campaign's sequence' gives an explicit trigger condition for invocation. There is no when-not guidance (e.g. deleting the whole campaign, or whether a launched campaign's steps can be removed), so the guidance is clear but not exclusionary.

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.

Resources