score_leads
Re-score leads with custom weights using pure offline computation and return them sorted by score; adjust scoring for phone, website, rating, and reviews.
Instructions
Re-score a list of leads (e.g. with different weights). Pure computation, no browser, works offline. Returns leads sorted by 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": {
"leads": "<leads>"
},
"name": "score_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leads | Yes | ||
| weights | No | Override scoring weights (points). Defaults: {"noWebsite":40,"socialOnly":25,"phone":15,"reviewsHigh":20,"reviewsMid":10,"ratingMid":10,"ratingHigh":5} |