search_leads
Search Google Maps for businesses, score each listing 0–100 as a sales lead, and filter by website status, phone, reviews, and rating for Indonesian SMB outreach.
Instructions
Search Google Maps for businesses and score them as sales leads (Indonesian SMB outreach: no/social-only website, phone, reviews, rating). Drives a real browser at human pace (1.5-3 s between steps; a Chrome window opens when a display is available), so it is slow: about 5-8 s per listing with enrichDetails. Max 60 results per call. Automated Maps collection is restricted by Google's terms: keep volume low. Stops with an error if Google shows a CAPTCHA.
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": {
"query": "<query>"
},
"name": "search_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Maps search text, e.g. "klinik gigi Bandung" | |
| weights | No | Override scoring weights (points). Defaults: {"noWebsite":40,"socialOnly":25,"phone":15,"reviewsHigh":20,"reviewsMid":10,"ratingMid":10,"ratingHigh":5} | |
| minScore | No | Only return leads with score >= this | |
| maxResults | No | Listings to collect (default 20, max 60) | |
| enrichDetails | No | Open each place to read website/phone/address (default true). Without it, scores are marked incomplete. | |
| noWebsiteOnly | No | Only return leads confirmed to have no website |