Skip to main content
Glama

campaigns_cancel

Cancels every pending and scheduled message for this campaign, resets its live leads, and moves it to state=30 CANCELLED. Already-sent messages are preserved; in-progress sends finish. Irreversible — to resume, you'd need to create a new campaign. Prefer campaigns_pause if you just want a temporary halt, or campaigns_archive if you also want it out of the campaign list (archiving cancels first).

Method: POST /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/cancel/

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": {
      "sqid": "<sqid>"
    },
    "name": "campaigns_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does substantial work: it discloses what is destroyed (pending and scheduled messages), what survives (already-sent messages), that in-progress sends complete, and that the action is irreversible. It stops short of stating auth requirements, whether a partially-completed cancel can fail midway, or what the call returns, which keeps it from the top of the scale.

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?

Two tight sentences front-load the destructive effects and the irreversibility warning, then hand off to alternatives. The trailing 'Method: POST /api/v1/...' line is largely reconstructible from the tool name and adds the least value of any element.

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 one-parameter mutation with no annotations and no output schema, the definition covers consequences, reversibility, and sibling routing well. The only real gap is the unexplained `sqid` parameter and the absence of any note on failure or partial-completion behavior.

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?

There is a single required parameter, `sqid`, and schema description coverage is 0%, so the schema contributes nothing about it; the description only implies its meaning via the endpoint path (`campaigns/{sqid}/cancel/`). With one obvious identifier parameter and the method line supplying the path context, this is adequate but not fully compensatory.

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 names a specific verb and resource ('Cancels every pending and scheduled message for this campaign') and states the resulting state change (`state=30 CANCELLED`), which separates it cleanly from state-only siblings like campaigns_pause and campaigns_archive.

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?

It explicitly routes the agent to alternatives with the conditions that select them: campaigns_pause for a temporary halt, campaigns_archive when the campaign should also leave the list, plus the note that archiving cancels first. That is about as complete a when-to-use/which-alternative block as a definition can carry.

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.