Skip to main content
Glama
SetLuca

SetLuca

Official

Publish a campaign

luca_campaigns_publish
Destructive

Freeze a campaign draft as an immutable version and point new enrollments to it, making the campaign live after confirmation. Provider capability and workspace setup checks may block the action.

Instructions

Freeze the draft as a new immutable version and point new enrollments at it. Published versions never change. A live campaign reaches real leads through enrollments and through inbound DMs, comments, or story replies that match its trigger. Publish is blocked when the target provider cannot do something the campaign needs, so read the provider capabilities first. Before the coach presses Go live in the SetLuca app, this answers 409 workspace_not_live: say so and send them to finish setup there, rather than retrying.

Luca operation: POST /api/campaigns/{id}/publish 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: 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>"
    },
    "name": "luca_campaigns_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
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. First observedv0.4.0

TDQS

A4.1/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: immutability of published versions, real-world effects through enrollments and inbound DMs/comments/story replies, blocking due to provider capabilities, the required confirm: true flag, idempotency key usage, and required scopes. It also explains the 409 error meaning for setup completion. This is rich disclosure despite destructiveHint=true being already declared.

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 description front-loads the core action in the first sentence, then provides important operational details (immutability, real-world effects, blocking, 409 handling) in a logical order. It is fairly dense but every sentence contributes useful context; the metadata block (operation, scopes, idempotency, confirm) is slightly verbose but structured and relevant.

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?

Given the tool is destructive, open-world, and complex (publishing a campaign with real-world side effects), the description covers the key aspects: what publishing does, immutable versions, enrollment redirect, inbound triggers, provider capability prerequisites, error handling for 409, idempotency, confirm requirement, and scope needs. An output schema exists, so return values need not be explained. Nothing essential 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?

Schema description coverage is 80%, so the schema already documents each parameter. The description mentions confirm: true and idempotencyKey, but these are already explained in the schema. It adds no new parameter-level meaning such as format or interaction between workspaceId/workspaceSlug. Baseline 3 is appropriate when schema coverage is this high.

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?

The description states a specific verb+resource: 'Freeze the draft as a new immutable version and point new enrollments at it.' This clearly describes what publishing does, including the immutable versioning and enrollment redirect. It does not explicitly distinguish this from sibling tools like set_status, but the action itself is unambiguous.

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?

The description provides a clear prerequisite: 'read the provider capabilities first' and explains how to handle the 409 workspace_not_live error by sending the coach to the SetLuca app. It also implies that publishing is blocked when provider capabilities are lacking. However, it does not contrast with alternatives like set_status, leaving some ambiguity about when to choose this tool over others in the set.

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