Skip to main content
Glama
setluca

SetLuca

Official
by setluca

Replace a call summary

luca_call_events_summary_replace
Destructive

Replace an auto-generated call summary with the coach's exact wording and push the update to the CRM, revising the existing note when one is already present.

Instructions

Replace the generated summary with the coach's own wording and push it. A summary already in the CRM updates that same note.

Luca operation: PUT /api/call-events/{id}/summary Required scopes: call_events:write Required OAuth scope: luca:queue_ops; data sensitivity: full_content 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.

Input Schema

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
provenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior5/5

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

Even though annotations already declare destructiveHint=true and idempotentHint=false, the description adds substantial context: required scopes (call_events:write, luca:queue_ops), data sensitivity full_content, the Idempotency-Key requirement for safe retries, and the hard precondition that confirm: true is mandatory or the call is rejected. This goes well beyond the annotations.

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?

Purpose is front-loaded, then structured metadata (operation, scopes, idempotency, confirmation, workspace). Each line carries a requirement, though the destructive/confirm lines partly duplicate the annotations and the confirm schema description.

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?

An output schema exists so return values need not be explained, and the description covers auth, idempotency, confirmation, and workspace scoping. It does not clarify what happens to a prior generated summary downstream beyond the CRM note, leaving a minor gap for a destructive mutation.

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 67%, and the description mostly restates what the schema already documents for confirm, idempotencyKey, workspaceId, and workspaceSlug. It adds the practical framing of idempotency as 'safe retries' but gives no syntax guidance for the undocumented id/body parameters.

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 uses a specific verb+resource ('Replace the generated summary') and clarifies the effect ('push it', updates the same CRM note), so the agent can distinguish the action from luca_call_events_summary_generate. It stops short of explicitly naming that sibling as the alternative, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when to use it (to substitute the generated summary with the coach's wording) and notes the workspace-override path, but gives no explicit when-not or direct comparison to siblings like luca_call_events_summary_generate or luca_call_events_push_to_crm. Usage is inferable rather than stated.

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