Skip to main content
Glama

Resume a paused campaign

flow_resume_campaign
Destructive

Resumes a paused campaign (ids from flow_list_campaigns): the contacts it has not reached yet are sent to, charged, at its stored pacing, as the portal's Resume does. Refused, as in the portal, when the balance covers none of the cost to finish or cannot be checked; an A/B test is resumed in the portal. Always two calls. The first, without confirmation, changes nothing: it answers a summary (campaign, brand, contacts reached, estimated cost and balance, send time in the user's time zone, pacing) and a confirmation. Show the user every line and ask; only after they say yes, call again with that confirmation, within 15 minutes. If anything in the summary changed in between, nothing happens and a new summary comes back to confirm. Only on a connection approved to send. The answer gives the campaign's status and 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_resume_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.
confirmationNoLeave out on the first call. After the user confirmed the summary that call answered, the confirmation it gave

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description adds substantial context beyond them: the mandatory confirm-then-commit flow, the 15-minute confirmation window, the fact that real sends and charges occur, and the stale-summary abort path. It does not detail failure/error shapes or the exact summary fields' formats, so it is not exhaustive.

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?

The critical constraint (two calls, nothing changes on the first) is front-loaded and every sentence carries operational weight, but the prose is dense and some phrasing ('Refused, as in the portal,' 'charged, at its stored pacing') is awkward enough to slow parsing.

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?

With no output schema, the description compensates by describing both the first-call summary contents (campaign, brand, contacts reached, cost, balance, send time, pacing) and the final answer (status and link). For a destructive, open-world two-step operation, that is enough for an agent to use it safely.

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 67% and the schema explains brandId and confirmation, so the baseline is met; the description still adds meaning by explaining the two-call contract for the confirmation token (omit first, echo second) and the 15-minute validity, which the schema does not state. The id parameter's origin is only implied via flow_list_campaigns.

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 ('Resumes a paused campaign') and immediately clarifies the scope: sends to contacts not yet reached, charged, at stored pacing. It also points at flow_list_campaigns for ids, which separates it from sibling mutation tools like flow_pause_campaign.

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?

Gives explicit when-to-use and when-not-to-use guidance: refused when balance covers none of the cost or cannot be checked, A/B tests must be resumed in the portal instead, and it works only on a connection approved to send. It also prescribes the exact two-call procedure rather than leaving the agent to infer it.

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