Skip to main content
Glama

campaigns_unarchive

Moves the campaign back to state=10 PAUSED. Never straight to active: archiving cancelled its queue and reset its leads, so resuming has to be a deliberate campaigns_activate after you have looked at it.

Returns 409 if the sequence or segment was deleted while the campaign sat in the archive — that campaign is history now, and the way forward is a new one.

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

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_unarchive"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the post-condition state, the reason resuming is not one-step (archive cancelled the queue and reset leads), and the 409 semantics. It stops short of permissions/auth requirements, idempotency, or what happens when the campaign is already unarchived.

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 outcome, then the reasoning and the error case, then the endpoint. Tight, though the trailing 'Method: POST ...' line is largely logistics rather than guidance.

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 one-parameter state-change tool with no annotations and no output schema, it covers the resulting state, the sibling to call next, and the principal failure mode. Only auth requirements and idempotency behavior are absent, which are minor for this scope.

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 0% and there is one required `sqid`, but the endpoint line `{workspace_sqid}/campaigns/{sqid}/unarchive/` supplies the missing meaning: `sqid` identifies the campaign and workspace scoping is implicit. That is real added context, though formats/validation for `sqid` remain undocumented.

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 (moves) and resource (the campaign) plus the exact resulting state `state=10 PAUSED`. It is immediately distinguishable from `campaigns_activate`, which it names as the separate step.

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?

Explicitly says this must never go straight to active and names `campaigns_activate` as the follow-up the agent should call deliberately. It also gives the failure condition (409 when sequence/segment was deleted) and the prescribed way forward (create a new campaign).

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.