Skip to main content
Glama
SetLuca

SetLuca

Official

Pause or resume a campaign

luca_campaigns_set_status
Destructive

Pause or resume a SetLuca campaign by updating its status; invalid transitions are rejected, and resuming a published campaign requires confirmation to send messages.

Instructions

Pause or resume a campaign. Archiving is only available in the SetLuca app, so a connected assistant gets 403 for it. A transition that does not make sense for the campaign's current state is rejected rather than forced through. Before the coach presses Go live in the SetLuca app, resuming to published answers 409 workspace_not_live; pausing still works.

Luca operation: POST /api/campaigns/{id}/status Required scopes: campaigns:write Required OAuth scope: luca:queue_ops; data sensitivity: redacted Requires Idempotency-Key. Provide idempotencyKey for safe retries, or the server will generate one. Destructive when status is published (resuming sends): has a real-world side effect. You must pass confirm: true; the call is rejected without it. Use workspaceId or workspaceSlug to override the default workspace configured by environment.

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>",
      "body": "<body>"
    },
    "name": "luca_campaigns_set_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
bodyYes
confirmNoThis tool has a real-world side effect: it messages real leads, books, moves, or cancels a call, changes a lead's consent, imports leads, writes to a connected calendar or CRM, sends workspace events to an outside URL, or re-triggers downstream automations. Pass confirm: true to proceed; the call is rejected without it.
workspaceIdNoOptional Luca workspace id override.
workspaceSlugNoOptional Luca workspace slug override.
idempotencyKeyNoStable key for safe retries. If omitted, the MCP server generates a unique key for this call.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • addedOutput schema / properties / result / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "object"
      +  },
      +  {
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.4.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint, openWorldHint and non-idempotence, and the description adds substantive context on top: the 403 archiving restriction, the 409 workspace_not_live condition, transition validation behavior, mandatory confirm:true, the Idempotency-Key requirement, and required scopes. Nothing here contradicts the annotation profile; the confirm gate is consistent with destructiveHint=true.

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 core behavior is front-loaded in the first three sentences, with operational metadata grouped afterwards in labeled lines. It is somewhat boilerplate-heavy (scope and sensitivity lines, plus the confirm requirement echoed in both prose and the schema), but every block carries usable information.

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 destructive, six-parameter nested-body mutation with an output schema, the description covers the safety gate, retry semantics, workspace scoping, and the two named error conditions. Nothing an agent needs in order to invoke it correctly 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 67%, and the description compensates by explaining what each status value does in practice (archived rejected, published destructive, paused harmless), the mandatory confirm flag, the idempotencyKey retry semantics, and the workspace override parameters. The only gap is that it does not restate which parameter carries the status value.

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?

"Pause or resume a campaign" gives a specific verb pair and resource, and the archiving caveat sharpens the boundary of what this tool actually does. It stops short of naming a sibling such as luca_campaigns_publish, so the agent must infer the split between this status call and a dedicated publish call.

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?

The description states concrete when-to-use conditions: archiving is unavailable (403), nonsensical state transitions are rejected, and resuming to published fails with 409 workspace_not_live before the workspace is live while pausing still works. That is exactly the decision-relevant context an agent needs, including the failure modes of the alternative action.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools