Skip to main content
Glama

Stop a campaign for good

stop_campaign
DestructiveIdempotent

End a running or paused campaign: every active enrollment stops and the campaign becomes completed. This cannot be undone (use pause_campaign for a temporary stop). Drafts are deleted with delete_campaign instead.

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": "stop_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructive=true, idempotent=true, and readOnly=false, and the description adds real context beyond them: active enrollments stop, the terminal state is 'completed', and the action cannot be undone. It doesn't cover permissions or whether in-flight sends are affected, so not a full 5.

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, each earning its place: effect, irreversibility, and the two alternative tools. Slightly dense with parenthetical routing, but front-loaded and waste-free.

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?

Single-parameter, non-read-only tool with no output schema; the description plus annotations give enough to call it correctly and understand consequences. It leaves open the exact response payload and any precondition errors, a minor gap.

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?

Only one parameter (id) and schema description coverage is 100%, so the schema already documents it as a campaign uuid. The description adds nothing about the identifier format or source, which is acceptable at this coverage level.

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 plus the exact effect: 'every active enrollment stops and the campaign becomes completed.' It also differentiates from both relevant siblings by name (pause_campaign for temporary stops, delete_campaign for drafts).

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?

Explicitly scopes usage to running or paused campaigns, names the alternative for temporary stops, and redirects draft deletion to delete_campaign. An agent can pick the right tool without opening any schema.

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.