get_merchant_health
Evaluate merchant health with a composite A-F grade, combining tenure, revenue, stability, and engagement into a single score.
Instructions
Score merchants with a composite health grade (A-F).
Args: app_id: App GID or numeric ID (required).
Grades based on 4 dimensions (0-25 each, total 0-100):
Tenure: how long installed
Revenue: total and recent charges
Stability: no deactivations/reinstalls
Engagement: recent activity
A (85+), B (70-84), C (55-69), D (40-54), F (<40).
Returns: JSON string with grade distribution summary and per-merchant health scores with dimensional breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |