Skip to main content
This page documents the Python MCP surface (mcp.heybtw.com). It reflects mcp-server/tools/invite_recommendations.py as of this page’s publication — see Schema stability.

Purpose

get_invite_recommendations scores companies as invite candidates for a specific event (identified by channel_id), combining ABM priority tier, past event attendance, and historical conversion signals (opportunity/MQL/meeting) into a single score with a plain-English reasoning string.

When to use this

  • “Who should we invite to our upcoming event?” once the event exists in heyBTW as a channel.
  • Building or refreshing an invite list from ABM + attendance history rather than starting from a blank spreadsheet.
Despite the name suggesting event-attribute targeting (region, vertical, budget), this tool takes only channel_id today — there is no region, vertical, partners, or budget/ROI parameter on the live implementation. If your use case needs those filters, they are not available yet; do not construct calls assuming they exist.

Parameters

channel_id has a default of "" at the function signature level (so a call omitting it does not raise a Python-level type error), but an empty string will not match any real channel — treat it as required in practice.

Default behavior

Given only channel_id, returns up to 25 candidates sorted by score descending, excluding companies already signed up for that event and excluding the workspace’s own domain. metadata.coverage_note always states the “excludes already-signed-up” exclusion so an agent doesn’t misread a short list as “everyone scored low.”

Sample request

Sample response

Response field reference

Envelope

data[i]

Scoring breakdown (additive, capped at 1.0, rounded to 2 decimals):

Errors

Same generic-sanitized-error behavior as every tool on this surface — see get_workspace_overview — Errors. An unresolvable or omitted channel_id does not raise a distinct “channel not found” error — it simply produces result_count: 0 (nothing to score against).

Pagination and limits

No cursor-based pagination. limit (default 25, clamped to [1, 500]) caps candidates returned after scoring and sorting — there is no offset/cursor to page past it.
  • get_event_summary — see who’s already registered for the target event before deciding who else to invite.
  • get_cross_event_patterns — a broader, unscored view of accounts with repeat engagement, useful when you don’t yet have a target channel_id.