Skip to main content
Glama
setluca

SetLuca

Official
by setluca

Resolve a booking's lifecycle flag

luca_bookings_lifecycle_resolution
Destructive

Resolve a booking whose record disagrees with the provider by retrying the sync, dismissing a duplicate, or keeping Luca's version. Use it to clear conflicts in the review queue.

Instructions

Settle one booking whose record disagrees with the provider's: retry the sync, dismiss the duplicate, or keep Luca's version.

Luca operation: POST /api/bookings/{id}/lifecycle-resolution Required scopes: bookings: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.7/5.0
Behavior4/5

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

Adds real context beyond the annotations: required scope bookings:write, luca:queue_ops OAuth scope, full_content sensitivity, the Idempotency-Key requirement, and the mandatory confirm:true gate. These are operationally important disclosures the annotations alone (readOnly=false, destructive=true, idempotent=false) do not convey. It does not describe reversibility or what state changes actually occur.

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 intent sentence is front-loaded and the remaining operational requirements are broken into short, scannable lines. The API path and scope/sensitivity metadata are somewhat boilerplate-heavy but still earn their place for a write operation.

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 no explanation. For a destructive booking mutation with annotations, the description covers auth, idempotency, confirmation and workspace scoping, leaving only the precise body-shape semantics under-specified.

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%, so the schema already documents confirm, idempotencyKey and the workspace overrides, which the description largely restates. The core `body` parameter (status/action/reason enums) has no schema description, and the description's three-option phrasing only loosely maps to it, so it does not compensate for that gap.

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?

States a specific verb+resource ("Settle one booking whose record disagrees with the provider's") and enumerates three resolution outcomes, which distinguishes it from generic siblings like luca_bookings_update and luca_bookings_provider_sync_retry. However, the listed options ("retry the sync, dismiss the duplicate, keep Luca's version") map imperfectly onto the schema's actual enums (action=dismiss_duplicate, status=confirmed/cancelled/completed/no_show), so the naming of the alternatives is slightly imprecise.

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?

Gives an implied trigger condition (a booking whose record disagrees with the provider's) but never names a competing tool or says when NOT to use this one, even though luca_bookings_provider_sync_retry and luca_bookings_update are obvious neighbors. Usage is inferable but not routed.

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