Skip to main content
Glama

predict_churn

Read-only

Identify which customers are about to leave and why. Returns churn risk scores with behavioral drivers and retention interventions. RETAIN. 20 credits (€0.20 per call).

Input Schema

NameRequiredDescriptionDefault
contextNo
session_idNo
user_behaviorYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this as a safe read-only operation with destructiveHint=false and openWorldHint=false. The description adds useful context by stating the return content and the per-call cost of 20 credits, but it does not mention authentication, rate limits, or data freshness. With annotations covering the safety profile, this is adequate but not rich.

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 description is short and front-loaded, with purpose first and return/cost details after. "RETAIN." is an unexplained fragment that slightly reduces clarity. Overall it is efficient and free of redundant text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description need not fully document return values, though it still summarizes them. For a three-parameter tool with zero schema description coverage, the definition should say more about how to supply user_behavior and what context/session_id are for. It covers safety indirectly through annotations and mentions cost, but input expectations remain unclear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the input schema provides only parameter names and titles. The description does not explain user_behavior, context, or session_id, nor does it indicate expected formats. The churn-prediction purpose somewhat implies what user_behavior might mean, but no parameter-specific guidance is provided.

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: identify customers about to leave and explain why. It also summarizes the output as churn risk scores with behavioral drivers and retention interventions. It does not explicitly differentiate this from sibling tools such as diagnose_dropoff, so it falls short of a 5.

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

Usage Guidelines2/5

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

The description gives no explicit guidance on when to use this tool versus alternatives. "RETAIN" appears to be a category label but does not explain usage conditions, prerequisites, or exclusions. An agent can infer it is for churn prediction, but must guess the appropriate context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources