Skip to main content
Glama

Pause a campaign

flow_pause_campaign

Pauses a campaign that is sending (ids from flow_list_campaigns): batches not yet sent wait until it is resumed in the portal, or with flow_resume_campaign on a connection approved to send. Messages already handed to the network still arrive, and a step still preparing its recipients is not paused; the answer gives the status read back and the campaign's link.

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

Input Schema

NameRequiredDescriptionDefault
idYes
brandIdNoThe id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the mutation flags; the description adds real behavior an agent could not infer: already-dispatched messages still arrive, a step still preparing recipients is not paused, and the response returns the read-back status plus a campaign link. This prevents false assumptions that pause halts everything immediately.

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?

Front-loaded with the action and resource, and every clause (resume path, in-flight messages, non-paused preparing step, return value) carries information. It is dense and semicolon-chained, which slightly hurts scanability but not comprehension.

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?

Covers all an agent needs for a mutation tool with no output schema: id provenance, the resumable/partial-pause semantics, the brand-approval caveat mirrored from the schema, and what the response contains. Nothing material is missing.

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 only 50%, and the required 'id' has no schema description—the description compensates by telling the agent where those ids come from (flow_list_campaigns). brandId semantics come from the schema itself, so the description fills the main gap without redundant restatement.

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?

Names a specific verb and resource ('Pauses a campaign that is sending') plus the precondition and the source of ids (flow_list_campaigns). It implicitly separates itself from terminal siblings like archive/cancel by saying unsent batches wait and can be resumed, so an agent can pick it without opening other schemas.

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 clear context: use on a campaign that is actively sending, get ids from flow_list_campaigns, and resume via the portal or flow_resume_campaign on an approved connection. It stops short of explicitly contrasting pause with flow_cancel_campaign or flow_archive_campaign, so the alternative-selection guidance is incomplete.

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