Skip to main content
Glama

Pause a campaign

pause_campaign
Idempotent

Pause a running campaign (same as the Pause button). Enrollments stay in place; nothing is sent from a paused campaign. Returns the campaign row; 409 unless the campaign is running.

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

Input Schema

NameRequiredDescriptionDefault
idYesCampaign id (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Adds real behavior beyond the annotations: enrollments are preserved, no messages are emitted while paused, the campaign row is returned, and a 409 is raised unless the campaign is running. Those are useful state and error details. It does not cover authorization requirements or reversibility timing, so it sits above baseline but not at the top.

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 compact clauses with no filler: the action, the side effects and preserved state, then the return and error condition. Front-loaded with the operation and tightly ordered.

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 single-parameter mutation with no output schema, it covers the essential unknowns: what stays untouched, what the response is, and the failure mode. Nothing an agent needs in order to call it correctly is missing.

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 the schema already documents it as a campaign UUID at 100% coverage. The description adds no format, sourcing, or lookup guidance for the id, so the schema carries the burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Pause a running campaign') and anchors it to a familiar UI action ('same as the Pause button'). It does not explicitly distinguish itself from siblings like resume_campaign or stop_campaign, but the verb is unambiguous enough that an agent can separate it from those without opening a schema.

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?

Gives a clear precondition — the campaign must be running, otherwise 409 — which is genuine when-to-use guidance. It stops short of naming the counterpart operations (resume/stop) or stating what to do when the campaign is not running beyond surfacing the error.

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.