Skip to main content
Glama
setluca

SetLuca

Official
by setluca

Read a lead's score

luca_analytics_lead_score
Read-onlyIdempotent

Predict a lead's booking likelihood from a coach's trained model with a 0-100 score, confidence tier, and top contributing features; returns null score with low confidence when data is insufficient.

Instructions

Predictive booking-likelihood score (0-100) for one lead from the coach's trained bucket-rate model, with a confidence tier and the top contributing features. Honest about insufficient data: an under-trained model returns a null score and low confidence instead of a fabricated number.

Luca operation: GET /api/analytics/lead-score/{leadId} Required scopes: analytics:read Required OAuth scope: luca:read; data sensitivity: redacted Does not require idempotency. Use workspaceId or workspaceSlug to override the default workspace configured by environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leadIdYes
workspaceIdNoOptional Luca workspace id override.
workspaceSlugNoOptional Luca workspace slug override.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld=false, but the description adds material behavioral context beyond them: the model admits insufficient data by returning a null score and low confidence rather than fabricating a value, notes data sensitivity 'redacted', and lists required scopes. This exceeds what the structured fields 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?

The core value proposition is front-loaded in the first sentence, and the operational block (endpoint, scopes, idempotency, workspace override) is compact. The 'Does not require idempotency' line is somewhat redundant with idempotentHint=true, a minor waste.

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 structure needn't be explained, and the description covers scopes, workspace overriding, and the null/low-confidence edge case. It is essentially complete for a single-lead read; only explicit alternative-tool guidance 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 coverage is 67%; workspaceId and workspaceSlug are already documented in the schema, and the description only restates their override role. leadId is required but has no textual meaning in either place, so the description does not fully compensate for the gap. Baseline 3 is appropriate.

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?

States a specific verb+resource: a predictive booking-likelihood score (0-100) for one lead, derived from a trained bucket-rate model, plus its return components (confidence tier, top features). This is highly distinctive; no sibling analytics or leads tool returns a per-lead model score, so an agent can identify it immediately.

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 gives usage context for the workspace override ('Use workspaceId or workspaceSlug to override the default workspace configured by environment'), which is helpful. However, it never states when to use this tool versus adjacent options such as luca_leads_explain or the other analytics tools, leaving that to inference.

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