Skip to main content
Glama
SetLuca

SetLuca

Official

Turn auto-send on or off for a channel

luca_channels_set_ai_dm_auto_send
Destructive

Turn Luca's DM auto-send on or off for one channel account: disable it to queue drafts for review, or enable it to let safety-checked drafts send once the workspace switch and Go live are active.

Instructions

Turn Luca's DM auto-send on or off for one channel account. Off puts every Luca draft on that account in the review queue. On lets drafts that pass Luca's safety checks send without review while the workspace switch is also on; this tool leaves that switch as it was. Nothing sends without review until the coach presses Go live in the SetLuca app, so before then the switch is saved but has no effect. Campaign sends follow their own policy. WhatsApp and disconnected accounts answer 404.

Luca operation: PATCH /api/channels/{id}/auto-send Required scopes: channels:write Required OAuth scope: luca:full; data sensitivity: redacted Requires Idempotency-Key. Provide idempotencyKey for safe retries, or the server will generate one. Destructive when enabled is true (lets Luca's replies reach leads without review): 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_channels_set_ai_dm_auto_send"
  }
}

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. Addedv0.4.1

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that the setting has no effect until the coach presses 'Go live,' that this tool deliberately leaves the workspace-level switch untouched, that confirm: true is mandatory or the call is rejected, that an Idempotency-Key is required and auto-generated if omitted, and the scopes/redaction level. That is exactly the preconditions-and-side-effects detail the destructiveHint/openWorldHint annotations cannot convey.

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-loads the behavioral effect, then layers in gating, scopes, idempotency, and the confirm requirement in short labeled lines that are easy to scan. It is long but nearly every line carries a distinct constraint; the confirm sentence is slightly redundant with the schema's confirm description.

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 6-parameter mutation with a nested body, an output schema, and strong annotations, nothing an agent needs is missing: effect semantics, precedence with the workspace switch, activation gating, error cases, required scope, and retry/confirmation mechanics are all covered.

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?

With 67% schema coverage, the description adds real meaning: it explains what enabled=true/false actually does downstream, restates the confirm gate as a hard requirement, and clarifies that workspaceId/workspaceSlug only override the environment default. The idempotencyKey explanation largely duplicates the schema text, so it is not a 5.

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 with scope: 'Turn Luca's DM auto-send on or off for one channel account.' It also bounds the effect precisely (review queue vs. auto-send after safety checks) and separates it from campaign sends, which 'follow their own policy,' so an agent can distinguish it from approve/send and campaign-status siblings.

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 operational context on when each state applies: off puts every draft in the review queue, on only sends drafts passing safety checks and only when the workspace switch is also on. It also states concrete when-not conditions (WhatsApp and disconnected accounts return 404; campaign sends are out of scope). No alternative tool is named as a replacement, so it stops short of a 5.

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