score_leads
Scores Reddit posts against a product description to identify and rank sales leads, with semantic analysis for precision.
Instructions
Score Reddit posts as sales leads for a product using two-phase scoring: a lexical pre-score on every post, then Claude semantic scoring for posts above the escalation threshold (requires ANTHROPIC_API_KEY; falls back to the pre-score without it). Returns posts sorted by final score.
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": {
"product_description": "<product_description>",
"keywords": "<keywords>",
"posts": "<posts>"
},
"name": "score_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | Posts to score, as returned by search_reddit | |
| keywords | Yes | Keywords a relevant post would contain, e.g. ['leads', 'outreach', 'reddit'] | |
| product_description | Yes | What the product does and who it is for, 1 to 3 sentences | |
| escalation_threshold | No | Pre-score needed before a post is sent to Claude (default: 0.2) |