Skip to main content
Glama
joeyaflores

revenuecat-charts-mcp

by joeyaflores

Get Chart Data

rc_get_chart
Read-onlyIdempotent

Query RevenueCat Charts API metrics as time series. Returns markdown table with dates, measures, and summary statistics for MRR, revenue, churn, and more.

Instructions

Query any RevenueCat Charts API metric as a time series. Returns formatted markdown table with dates, measures, and summary statistics.

Supports 21 metrics across revenue, subscriptions, trials, conversion, and cohorts. Use rc_list_metrics to discover available metrics.

Args:

  • api_key (string): RevenueCat secret API key starting with "sk_"

  • metric (string): Chart metric name. Common values: "mrr", "revenue", "churn", "actives", "trials", "trial_conversion_rate", "ltv_per_customer"

  • start_date (string): Start date in YYYY-MM-DD format

  • end_date (string): End date in YYYY-MM-DD format

  • resolution (string, optional): "day", "week", or "month" (default: "month")

  • segment (string, optional): Dimension to segment by (e.g., "country")

  • project_id (string, optional): RevenueCat project ID. Auto-detected if omitted.

Returns: Markdown with chart description, period, resolution, summary statistics, and a data table. Multi-measure charts (like churn) include all measures as columns. Segmented charts show top 10 segments as columns.

Examples:

  • "Show me MRR for 2025" -> metric="mrr", start_date="2025-01-01", end_date="2025-12-31"

  • "What's my churn week over week?" -> metric="churn", resolution="week"

  • "Break down revenue by country" -> metric="revenue", segment="country"

  • "How are trial conversions trending?" -> metric="trial_conversion_rate"

Error Handling:

  • Invalid metric: returns list of valid metric names

  • Rate limited: auto-retries up to 3 times with backoff

  • Invalid date format: returns error with expected format

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricYesChart metric to query (use rc_list_metrics to see all). Common: mrr, revenue, churn, actives, trials
api_keyYesRevenueCat secret API key (starts with sk_)
segmentNoSegment dimension (e.g., 'country' for geographic breakdown)
end_dateYesEnd date in YYYY-MM-DD format
project_idNoRevenueCat project ID (e.g., 'proj058a6330'). Auto-detected if omitted.
resolutionNoData resolution: day, week, or month (default: month)month
start_dateYesStart date in YYYY-MM-DD format
Behavior5/5

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

The description goes well beyond the annotations by detailing output format (markdown table with summary statistics), multi-measure chart behavior, segmented chart top-10 columns, and error handling including auto-retry with backoff and invalid metric responses. This provides rich behavioral context not available from annotations alone.

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 lengthy but well-organized into sections (overview, args, returns, examples, error handling). Every section provides essential information; the examples and error handling add value over schema. Slightly verbose due to repetition of some parameter details, but overall efficient for the tool's complexity.

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?

The description fully covers all parameters, output format, examples, and error handling. With no output schema, it still explains return values clearly. For a tool with 7 parameters and 21 possible metrics, this is comprehensive and complete.

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

Parameters5/5

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

Despite 100% schema coverage, the description adds substantial meaning with natural language examples, common metric values, default resolution, auto-detection of project_id, and date format clarification. This goes far beyond the schema descriptions.

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 queries RevenueCat Charts API metrics as a time series and returns a formatted markdown table. It explicitly distinguishes its purpose from sibling tools by mentioning rc_list_metrics for metric discovery and focusing on chart data with summary statistics, which is distinct from an overview tool.

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?

The description provides explicit usage guidance through examples that map natural language queries to parameter values, and mentions using rc_list_metrics to discover available metrics. It does not explicitly contrast with rc_get_overview, but the examples and parameter explanations give clear context for when to use this tool.

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/joeyaflores/revenuecat-charts-mcp'

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