Skip to main content
Glama
storelift-mcp

storelift-mcp

Subscription events

get_subscription_events
Read-onlyIdempotent

Get daily and per-country subscription event counts from RevenueCat or Adapty webhooks: trials, paid starts, renewals, cancellations, refunds, billing issues, revenue, and monthly cohorts.

Instructions

Subscription event counts for one app from the RevenueCat / Adapty webhook: per day and per country — trial starts, trial conversions, paid starts, renewals, cancellations, refunds, billing issues and revenue — plus monthly cohorts (users, payers). Counts are events, not users. connected=false means no webhook is connected.

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": {
      "appId": "<appId>"
    },
    "name": "get_subscription_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNowindow in days, from 1 up to the plan's history window (default 90)
appIdYesapp id from list_apps

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.2
    • changedInput schema / properties / days / description
      Previous value: -"window in days, 1–365 (default 90)"New value: +"window in days, from 1 up to the plan's history window (default 90)"
  2. Addedv1.5.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a read-only, idempotent, closed-world read, so the safety profile is covered. The description adds genuine context beyond that: the webhook data origin, the crucial semantic caveat that counts are events rather than users, and the meaning of connected=false. It does not discuss latency, refresh cadence, or per-plan history limits in prose.

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?

Front-loaded with the core purpose and metric inventory, followed by two short disambiguating sentences. The metric enumeration is dense but each item carries information; nothing is redundant with the schema or annotations.

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?

With no output schema, the description compensates by listing what comes back (daily and country breakdowns, metric types, monthly cohort users/payers). Combined with the annotation safety profile and fully documented parameters, an agent has enough to call and interpret this tool correctly.

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 both appId and days are already documented, including the default of 90 and the plan's history window. The description's mention of 'per day and per country' hints at the output breakdown rather than adding parameter meaning, so the baseline of 3 applies.

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 resource (subscription event counts for one app) and enumerates the exact metrics returned: trial starts, conversions, paid starts, renewals, cancellations, refunds, billing issues, revenue, plus monthly cohorts. It also names the data source (RevenueCat / Adapty webhook), which separates it from generic revenue or chart siblings.

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?

Usage is implied by the metric list, and the note 'connected=false means no webhook is connected' tells the agent how to interpret an empty result. However, there is no explicit when-to-use versus alternatives (e.g. get_revenue) and no exclusion or prerequisite guidance (plan history window is only mentioned inside the schema).

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