MCP Server
MCP Tools
All 12 approval-safe tools exposed by https://app.bravabase.ai/mcp, with exact parameters, OAuth scopes, and MCP annotations.
How responses & errors arrive#
- Bounded context budget: Every tool output is capped at
48 KBJSON (limitdefaults to20, max50). If a payload nears the limit, bravabase returns a compact truncation notice advising tighter filters. - Auth challenges: Unauthenticated
POST /mcpreturns401 Unauthorizedwith an RFC 9728WWW-Authenticateheader pointing to/.well-known/oauth-protected-resource. - Live authorization: Every call re-verifies token scopes, live workspace role, and active billing/plan status before executing.
Tool annotations#
Every tool carries explicit MCP behavior hints so clients like Claude, ChatGPT, and Cursor can safely auto-approve read-only queries and prompt cleanly before writes:
| Annotation | Behavior on bravabase MCP |
|---|---|
readOnlyHint: true | Set on all 7 read tools (list_*, get_*). Zero mutations and zero AI credit spend. |
destructiveHint: false | Set on all 12 tools. bravabase exposes zero delete, send, or send-approval tools. |
idempotentHint: true | Safe to retry with identical parameters (all read tools, enrich_lead, update_draft, update_lead_status). |
openWorldHint: true | Set only on enrich_lead because live lookups query external contact verification providers. |
Every tool at a glance#
| Tool | Scope | Kind | Annotations |
|---|---|---|---|
list_campaigns | leads:read | read | readOnly · idempotent |
list_leads | leads:read | read | readOnly · idempotent |
get_lead | leads:read | read | readOnly · idempotent |
list_signals | leads:read | read | readOnly · idempotent |
enrich_lead | enrichment:write | credits if found | idempotent · openWorld |
list_drafts | drafts:read | read | readOnly · idempotent |
prepare_draft | drafts:write | draft queue | destructive: false |
update_draft | drafts:write | draft queue | idempotent · destructive: false |
update_lead_status | leads:write | status write | idempotent · destructive: false |
list_replies | inbox:read | read · E2EE | readOnly · idempotent |
get_conversation | inbox:read | read · E2EE | readOnly · idempotent |
draft_reply | drafts:write | needs_review | destructive: false |
Leads & signals#
list_campaigns#
List campaigns, lead lists, and discovery agents with lead, approval, and draft counts.
| Parameter | Type | Description |
|---|---|---|
kind | enum | campaign, lead_list, discovery_agent, or all. |
includeArchived | boolean | Include archived campaigns and lists. |
limit | integer (1–50) | Maximum records to return (default 20). |
offset | integer (0–10000) | Pagination offset (default 0). |
list_leads#
List bounded workspace leads filtered by fit score, signal type, approval status, campaign, or search text.
| Parameter | Type | Description |
|---|---|---|
campaignId | string | Filter by campaign, list, or agent ID. |
minFitScore | number (0–100) | Minimum ICP fit score. |
maxFitScore | number (0–100) | Maximum ICP fit score. |
signalType | string | Signal kind: hiring, funding, new_role, post, company_news. |
approvalStatus | enum | accepted, rejected, or unreviewed. |
search | string | Match name, company, headline, or LinkedIn URL. |
includeExcluded | boolean | Include suppressed or excluded leads. |
limit | integer (1–50) | Maximum records to return (default 20). |
offset | integer (0–10000) | Pagination offset (default 0). |
get_lead#
Get one lead profile with cited dated buying signals, ICP fit checks, enrichment status, draft, and CRM notes. Provide at least leadId or profileUrl.
| Parameter | Type | Description |
|---|---|---|
leadId | string | Workspace lead ID. |
profileUrl | string | LinkedIn profile URL. |
campaignId | string | Optional campaign scope. |
list_signals#
List dated B2B buying signals across the workspace with clickable source URLs and evidence excerpts.
| Parameter | Type | Description |
|---|---|---|
signalType | string | Filter by buying signal kind. |
campaignId | string | Filter by campaign or list ID. |
sinceDays | integer (1–365) | Lookback window in days. |
minFitScore | number (0–100) | Minimum ICP fit score. |
limit | integer (1–50) | Maximum records to return (default 20). |
offset | integer (0–10000) | Pagination offset (default 0). |
Enrichment#
enrich_lead#
Run a credit-checked work email (1 credit) or phone number (10 credits) lookup. Credits are deducted only when a new verified result is saved—never for misses or already-saved contacts. Call with quoteOnly: true first to confirm cost and credit balance.
| Parameter | Type | Description |
|---|---|---|
leadIdrequired | string | Workspace lead ID. |
kindrequired | enum | work_email or phone. |
campaignId | string | Optional campaign scope. |
quoteOnly | boolean | Preview credit cost and balance without charging. |
lookupToken | string (uuid) | Optional token returned by a pending lookup to collect its settled result. |
Drafts & triage#
list_drafts#
List pending and scheduled outbound message drafts and Setter reply drafts.
| Parameter | Type | Description |
|---|---|---|
campaignId | string | Filter by campaign ID. |
kind | enum | outbound, setter_reply, or all. |
status | enum | draft, reviewed, approved_scheduled, needs_review, ready, or waiting. |
limit | integer (1–50) | Maximum records to return (default 20). |
offset | integer (0–10000) | Pagination offset (default 0). |
prepare_draft#
Create an unapproved outbound draft for human review inside bravabase. Sanitizes formatting and never sends messages.
| Parameter | Type | Description |
|---|---|---|
campaignIdrequired | string (uuid) | Target campaign UUID. |
leadIdrequired | string | Target lead ID. |
textrequired | string (max 3000) | First-message draft body. |
subject | string (max 200) | Optional email or InMail subject line. |
connectionNote | string (max 200) | Optional LinkedIn connection note. |
followUps | array (max 5) | Optional follow-up items ({ text: string }). |
expectedRevision | integer (>= 1) | Optional optimistic concurrency revision check. |
update_draft#
Refine an existing draft and reset its approval state so a human reviews the edited copy before anything can send.
| Parameter | Type | Description |
|---|---|---|
campaignIdrequired | string (uuid) | Target campaign UUID. |
leadIdrequired | string | Target lead ID. |
textrequired | string (max 3000) | Updated draft body. |
subject | string (max 200) | Optional subject line. |
connectionNote | string (max 200) | Optional LinkedIn connection note. |
followUps | array (max 5) | Optional updated follow-up items ({ text: string }). |
expectedRevision | integer (>= 1) | Optional optimistic concurrency revision check. |
update_lead_status#
Triage a lead’s workflow status. Setting suppress adds a permanent workspace block so the person is never contacted again.
| Parameter | Type | Description |
|---|---|---|
leadIdrequired | string | Workspace lead ID. |
statusrequired | enum | interested, not_interested, save_for_later, or suppress. |
campaignId | string | Optional campaign scope. |
note | string (max 600) | Optional CRM note. |
expectedRevision | integer (>= 1) | Optional optimistic concurrency revision check. |
Inbox (Hybrid E2EE)#
Hybrid E2EE contract: list_replies and get_conversation enforce live linkedin_cloud_grants.can_read checks and write server audit logs. When strict browser-only encryption is enabled, items degrade gracefully to e2eeStatus: "metadata_only" (lastMessage.text: null in list_replies, text: null in get_conversation, with encryptedMetadataOnly: true).
list_replies#
List LinkedIn inbox conversations with Hybrid E2EE decryption or automatic metadata_only fallback.
| Parameter | Type | Description |
|---|---|---|
unreadOnly | boolean | Return only unread threads. |
awaitingReplyOnly | boolean | Return only threads waiting on your reply. |
limit | integer (1–50) | Maximum threads to return (default 20). |
offset | integer (0–10000) | Pagination offset (default 0). |
get_conversation#
Get bounded messages for a single LinkedIn thread with live can_read grant checks and metadata_only fallback.
| Parameter | Type | Description |
|---|---|---|
threadIdrequired | string | Inbox conversation thread ID. |
limit | integer (1–50) | Maximum messages to return (default 20). |
offset | integer (0–10000) | Pagination offset (default 0). |
draft_reply#
Prepare a Setter/inbox reply draft strictly in needs_review state for human approval in bravabase. Never sends messages.
| Parameter | Type | Description |
|---|---|---|
threadIdrequired | string | Target inbox conversation thread ID. |
draftTextrequired | string (max 2000) | Proposed reply message text. |
reason | string (max 400) | Optional note explaining the reply context. |
A typical agent session#
A Monday-morning prospecting run using bravabase’s approval-safe tools:
# 1. Inspect active signal campaigns & fresh buying signals
list_campaigns(includeArchived: false)
list_signals(sinceDays: 14, minFitScore: 70)
# 2. Review matching leads & read cited evidence
list_leads(approvalStatus: "unreviewed", limit: 20)
get_lead(leadId: "lead_...")
# 3. Quote credit cost (0 charged), then enrich work email (1 credit if found)
enrich_lead(leadId: "lead_...", kind: "work_email", quoteOnly: true)
enrich_lead(leadId: "lead_...", kind: "work_email")
# 4. Save unapproved draft for human review inside bravabase
prepare_draft(campaignId: "...", leadId: "lead_...", text: "...")