get_lead_list
Get a ranked list of leads with engagement data.
Every row includes who sent the last message (last_message_from) and whether the lead is waiting on a reply. The response includes total_matching — if it is larger than the rows returned, the list is truncated, say so.
Args: stage: Filter by funnel stage (NEW, IN_CONTACT, QUALIFIED, BOOKED_CALL, WON, LOST). Omit for all stages. limit: Max leads to return (default 20, max 50). time_period: Optional period to scope by lead creation date (e.g. last_7_days, this_month). Do NOT combine with aged_in_stage_days or inactive_days. aged_in_stage_days: Only leads stuck in their current stage for at least N days ("stuck", "aging" questions). inactive_days: Only leads who haven't messaged in N days ("ghosted", "gone quiet" questions). waiting_on_reply: Only leads whose LAST message was sent by the lead — they are waiting on the team ("being ignored", "not replied to", "waiting on us" questions). Ordered longest-waiting first. sentiment: Only leads whose most recent analyzed message has this sentiment: POSITIVE, NEUTRAL, NEGATIVE, FRUSTRATED, or UNHAPPY (= NEGATIVE or FRUSTRATED; use for "frustrated/annoyed/angry leads" questions). source: Only leads from this source: DM, COMMENT, STORY, OUTBOUND. unassigned: Only leads with no setter assigned. tag_name: Only leads carrying a tag matching this name (case-insensitive, partial match). Use this WITH waiting_on_reply or sentiment for "which leads tagged X did we ignore / are interested?" — one call, instead of get_leads_by_tag followed by a get_conversation_detail per lead. date_basis: What time_period filters on. "lead_created" (default) or "tag_applied": when a tag matching tag_name was applied, the Leads page "Tagged" date filter. Use tag_applied for "leads that became this week" (e.g. MQLs qualified this week). Needs tag_name.
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": "get_lead_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| stage | No | ||
| source | No | ||
| tag_name | No | ||
| sentiment | No | ||
| date_basis | No | lead_created | |
| unassigned | No | ||
| time_period | No | ||
| inactive_days | No | ||
| waiting_on_reply | No | ||
| aged_in_stage_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |