Search and Analyze Deals
get_dealsFind deals that need review: questionable Commit deals, forecast risk, stalled or dormant deals, repeated outreach with no recorded response, and candidates for leadership involvement. Search, filter, count activity, group, rank, and return open, won, or lost deals using CRM fields, Data Parrot AI assessments, and recorded activity counts. Open deals include AI forecast_category. Omitted owner selectors include all workspace owners. Use get_deal for a shortlisted deal's reasoning and evidence. Consult deals/analysis_concepts in the catalog when the appropriate assessment or filter is unclear.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| columns | No | Optional Deal fields; omit for the compact default. Grouped row_count and amount_sum are automatic outputs; do not put them in columns. | |
| sort_by | No | Sort by a catalog-supported Deal field. | |
| deal_ids | No | ||
| group_by | No | ||
| team_ids | No | Exclusive selector: non-empty exact team IDs, expanded to active owners. Use instead of owner_scope or owner_ids. | |
| deal_name | No | ||
| owner_ids | No | Exclusive selector: non-empty exact IDs from the owners catalog. Use instead of owner_scope or team_ids. | |
| page_size | No | Row size 1-100; use page/page_size. Groups use group_page_size. | |
| owner_scope | No | Exclusive selector: all owners or current authenticated user. Omitting all three owner selectors defaults to all workspace owners. | |
| amount_range | No | Inclusive configured Deal-value range. | |
| deal_statuses | No | ||
| group_sort_by | No | Required with group_by: row_count, amount_sum, label, or value_order. rows, amount, and revenue are aliases. | |
| company_filter | No | ||
| contact_filter | No | ||
| sort_direction | No | asc | |
| deal_name_match | No | contains | |
| group_page_size | No | ||
| pipeline_stages | No | ||
| purchase_intent | No | ||
| activity_filters | No | Up to 10 ANDed per-deal count filters. Item: {activity_types:[...],count:{operator,value},time_range:{start_date,end_date}}. For no activity use activity_types:["any"], count:{operator:"eq",value:0}, and dates. any counts meetings, calls, sent or received customer emails, and communications; zero includes never-contacted deals. Meetings without meeting_types count each meeting once. With meeting_types, counts represent lifecycle events; the same meeting can count as both booked and held, so do not add these as distinct meetings. | |
| close_date_range | No | ||
| custom_properties | No | ||
| forecast_category | No | ||
| sales_performance | No | ||
| overall_deal_health | No | ||
| competitive_position | No | ||
| deal_progress_status | No | ||
| group_sort_direction | No | desc | |
| close_date_confidence | No | ||
| deal_stage_confidence | No | ||
| deal_probability_range | No | ||
| custom_property_filters | No | ||
| include_null_close_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| kind | Yes | ||
| tool | Yes | ||
| summary | Yes | ||
| result_id | No | ||
| limitations | No |