get_plan_performance
Retrieve subscriber counts, total revenue, and average revenue per merchant for each pricing plan tier. Filter by app and time period to analyze plan performance.
Instructions
Get metrics per pricing plan tier.
Args: app_id: Filter by app (optional). period: '7d', '30d', '90d', '1y', or 'YYYY-MM-DD:YYYY-MM-DD'.
Returns: JSON string with subscribers, total revenue, avg revenue per merchant for each inferred pricing tier.
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": "get_plan_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | ||
| period | No | 30d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |