Skip to main content
Glama

Excluir campanha

delete_outreach_campaign
DestructiveIdempotent

Deletes ONE campaign for good: its people, every message sent and the replies go with it; it cannot be undone. The first call (confirmed false or absent) changes nothing and returns what would be deleted (people, messages sent, replies) and the signals that feed it (each is paused unless another campaign reads it); the call with confirmed true deletes. Archiving a campaign instead keeps its history. Free. Only a workspace owner or admin can delete, never with an API key.

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_outreach_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNotrue deletes; false or absent returns what would be deleted and changes nothing.
campaignIdYesExact campaign UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it enumerates destroyed data, states irreversibility, describes the non-destructive dry-run behavior and what the preview returns, and discloses a side effect on signals (each paused unless another campaign reads it). Permission and cost constraints are also spelled out.

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 verb and scope, then the preview/execute protocol, then the archive alternative. Nearly every clause carries information, though the semicolon-chained single paragraph is dense and would read faster split into a short list.

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?

No output schema exists, and the description compensates by describing exactly what the preview call returns and what the delete call destroys. Permissions, cost, irreversibility, and the safe alternative are all covered; an agent has everything needed to call this correctly.

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 baseline is 3, but the description adds meaning the schema does not: it explains that the unconfirmed call returns the deletion inventory and signal impact, not just that it "changes nothing." That makes the confirmed flag's trade-off concrete.

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 with explicit scope: "Deletes ONE campaign for good," plus what the campaign consists of (people, messages sent, replies). An agent can distinguish it from delete_outreach_template and update_outreach_campaign_status without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-not-to-use path ("Archiving a campaign instead keeps its history") and prescribes the two-step protocol: first call without confirmation previews, second with confirmed=true deletes. It also names the prerequisite actor (workspace owner/admin) and the excluded auth method (no API key).

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.