Skip to main content
Glama
This connector has been deprecated

Superseded listing, not a dead server. This entry was imported from an early Glama registration under com.moltlinestudio.mcp; the same server is listed under its official MCP Registry name — use com.moltlinestudio/data. Endpoint unchanged: https://mcp.moltlinestudio.com/data — still live, still free on the free tier. Only this duplicate entry is deprecated.

Cohort Retention

cohort_retention
Read-onlyIdempotent

Build a retention table and average curve from raw cohort counts. PREMIUM (license).

Typical input {"cohorts": {"2026-01": [1000, 400, 300, 250]}} (index 0 is cohort size, each later index is users still active in that period) returns {"retention_table_pct": {"2026-01": [100.0, 40.0, 30.0, 25.0]}, "avg_curve_pct": [...], "reading": "..."}.

Use when each cohort has counts per period since acquisition. Not for a one-pass funnel (funnel_report). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "cohort '' must map to a list of numbers,"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

NameRequiredDescriptionDefault
cohortsYesMapping of cohort label to a list of counts, where counts[0] is the cohort size and counts[n] is users active in period n, e.g. {"2026-01": [1000, 400, 300]}. The first 24 cohorts are used.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds context they cannot: the PREMIUM license gate, and a precise error contract stating the tool never raises a protocol error but returns {"error": ...} with fix guidance, making retry-after-correction safe. The one sentence restating read-only/idempotent is redundant with annotations but harmless.

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?

Purpose and PREMIUM flag are front-loaded, then input/output shape, then usage and error semantics — a sensible order. The inline input/output example is long and overlaps the output schema, but it earns most of its space by disambiguating the nested count convention.

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

Completeness5/5

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

For a single-parameter analytical tool with an output schema and rich annotations, this covers everything an agent needs: input shape, output shape, licensing, error behavior, retry safety, and sibling routing. No material gap remains.

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

Parameters4/5

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

Schema coverage is 100% and the schema already documents the index-0-is-cohort-size convention and the 24-cohort cap. The description adds a concrete worked example that makes the positional convention unambiguous, going modestly beyond the schema rather than repeating it.

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 and artifacts ('Build a retention table and average curve from raw cohort counts'), which pins down the computation precisely. It also names the sibling it is not ('Not for a one-pass funnel (funnel_report)'), so the agent can route without opening any 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?

Gives an explicit positive condition ('Use when each cohort has counts per period since acquisition') and an explicit exclusion with a named alternative (funnel_report). Nothing about selection 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources