Recommend message
recommend_messageWhich text should we send? Ranked SMS copy for a goal (abandoned_cart, welcome, winback, failed_payment, trial, promo, ... or any) by expected revenue per message, each with its evidence: the factors that moved its score, the closest published SMS-only case studies with source links, and how much comes from this account's own sends (clicks, STOPs, revenue from tracked events). Pass your own drafts in candidates to score them against the generated ones. Only uses the offer, code and deadline you give it. Sends and saves nothing.
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": {
"industry": "<industry>",
"company_type": "<company_type>",
"brand": "<brand>",
"product": "<product>"
},
"name": "recommend_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Optional promo code | |
| goal | No | The message type to write, or `any` to compare the types that fit `audience` | any |
| link | No | URL or merge field; default {{link}} | |
| brand | Yes | Business name as customers know it | |
| limit | No | How many messages to return (default 5, max 20) | |
| offer | No | Optional, e.g. "50% off your first month". Without one no candidate has an offer | |
| product | Yes | What is being sold, as the customer would say it, e.g. "your second number" | |
| audience | No | Who gets it, in words, e.g. "opened the paywall and left" | |
| deadline | No | Optional, e.g. "tonight" | |
| industry | Yes | The sender's industry | |
| candidates | No | Your own drafts to score: a JSON array of up to 10 strings | |
| first_name | No | Your contacts have first names, so candidates may use {{first_name}} | |
| use_history | No | false ranks on the case studies only | |
| company_type | Yes | Kind of business | |
| first_message | No | The first text these people get from the number: the brand and opt-out line are added and counted |