Skip to main content
Glama
SetLuca

SetLuca

Official

Check a CRM connection's health

luca_integrations_crm_connections_health

Checks a CRM connection's stored credentials and scopes, records the result, and refreshes an expired token when possible; does not detect provider outages.

Instructions

Check a CRM connection's stored credentials and scopes and record the result. An expired token may be refreshed with the CRM; a provider outage is not detected.

Luca operation: POST /api/integrations/crm/connections/{id}/health Required scopes: integrations:write Required OAuth scope: luca:full; data sensitivity: redacted Requires Idempotency-Key. Provide idempotencyKey for safe retries, or the server will generate one. 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>"
    },
    "name": "luca_integrations_crm_connections_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
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. First observedv0.4.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond annotations it discloses the important behavior: the call records a result (a mutation), it may refresh an expired token against the CRM, and it cannot detect provider outages — none of which the annotations convey. It also surfaces auth requirements (integrations:write, luca:full, redacted sensitivity) and the idempotency-key requirement, which is more than the annotations provide.

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 behavioral caveat is front-loaded in the first sentence, and the remaining lines are scannable metadata. Some lines (endpoint path, scope list) are boilerplate, but they earn their place by removing ambiguity about auth and transport.

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?

With an output schema present, the description need not describe return values, and it covers the non-obvious parts an agent needs: the write side effect, token refresh, the outage blind spot, scopes, and idempotency. The only gap is failure semantics — what a 'recorded result' looks like when credentials are invalid.

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 75%, so the schema already documents most parameters. The description adds genuine meaning for the two override params and idempotencyKey — that workspaceId/workspaceSlug exist to override the environment-default workspace and that the server generates a key if omitted — but does not explain what the {id} path value must refer to or how it is obtained.

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 states a specific verb and resource ("Check a CRM connection's stored credentials and scopes") and adds a consequential detail — that the check is recorded, making it a write despite the diagnostic framing. It distinguishes itself from the sync-health sibling by scope (credentials/scopes rather than sync state), though it never names that sibling explicitly.

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 sets a boundary on what the check can conclude ("a provider outage is not detected") and notes that an expired token may be refreshed as a side effect, which shapes when an agent should reach for it. However, there is no explicit guidance on when to use this versus luca_analytics_crm_sync_health or the list/create siblings, so the routing is left 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