Skip to main content
Glama
chartmogul

ChartMogul MCP Server

Official
by chartmogul

ltv_metrics

Retrieve Customer Lifetime Value metrics from ChartMogul to analyze subscription business performance. Returns LTV data in cents with date ranges and optional filters for detailed insights.

Instructions

[ChartMogul API] Retrieve Customer Lifetime Value metrics. CRITICAL: LTV VALUES ARE INTEGER CENTS - DIVIDE BY 100 FOR ACTUAL CURRENCY AMOUNTS. LTV = Average Revenue Per User / Customer Churn Rate. Returns entries array with: date (string), ltv (integer cents), ltv_percentage_change (float). Plus summary object. REQUIRED: start_date (YYYY-MM-DD), end_date (YYYY-MM-DD), interval (any valid value). OPTIONAL: geo, plans, filters (string: CFL syntax field~operator~value~AND~... Use get_cfl_fields for field list). Example: ltv=2977624 means $29,776.24 customer lifetime value

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYes
end_dateYes
intervalYes
geoNo
plansNo
filtersNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively adds context beyond basic functionality: it warns about LTV values being in integer cents (critical for correct interpretation), explains the LTV formula (LTV = Average Revenue Per User / Customer Churn Rate), describes the return structure (entries array with date, ltv, ltv_percentage_change, plus summary object), and provides an example for clarity. However, it does not cover aspects like rate limits, authentication needs, or error handling.

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 appropriately sized and front-loaded, starting with the core purpose and critical warning about integer cents. Each sentence adds value: formula explanation, return structure, parameter requirements, and an example. There is minimal waste, though it could be slightly more structured (e.g., bullet points for parameters). Overall, it efficiently conveys necessary information without redundancy.

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?

Given the complexity (6 parameters, no annotations, no output schema), the description does a good job of being complete. It explains the tool's purpose, critical data interpretation (integer cents), return format, and parameter semantics. However, it lacks details on error cases, pagination, or authentication requirements, which would enhance completeness for a metric retrieval tool in an API context.

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 description coverage is 0%, so the description must compensate. It adds significant meaning beyond the schema: it specifies that start_date, end_date, and interval are required and provides format details (YYYY-MM-DD for dates, 'any valid value' for interval). For optional parameters, it explains that filters use 'CFL syntax' and references 'get_cfl_fields' for field lists, adding practical usage context that the schema lacks. The description covers all parameters but could provide more detail on geo and plans.

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 clearly states the tool retrieves Customer Lifetime Value metrics from the ChartMogul API, specifying both the verb ('Retrieve') and resource ('Customer Lifetime Value metrics'). It distinguishes itself from sibling tools like 'arpa_metrics' or 'mrr_metrics' by focusing specifically on LTV calculations, making the purpose highly specific and differentiated.

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?

The description implies usage by specifying required parameters (start_date, end_date, interval) and optional ones (geo, plans, filters), but it does not explicitly state when to use this tool versus alternatives like 'all_metrics' or other metric-specific tools. It provides some context through parameter requirements but lacks explicit guidance on tool selection scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chartmogul/chartmogul-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server