Enrich And Score
enrich_and_scoreEnrich queued candidates or specific Instagram handles, then keep only qualified on-niche creators with emails (unless the user's accept-no-email preference or an explicit 'emails optional' request relaxed the email requirement). Unless min_followers/max_followers are explicitly set, every mode uses the default micro-UGC band of 100–9999 followers with no automatic widening. The response includes applied_follower_bounds and follower_policy. Set exclude_agency_emails when the user asks for direct/personal creator emails or no agency/management/talent emails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Optional Firebase uid. Must match the URL uid unless local fallback is enabled. | |
| niche | No | ||
| brands | No | Brand-collab mode: brand names the user wants past collaborators of (same names passed to find_brand_creators). Only creators with a VERIFIED recent brand mention are kept; follower band still defaults to 100–9999 unless explicitly overridden. | |
| handles | No | ||
| batch_size | No | ||
| bearer_token | No | Optional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead. | |
| max_followers | No | Maximum follower count to keep. Defaults to 9999 when omitted, including in brand-collab and seed-lookalike modes. | |
| min_followers | No | Minimum follower count to keep. Defaults to 100 when omitted. | |
| exclude_niches | No | Verticals the user ruled OUT ('any niche but photography' -> ['photography']). Creators whose primary content is an excluded vertical are dropped. Never put an excluded vertical in `niche`. | |
| conversation_id | No | Creator-list key for durable state. Reuse a returned list_id for follow-ups; when omitted, MCP uses the active generated list for this tool chain. | |
| preferences_mode | No | How to apply preferences for this call: 'stored' uses users/{uid}.agentPreferences, 'override' uses agent_preferences only, and 'none' disables stored filtering for this run. | |
| agent_preferences | No | Optional per-call filtering preferences. Use with preferences_mode='override'. For backwards compatibility, passing this without preferences_mode implies override. | |
| exclude_locations | No | Markets the user ruled OUT, as ISO country codes ('any country except India' -> ['IN']). Creators whose public profile places them there are dropped. | |
| exclude_agency_emails | No | Set true only when the user asks to filter out agency/management/talent emails or wants direct/personal creator emails. This drops strong agency-looking email domains but keeps Gmail/Outlook/etc. and creator-owned custom domains. |