Skip to main content
Glama

Storiez

Delete campaign

delete-campaign
Destructive

Deletes a campaign, the calendar items it created and their posts. Irreversible. Two steps: the first call deletes nothing and returns needsConfirmation, a summary, and a confirmToken valid for 5 minutes; a second call with that confirmToken deletes.

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>"
    },
    "name": "delete-campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe campaign ID to delete
confirmTokenNoToken from the first call of this delete. Omitted: nothing is deleted and a summary plus token is returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this destructive, but the description adds substantial behavior the annotations cannot convey: cascading deletion of calendar items and posts, non-reversibility, a no-op first call, and a confirmToken that expires in 5 minutes. These are exactly the details an agent needs to avoid an accidental commit.

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?

Three tight sentences, front-loaded with the irreversible cascade before the safety protocol. No filler, no restated title, and 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 destructive, cascading mutation with no output schema, this covers consequence (what is destroyed), reversibility, the two-phase confirmation mechanic, and the first call's return shape — nothing critical is left to inference.

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 beyond the schema by explaining that omitting confirmToken causes nothing to be deleted and yields a summary plus token, and by bounding the token's lifetime to 5 minutes.

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?

The description gives a specific verb plus resource ('Deletes a campaign') and immediately scopes the blast radius to the calendar items it created and their posts, which cleanly separates it from delete-post or delete-content-event in the sibling list.

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?

It makes the invocation protocol explicit: two steps, the first call is a dry run, the second with a confirmToken performs the delete. It flags irreversibility but never names an alternative course of action (e.g. adjust-campaign or undo-campaign-adjust) or a condition under which deletion should be avoided.

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