Skip to main content
Glama

delete_campaign

DestructiveIdempotent

Delete a campaign. IRREVERSIBLE — cascades to its pipeline stages, target/lead memberships, documents, scripts and other campaign-scoped rows (leads/contacts/accounts themselves are NOT deleted). Refuses if the campaign still has target members unless force=true. Reassign the ingest default_campaign_id first if this is the Beeper default.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "delete_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoDelete even if the campaign has target members.
campaign_idYesID of the campaign to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / campaign_id / description
      Added value: +"ID of the campaign to delete"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes well beyond by enumerating exactly what is cascaded (stages, memberships, documents, scripts, campaign-scoped rows) and what is preserved (leads/contacts/accounts). The refusal condition and force override are behavior an agent can only learn here.

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?

Four compact sentences, front-loaded with the action and the irreversibility warning, then constraints, then the prerequisite. No filler or repeated information.

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 destructive two-parameter tool with full schema coverage and strong annotations, nothing essential is missing; output schema absence is minor since a successful delete returns little. Only edge cases like partial-failure behavior remain unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters; the description nonetheless ties force to the specific refusal rule it overrides, which is meaning beyond the schema's "Delete even if the campaign has target members." campaign_id gains no new semantics beyond the cascade warning.

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?

States a specific verb and resource ("Delete a campaign") and immediately scopes the blast radius to pipeline stages, memberships, documents and scripts. It does not explicitly distinguish itself from sibling deletes like delete_brevo_email_campaign, leaving the agent to infer this is the internal campaign object.

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 concrete precondition for invocation (refuses when target members exist unless force=true) and a prerequisite action to perform first (reassign ingest default_campaign_id if this is the Beeper default). No explicit named alternative tool, but the when-to-use conditions are clear.

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.