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.
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 onlychannel_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 — seeget_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.
Related tools
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 targetchannel_id.