Which leads are good
lead_qualityRead only. How good the business's leads are, in plain words, grouped by campaign, ad, form, source, organic vs from an ad, or (for the owner, an admin or a manager) a qualifying answer on the form: how many came, how many the owner marked and how many of those were good or became customers, over the last 90 days. Useful for 'which campaign brings good leads?', 'is the form bringing junk?', before suggesting where to move money.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lead_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | How to group (default campaign). | |
| account | No | An ad account's name or id, to see one account only; omit for all of them. | |
| language | No | Answer language. The business's language by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | campaign, ad, form, source, organic or answer. | |
| days | No | The days the numbers cover. | |
| more | No | Groups left out of this answer. | |
| note | No | A plain note instead of data (nothing connected yet, not available here). | |
| groups | No | ||
| summary | No | In plain words: which group brings the best leads and which the weakest, once enough are marked. | |
| truncated | No | ||
| truncatedNote | No |