Skip to main content
Glama

Subscription churn and retention

subscription_health
Read-only

Subscriber churn, revenue churn, net revenue retention, average lifetime and expected lifetime value per subscriber, with active subscribers and MRR. The averages are monthly, over the full months in the window. Also a month-by-month series: paying subscribers on the 1st, cancellations, the MRR they took, and who ended them (the buyer's cancel link, a card that failed every retry, or other, like a refund or the seller). To answer why churn moved, compare the months and their reasons. Payment plans aren't counted here; see revenue_forecast.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "subscription_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoHow many calendar months back, 1-24, the current one included. Default 6.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productNoOptional: one checkout's id or slug. Default: the whole account.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish this is a safe read, but the description adds substantive semantics the annotations cannot: averages are monthly and computed only over full months in the window, the series is keyed to the 1st of each month, and cancellations are attributed to specific causes (buyer cancel link, exhausted card retries, other including refunds or seller action). It also discloses a coverage limitation, that payment plans are excluded, which materially affects how results should be interpreted.

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?

It is a single dense paragraph, but the metric inventory is front-loaded and each subsequent sentence adds real information (averaging window, series composition, churn-reason guidance, exclusion). The clause about who ended subscriptions is slightly long but carries genuine diagnostic value.

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 no output schema, the description carries the burden of describing returns, and it does so well by enumerating both the aggregate metrics and the per-month series fields. Minor gaps remain, such as whether MRR is expressed in account currency and how the series is ordered or capped by the months parameter, but nothing essential to correct invocation 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 description coverage is 100%, so months, account, and product are already documented, which sets the baseline at 3. The description adds only marginal meaning, notably that averages span full months in the window (implying the current partial month is handled differently), but it does not clarify how product scoping interacts with account-level metrics or how the two combine.

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 names the exact resource and metrics: subscriber churn, revenue churn, net revenue retention, average and expected lifetime value, active subscribers and MRR, plus a month-by-month series with cancellation reasons. It also scopes itself against a sibling by stating that payment plans are excluded and pointing to revenue_forecast, so an agent can distinguish it 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?

It gives a concrete analytical directive — compare the months and their reasons to explain why churn moved — and explicitly routes payment-plan questions to revenue_forecast. It stops short of stating when not to use this tool in general (e.g., for forecasting or offer configuration, which other siblings handle), so it is clear but not exhaustive.

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.