Skip to main content
Glama

Retention Playbook

retention_playbook
Read-only

Generates a retention playbook from your segment, business model, and churn rate, with interventions and email drafts per churn reason; without reasons, returns a churn discovery kit.

Instructions

Helps you decide why customers leave and what to do about each reason: it takes your customer segment, business model and current churn rate, and returns a retention playbook with health signals, interventions and an email draft for each churn reason. If you do not know why customers leave, leave the churn reasons out and you get a churn discovery kit instead. Your current interventions and data signals are used when you give them. Read-only for business data. It needs no sign-in and stores no inputs or outputs. Hosted usage metadata is recorded. Missing required fields or invalid values return an error naming what to supply or correct. Use this instead of scale_paid_check when you need interventions and email drafts for supplied churn reasons.

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": {
      "customer_segment": "<customer_segment>",
      "business_model": "<business_model>",
      "current_churn_rate": "<current_churn_rate>"
    },
    "name": "retention_playbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNoOptional: Your product or company name, used in the title and the email drafts. Format is text. For example, "invoice review service".
industryNoOptional: your own company's sector, so the answer uses the usual buyers, measures and objections for what you sell. Leave it out and the tool reads the sector from your other inputs and names what it read. Format is text using one of the listed labels. For example, "logistics_tech".
your_sectorNoOptional: your company's own industry (not your customers'). When given, it decides the sector notes; when left out, the tool reads it from your words and stays neutral if they are unclear. Format is text using one of the listed labels. For example, "logistics_tech".
cs_team_sizeNoCS team capacity affects intervention strategy. Format is text using one of the listed labels. For example, "no_dedicated_cs".
churn_reasonsNoOptional: known churn reasons, comma-separated. If you do not know them, leave this blank and you get a churn discovery kit with a framework for finding the reasons. Format is text. For example, "implementation delays and unclear ownership".
business_modelYesBusiness model affects health score weighting. enterprise_contract is read further from your text when it names services, connectivity or investment. Format is text using one of the listed labels. For example, "saas_subscription".
customer_segmentYesCustomer segment to focus on. Format is text. For example, "manufacturers with 200 to 500 employees".
current_churn_rateYesCurrent churn rate (e.g., '5%' or '5% monthly'). Format is text.
current_interventionsNoOptional: What retention tactics you already do (listed and compared with the playbook). Format is text. For example, "schedule an exception review with the finance owner".
available_data_signalsNoWhat you can track (comma-separated). E.g., 'login frequency, support tickets, SLA attainment, QBR attendance'. Format is text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv2.2.25
    • addedInput schema / properties / available_data_signals
      Added value: +{
      +  "description": "What you can track (comma-separated). E.g., 'login frequency, support tickets, SLA attainment, QBR attendance'. Format is text.",
      +  "type": "string"
      +}
    • addedInput schema / properties / business_model
      Added value: +{
      +  "description": "Business model affects health score weighting. enterprise_contract is read further from your text when it names services, connectivity or investment. Format is text using one of the listed labels. For example, \"saas_subscription\".",
      +  "enum": [
      +    "saas_subscription",
      +    "usage_based",
      +    "marketplace",
      +    "transactional",
      +    "freemium",
      +    "enterprise_contract",
      +    "services_contract",
      +    "connectivity_contract",
      +    "investment_mandate"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / churn_reasons / description
      Previous value: -"Known primary churn factors"New value: +"Optional: known churn reasons, comma-separated. If you do not know them, leave this blank and you get a churn discovery kit with a framework for finding the reasons. Format is text. For example, \"implementation delays and unclear ownership\"."
    • addedInput schema / properties / cs_team_size
      Added value: +{
      +  "description": "CS team capacity affects intervention strategy. Format is text using one of the listed labels. For example, \"no_dedicated_cs\".",
      +  "enum": [
      +    "no_dedicated_cs",
      +    "small_1_3",
      +    "medium_4_10",
      +    "large_10_plus"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / current_churn_rate / description
      Previous value: -"Current churn rate and timeframe"New value: +"Current churn rate (e.g., '5%' or '5% monthly'). Format is text."
    • addedInput schema / properties / current_interventions
      Added value: +{
      +  "description": "Optional: What retention tactics you already do (listed and compared with the playbook). Format is text. For example, \"schedule an exception review with the finance owner\".",
      +  "type": "string"
      +}
    • removedInput schema / properties / customer_lifecycle
      Removed value: -{
      -  "description": "Typical journey stages",
      -  "type": "string"
      -}
    • changedInput schema / properties / customer_segment / description
      Previous value: -"Customer segment to focus on"New value: +"Customer segment to focus on. Format is text. For example, \"manufacturers with 200 to 500 employees\"."
    • addedInput schema / properties / industry
      Added value: +{
      +  "description": "Optional: your own company's sector, so the answer uses the usual buyers, measures and objections for what you sell. Leave it out and the tool reads the sector from your other inputs and names what it read. Format is text using one of the listed labels. For example, \"logistics_tech\".",
      +  "enum": [
      +    "logistics_tech",
      +    "fintech",
      +    "saas",
      +    "vertical_saas",
      +    "ai_native",
      +    "ites",
      +    "telecom",
      +    "software",
      +    "cybersecurity",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / product
      Added value: +{
      +  "description": "Optional: Your product or company name, used in the title and the email drafts. Format is text. For example, \"invoice review service\".",
      +  "type": "string"
      +}
    • removedInput schema / properties / resources
      Removed value: -{
      -  "description": "CS team size and tools",
      -  "type": "string"
      -}
    • addedInput schema / properties / your_sector
      Added value: +{
      +  "description": "Optional: your company's own industry (not your customers'). When given, it decides the sector notes; when left out, the tool reads it from your words and stays neutral if they are unclear. Format is text using one of the listed labels. For example, \"logistics_tech\".",
      +  "enum": [
      +    "logistics_tech",
      +    "fintech",
      +    "saas",
      +    "vertical_saas",
      +    "ai_native",
      +    "ites",
      +    "telecom",
      +    "software",
      +    "cybersecurity",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "customer_segment",
      -  "current_churn_rate",
      -  "churn_reasons"
      -]New value: +[
      +  "customer_segment",
      +  "business_model",
      +  "current_churn_rate"
      +]
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, yet the description adds real context beyond them: no sign-in, no storage of inputs or outputs, hosted usage metadata being recorded, and that missing or invalid fields return an error naming what to fix. That is meaningful operational and privacy disclosure for a hosted tool. It stops short of describing response shape or any rate limits, so it is strong but not exhaustive.

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 purpose and the churn-reasons branch are front-loaded, and the sibling routing sentence closes the paragraph usefully. A few clauses are redundant with each other ('Read-only for business data' followed by 'needs no sign-in and stores no inputs or outputs'), which is mild padding rather than confusion.

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 10 parameters, 3 required, and no output schema, the description compensates by enumerating what the playbook contains (health signals, interventions, email drafts) and by covering the two operating modes. Error behavior and data-handling notes round it out. Only return format specifics and per-parameter nuance are left thin.

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 100% and four parameters carry enums, so the schema already carries the semantics; the description mostly restates existing behavior (churn_reasons blank yields a discovery kit, current_interventions is compared against the playbook). It adds little syntax or format guidance beyond what the schema states, which is the baseline case.

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?

The description states a specific verb and resource ('returns a retention playbook with health signals, interventions and an email draft for each churn reason') and explicitly names the branch behavior (churn discovery kit when reasons are omitted). It also differentiates from a named sibling, scale_paid_check, so an agent can choose without opening either schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use routing ('Use this instead of scale_paid_check when you need interventions and email drafts for supplied churn reasons') and a clear conditional fallback: leave churn reasons out if unknown. Both the selection condition and the omission case are stated rather than inferred.

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