Skip to main content
Glama

Pause a campaign

pause_campaign
Idempotent

Stop a running campaign. Nothing further sends until it is resumed. Replies still arrive. Reversible with resume_campaign.

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

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe campaign id from list_campaigns.

Output Schema

NameRequiredDescriptionDefault
linkYesLink to the campaign in the Pipefire console.
messageYesWhat happened, in one sentence.
campaignIdYesThe campaign id, for the other campaign tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "campaignId": {
      +      "description": "The campaign id, for the other campaign tools.",
      +      "type": "integer"
      +    },
      +    "link": {
      +      "description": "Link to the campaign in the Pipefire console.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "What happened, in one sentence.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "campaignId",
      +    "message",
      +    "link"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the concrete operational effect: sends stop, replies continue to arrive, and the action is reversible via resume_campaign. That is exactly the context an agent needs before a mutation; only missing pieces are any auth or timing caveats.

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 short sentences, each carrying distinct information: the action, the outbound effect, the inbound exception, and the reversal path. Nothing is redundant or buried.

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 single-parameter mutation with full schema coverage and an output schema, the definition covers intent, effect, and reversal adequately. Minor gaps remain around whether in-flight sends are halted and any permission requirements, but nothing critical for correct invocation is absent.

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?

With one parameter at 100% schema description coverage, the schema already documents campaign_id and its origin (list_campaigns). The description adds no format, validation, or sourcing detail beyond that, so the baseline 3 applies.

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?

"Stop a running campaign" names a specific verb and resource, and the follow-up sentences scope exactly what stopping means (no further sends, replies still arrive). This clearly separates it from resume_campaign and from read-only siblings like get_campaign.

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?

The description gives clear usage context (halt outbound sending) and explicitly routes the agent to the counterpart tool resume_campaign when the intent is the inverse. It does not state exclusions or preconditions (e.g., only for active campaigns), which keeps it short of a 5.

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.