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.
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": {
"app_id": "<app_id>"
},
"name": "get_merchant_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |