Skip to content

MCP Server

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 KB JSON (limit defaults to 20, max 50). If a payload nears the limit, bravabase returns a compact truncation notice advising tighter filters.
  • Auth challenges: Unauthenticated POST /mcp returns 401 Unauthorized with an RFC 9728 WWW-Authenticate header 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:

AnnotationBehavior on bravabase MCP
readOnlyHint: trueSet on all 7 read tools (list_*, get_*). Zero mutations and zero AI credit spend.
destructiveHint: falseSet on all 12 tools. bravabase exposes zero delete, send, or send-approval tools.
idempotentHint: trueSafe to retry with identical parameters (all read tools, enrich_lead, update_draft, update_lead_status).
openWorldHint: trueSet only on enrich_lead because live lookups query external contact verification providers.

Every tool at a glance#

ToolScopeKindAnnotations
list_campaignsleads:readreadreadOnly · idempotent
list_leadsleads:readreadreadOnly · idempotent
get_leadleads:readreadreadOnly · idempotent
list_signalsleads:readreadreadOnly · idempotent
enrich_leadenrichment:writecredits if foundidempotent · openWorld
list_draftsdrafts:readreadreadOnly · idempotent
prepare_draftdrafts:writedraft queuedestructive: false
update_draftdrafts:writedraft queueidempotent · destructive: false
update_lead_statusleads:writestatus writeidempotent · destructive: false
list_repliesinbox:readread · E2EEreadOnly · idempotent
get_conversationinbox:readread · E2EEreadOnly · idempotent
draft_replydrafts:writeneeds_reviewdestructive: false

Leads & signals#

list_campaigns#

leads:readreadOnlyHint: trueidempotentHint: true

List campaigns, lead lists, and discovery agents with lead, approval, and draft counts.

ParameterTypeDescription
kindenumcampaign, lead_list, discovery_agent, or all.
includeArchivedbooleanInclude archived campaigns and lists.
limitinteger (1–50)Maximum records to return (default 20).
offsetinteger (0–10000)Pagination offset (default 0).

list_leads#

leads:readreadOnlyHint: trueidempotentHint: true

List bounded workspace leads filtered by fit score, signal type, approval status, campaign, or search text.

ParameterTypeDescription
campaignIdstringFilter by campaign, list, or agent ID.
minFitScorenumber (0–100)Minimum ICP fit score.
maxFitScorenumber (0–100)Maximum ICP fit score.
signalTypestringSignal kind: hiring, funding, new_role, post, company_news.
approvalStatusenumaccepted, rejected, or unreviewed.
searchstringMatch name, company, headline, or LinkedIn URL.
includeExcludedbooleanInclude suppressed or excluded leads.
limitinteger (1–50)Maximum records to return (default 20).
offsetinteger (0–10000)Pagination offset (default 0).

get_lead#

leads:readreadOnlyHint: trueidempotentHint: true

Get one lead profile with cited dated buying signals, ICP fit checks, enrichment status, draft, and CRM notes. Provide at least leadId or profileUrl.

ParameterTypeDescription
leadIdstringWorkspace lead ID.
profileUrlstringLinkedIn profile URL.
campaignIdstringOptional campaign scope.

list_signals#

leads:readreadOnlyHint: trueidempotentHint: true

List dated B2B buying signals across the workspace with clickable source URLs and evidence excerpts.

ParameterTypeDescription
signalTypestringFilter by buying signal kind.
campaignIdstringFilter by campaign or list ID.
sinceDaysinteger (1–365)Lookback window in days.
minFitScorenumber (0–100)Minimum ICP fit score.
limitinteger (1–50)Maximum records to return (default 20).
offsetinteger (0–10000)Pagination offset (default 0).

Enrichment#

enrich_lead#

enrichment:write1 credit email · 10 credits phoneidempotentHint: trueopenWorldHint: true

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.

ParameterTypeDescription
leadIdrequiredstringWorkspace lead ID.
kindrequiredenumwork_email or phone.
campaignIdstringOptional campaign scope.
quoteOnlybooleanPreview credit cost and balance without charging.
lookupTokenstring (uuid)Optional token returned by a pending lookup to collect its settled result.

Drafts & triage#

list_drafts#

drafts:readreadOnlyHint: trueidempotentHint: true

List pending and scheduled outbound message drafts and Setter reply drafts.

ParameterTypeDescription
campaignIdstringFilter by campaign ID.
kindenumoutbound, setter_reply, or all.
statusenumdraft, reviewed, approved_scheduled, needs_review, ready, or waiting.
limitinteger (1–50)Maximum records to return (default 20).
offsetinteger (0–10000)Pagination offset (default 0).

prepare_draft#

drafts:writereview queue only · never sendsdestructiveHint: false

Create an unapproved outbound draft for human review inside bravabase. Sanitizes formatting and never sends messages.

ParameterTypeDescription
campaignIdrequiredstring (uuid)Target campaign UUID.
leadIdrequiredstringTarget lead ID.
textrequiredstring (max 3000)First-message draft body.
subjectstring (max 200)Optional email or InMail subject line.
connectionNotestring (max 200)Optional LinkedIn connection note.
followUpsarray (max 5)Optional follow-up items ({ text: string }).
expectedRevisioninteger (>= 1)Optional optimistic concurrency revision check.

update_draft#

drafts:writeresets approval · never sendsidempotentHint: true

Refine an existing draft and reset its approval state so a human reviews the edited copy before anything can send.

ParameterTypeDescription
campaignIdrequiredstring (uuid)Target campaign UUID.
leadIdrequiredstringTarget lead ID.
textrequiredstring (max 3000)Updated draft body.
subjectstring (max 200)Optional subject line.
connectionNotestring (max 200)Optional LinkedIn connection note.
followUpsarray (max 5)Optional updated follow-up items ({ text: string }).
expectedRevisioninteger (>= 1)Optional optimistic concurrency revision check.

update_lead_status#

leads:writeidempotentHint: truedestructiveHint: false

Triage a lead’s workflow status. Setting suppress adds a permanent workspace block so the person is never contacted again.

ParameterTypeDescription
leadIdrequiredstringWorkspace lead ID.
statusrequiredenuminterested, not_interested, save_for_later, or suppress.
campaignIdstringOptional campaign scope.
notestring (max 600)Optional CRM note.
expectedRevisioninteger (>= 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#

inbox:readreadOnlyHint: trueidempotentHint: true

List LinkedIn inbox conversations with Hybrid E2EE decryption or automatic metadata_only fallback.

ParameterTypeDescription
unreadOnlybooleanReturn only unread threads.
awaitingReplyOnlybooleanReturn only threads waiting on your reply.
limitinteger (1–50)Maximum threads to return (default 20).
offsetinteger (0–10000)Pagination offset (default 0).

get_conversation#

inbox:readreadOnlyHint: trueidempotentHint: true

Get bounded messages for a single LinkedIn thread with live can_read grant checks and metadata_only fallback.

ParameterTypeDescription
threadIdrequiredstringInbox conversation thread ID.
limitinteger (1–50)Maximum messages to return (default 20).
offsetinteger (0–10000)Pagination offset (default 0).

draft_reply#

drafts:writeneeds_review only · never sendsdestructiveHint: false

Prepare a Setter/inbox reply draft strictly in needs_review state for human approval in bravabase. Never sends messages.

ParameterTypeDescription
threadIdrequiredstringTarget inbox conversation thread ID.
draftTextrequiredstring (max 2000)Proposed reply message text.
reasonstring (max 400)Optional note explaining the reply context.

A typical agent session#

A Monday-morning prospecting run using bravabase’s approval-safe tools:

Agent workflow
# 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: "...")