ConnfigConnfig Docs
Tool Reference

Lead Generation Tools

The 5 MCP tools that start Google Maps business searches, follow them and read the businesses found, with the quota and plan rules.

With these tools your assistant starts a Google Maps business search, waits for it to finish and lists the businesses it found. The rules are the same as on the Find Leads page in the app.

start_scrape uses the workspace owner's monthly lead quota. Only one search runs at a time per account. You can see the remaining quota with get_workspace_usage.

How to start a search and read the results

  1. Tell your assistant what to look for, in which country and city, and how many results you want.
  2. The assistant calls start_scrape and gets a scrape_job_id.
  3. The assistant checks get_scrape_status until the status is completed or failed. You also get a notification in the app when the search ends.
  4. The assistant lists the businesses with list_leads and calls get_lead for details.

How the quota is counted

  • Before a search starts, the requested total is checked: number of terms × results_per_term. If it does not fit in your remaining monthly quota, the tool returns QUOTA_EXCEEDED and nothing starts.
  • When the search completes, the amount taken from the quota shows in its results_count field.
  • A failed search uses no quota. Its error_message field carries a short message saying so.
  • The lead quota resets on the 1st of each month.

Tools

start_scrape

Starts a Google Maps business search that runs in the background. Needs the Find leads permission. It can be called at most 10 times a minute.

Every search returns the business name, category, Google rating, an unclaimed Google profile flag, full address, map location, photo, phone and website. If the business website lists them, email addresses and Instagram, Facebook, LinkedIn, X, YouTube and TikTok profiles are added too.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
search_termsarray of strings (1–5)YesSearch terms, e.g. ["dentist", "dental clinic"]. Up to 200 characters each.
countrystringYesCountry name, e.g. "Germany"
country_codestring (2 letters)NoISO country code, e.g. "de"
statestringNoState or province
citystringNoCity or district
languagestringNoResult language, e.g. "en". Default "en".
results_per_termnumber (1–6000)NoResults per term. Default 10.
place_minimum_starsenumNoMinimum rating: all, two, twoAndHalf, three, threeAndHalf, four, fourAndHalf. Default all.
include_detailsbooleanNoDetailed info: adds review count, up to 10 latest reviews, weekly opening hours and price range. The search takes longer. Pro and Team only. Default false.
maximum_leads_enrichment_recordsnumber (1–10)NoContact enrichment: how many decision makers to find per business (name, title, email). Pro and Team only.
leads_enrichment_departmentsarray of enumsNoDepartments to enrich: c_suite, product, engineering_technical, design, education, finance, human_resources, information_technology, legal, marketing, medical_health, operations, sales, consulting

The answer contains the scrape_job_id and the current quota (quota.used, quota.limit).

Possible errors:

CodeWhen
SCRAPE_IN_PROGRESSA search is already running on the account
QUOTA_EXCEEDEDThe requested total does not fit in the remaining monthly quota
FORBIDDENThe workspace owner's subscription is not active, or Detailed info or Contact enrichment was requested on a plan other than Pro or Team
RATE_LIMITEDMore than 10 calls in one minute

Ask your assistant: "Find dental clinics in Berlin, 100 is enough. Only places rated 4 stars or higher."

get_scrape_status

Returns the status of one search: pending, running, completed or failed. The answer also has the search settings, the result count (results_count), any error message, and the start and end times. Find leads or Business pool is enough.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
scrape_job_idstring (UUID)YesThe ID returned by start_scrape

Ask your assistant: "Has the search we just started finished?"

list_scrape_jobs

Lists the workspace's searches, newest first, with status and result counts. Find leads or Business pool is enough.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
statusenumNopending, running, completed, failed
limitnumber (1–200)NoRows to return. Default 50.
offsetnumberNoRows to skip. Default 0.

Ask your assistant: "Show my recent searches and how many results each one brought in."

list_leads

Lists the businesses in the workspace, newest first, one page at a time. The answer has the total count (total) and, for each business, its ID, name, category, address, phone, website, emails, rating, mail and call status, and favorite and archive flags. Archived businesses are left out unless you pass include_archived. Find leads or Business pool is enough.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
searchstringNoSearches the business name
citystringNoCity (partial match)
categorystringNoCategory (partial match)
has_emailbooleanNotrue: only businesses with at least one email address
favorites_onlybooleanNoFavorites only
include_archivedbooleanNoInclude archived businesses. Default false.
limit / offsetnumberNoPaging. limit 1–200, default 50.

Ask your assistant: "List the Berlin businesses that have an email address."

get_lead

Returns everything about one business: contact details, social profiles, description, opening hours, contact enrichment results, notes and the workspace status fields. Find leads or Business pool is enough.

ParameterTypeRequiredPurpose
workspace_idstring (UUID)YesWorkspace ID
lead_idstringYesThe business's row ID (id in list_leads)

Ask your assistant: "Show me everything on 'Smile Dental Studio'."

Mini scenarios

Entering a new city. A software agency wants to reach dental clinics in Hamburg. The assistant checks the remaining quota with get_workspace_usage, then starts a search with two terms and 150 results per term. When it finishes, it calls list_leads with has_email: true and city: "Hamburg" to get the clinics with an email address.

Reaching the decision maker. A consulting firm on the Team plan wants to reach hotel managers. The assistant starts the search with maximum_leads_enrichment_records: 2 and leads_enrichment_departments: ["c_suite", "sales"]. The people it finds are added as contacts when the businesses are moved into the CRM.

To update notes and statuses, see Business Pool Tools. To move businesses into the CRM, see CRM Write Tools.