Skip to main content
Glama
setluca

SetLuca

Official
by setluca

Book a call with a lead

luca_book_call
Destructive

Book a call for a lead in Luca after checking slot availability; if the requested slot is taken, returns open slots instead. Pass confirm true to record the booking.

Instructions

Record a booked call for a lead in Luca. This does not create an event on the coach's calendar or send the lead an invite: book the call with the provider too, or have the lead book through the coach's booking link. Checks availability first, against the schedule of the booking type when bookingTypeId is given, and returns the open slots instead of booking when the requested one is taken. A call with an idempotencyKey skips that check so a retry gets the original result back. Booking moves the lead to booked and notifies the coach's webhook subscribers, so pass confirm: true only after the coach approves this exact slot. Example: call with { leadId, slotAt: "2026-07-14T15:00:00Z", confirm: true } after the lead agreed to a time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leadIdYesThe lead to book.
slotAtYesISO-8601 start time for the call, with an offset.
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.
providerNoThe coach's booking provider. Sent with the booking and used for the availability check. Pass it when the coach is not on Calendly, or the availability check reads the wrong calendar. Left off, the check reads Calendly and the API records the booking as manual.
workspaceIdNoOptional Luca workspace id override.
bookingTypeIdNoThe booking type to book under, from luca_bookings_types_list. Required when provider is google_calendar, and it must be an active google_calendar type.
workspaceSlugNoOptional Luca workspace slug override.
idempotencyKeyNoReuse the same key when retrying this exact booking. A keyed call skips the availability check and lets the API replay the first result.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
provenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

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 the pre-flight availability check, the fallback of returning open slots when the requested one is taken, the idempotencyKey exception that skips the check, and the downstream effects ('moves the lead to booked and notifies the coach's webhook subscribers'). That is exactly the side-effect detail destructiveHint=true and openWorldHint=true only gesture at.

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-loaded with the most decision-critical constraint (no calendar event, no invite), then availability semantics, then confirm gating, then a concrete example. Dense but every clause carries operational weight; the example at the end is the only mildly expendable part.

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, open-world mutation with 8 parameters and a real output schema, the description covers side effects, preconditions, failure behavior, retry semantics and confirmation. There is no gap an agent would need to guess at.

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 100%, so baseline is 3, but the description adds real meaning: why provider matters for the availability read, that bookingTypeId must be an active google_calendar type, and how idempotencyKey changes retry behavior. It stops short of restating leadId/slotAt formats, which is fine because the schema covers them.

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 ('Record a booked call for a lead in Luca') and immediately draws the boundary against what it is not: it does not create a calendar event or send an invite. An agent can distinguish it from bookkeeping siblings like luca_bookings_create without opening the schema.

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?

Explicitly states the precondition path ('book the call with the provider too, or have the lead book through the coach's booking link') and the confirm-gating rule ('pass confirm: true only after the coach approves this exact slot'). What is missing is any routing against the near-siblings luca_bookings_create, luca_bookings_availability and luca_reschedule_call, which an agent could easily confuse this with.

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