Flux LinkedIn MCP

v1.0.1
app.fluxgraph/linkedin Checked 4 days ago Published 29 days ago

LinkedIn intelligence: post analytics and research for public profiles and company pages.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_profiles List Profiles

[Read · free] List all tracked LinkedIn profiles for the authenticated user. Returns profile IDs needed by other tools.

preview_profile Preview a LinkedIn profile

[Acquire · free] Analyze a public LinkedIn profile or company page without a Flux account: pulls the latest ~50 posts (once per profile) and returns a teaser: post count, average engagement, the format that beats the baseline, the top post and the recent trend, plus a preview_id. The full breakdown (best day and hour, top and bottom posts with reasons, trends by format) and keyword search need a free Flux account: call preview_posting_insights or preview_search_posts with the preview_id, which asks the person to sign in where the client supports it, or give the person the continue_url if that…

ParameterTypeDescription
linkedin_url *stringPublic LinkedIn profile or company URL, e.g. https://www.linkedin.com/in/janedoe

preview_posting_insights Preview posting insights

[Read · free] Full breakdown for a previewed profile (from preview_profile): best day, hour, format and length, the top and bottom 5 posts with measured reasons, and engagement trend by format. Requires a free Flux account; calling it asks the person to sign in where the client supports it, otherwise use continue_url from preview_profile.

ParameterTypeDescription
preview_id *stringpreview_id returned by preview_profile

preview_search_posts Search previewed posts

[Read · free] Keyword search over the latest 50 posts of a previewed profile (from preview_profile). Case-insensitive substring match; returns matching posts ordered by engagement. Requires a free Flux account; calling it asks the person to sign in where the client supports it, otherwise use continue_url from preview_profile.

ParameterTypeDescription
preview_id *stringpreview_id returned by preview_profile
query *stringText to look for in the posts, 2 to 100 characters

claim_preview Claim a previewed profile

[Act · writes · irreversible] Make a profile from preview_profile your own Flux dashboard. Call this only when the person says the profile is theirs: the person cannot undo a claim. Requires sign-in; creates a free dashboard showing the latest 50 posts, one per account. Refuses if the account already has a dashboard; the breakdown tools still work then.

ParameterTypeDescription
preview_id *stringpreview_id returned by preview_profile

get_posts Get Posts

[Read · free] List a tracked profile's persisted posts with full metrics and text — query against the local post library, no LinkedIn pull, free. Use this when the caller already has a profile_id and wants to read its posts. Filter by date range, post type, minimum engagement, or text. Pass `scope` (a post_collections.id) to restrict to a specific collection (e.g. an external profile, topic stream, or hand-curated set). Paginated. For keyword/semantic search across posts, use `search_posts`. For fresh LinkedIn pulls, use `linkedin_profile_posts`.

ParameterTypeDescription
profile_id *stringTracked profile ID from list_profiles
date_fromstringStart date (ISO 8601, e.g. 2025-01-01)
date_tostringEnd date (ISO 8601)
min_engagementnumberMinimum total engagement
pagenumberPage number (1-based)
page_sizenumberResults per page (max 50)
post_typestringFilter by post type. 'article' is a LinkedIn-native article or newsletter edition (article_title is the headline, article_image_url the cover image).
scopestringOptional post_collections.id to filter posts to a specific collection
searchstringText search across post content (case-insensitive)
sort_bystringSort field
sort_dirstringSort direction

get_profile_summary Get Profile Summary

[Read · free] Get KPI summary for a tracked profile: total posts, average engagement (broken down by likes/comments/shares/conversation rate), posts per week, engagement trend, top format, and posting goal status.

ParameterTypeDescription
profile_id *stringTracked profile ID from list_profiles

get_posting_insights Get Posting Insights

[Read · free] Get optimal posting patterns for a profile: best day of week, best hour, format performance breakdown, and character length sweet spot. Includes full metric breakdown (likes, comments, shares, conversation rate) for every bucket. All metrics relative to the user's own baseline. Pass `scope` (a post_collections.id) to recompute the patterns against a specific collection.

ParameterTypeDescription
profile_id *stringTracked profile ID from list_profiles
date_fromstringStart date (ISO 8601)
date_tostringEnd date (ISO 8601)
scopestringOptional post_collections.id to scope the analysis

get_topic_insights Get Topic Insights

[Read · free] Surface the most-frequent topics in a profile's posts, with engagement context. Returns top N unigrams and (optionally) top N bigrams ranked by post count, each with avg_engagement, vs_baseline, and a sample_post_url. Mirrors the dashboard topics chart, server-side. Pass `scope` (a post_collections.id) to scope the analysis to a collection.

ParameterTypeDescription
profile_id *stringTracked profile ID from list_profiles
bigramsbooleanAlso compute and return top bigrams (default true)
date_fromstringStart date (ISO 8601)
date_tostringEnd date (ISO 8601)
nintegerMax terms per list (default 15)
scopestringOptional post_collections.id to scope the analysis

search_posts Search Posts

[Read · free] Keyword + semantic search over persisted posts in the local library — full-text + pgvector cosine, no LinkedIn pull, free. Use this when the caller has a query string and wants ranked persisted-post results. Pass `scope` (a post_collections.id) to limit to a specific collection. For fresh LinkedIn keyword pulls, use `linkedin_post_search` instead (5 credits).

ParameterTypeDescription
profile_id *stringTracked profile ID from list_profiles
query *stringSearch query (e.g. 'cybersecurity tips', 'leadership')
limitnumberMax results to return
modestringSearch mode: hybrid (keyword + semantic), keyword (FTS only), or semantic (embedding similarity only)
scopestringOptional post_collections.id to restrict results to a collection

get_credit_balance Get Credit Balance

[Meta · free] Return the authenticated user's current credit balance, the current calendar month's credit period (UTC), that month's allocation if one was granted (null otherwise), credits used since the period started, and the most recent allocation. Free.

get_usage_history Get Usage History

[Meta · free] Return recent credit_ledger transactions for the authenticated user. Filter by tool name, reason, or date range. Paginated. Free.

ParameterTypeDescription
date_fromstringStart date (ISO 8601)
date_tostringEnd date (ISO 8601)
limitnumberMax rows to return
reasonstringFilter by ledger reason
tool_namestringFilter to a specific MCP tool

get_cost_estimate Get Cost Estimate

[Meta · free] Preview what a tool call will cost before running it. Pass tool_name plus the params you intend to call it with: variable-cost tools (get_post_set_engagers, map_constellation, enrich_people, linkedin_profile_posts, linkedin_company_posts, linkedin_post_reactions, linkedin_post_comments, run_stream_now) are priced from those params with the same formula the tool's balance pre-check uses. Returns { tool_name, cost_max, cost_typical?, unit, explanation, cost (= cost_max), balance, sufficient, known_tool }. cost_max is the worst case the balance must cover; cost_typical is what such…

ParameterTypeDescription
tool_name *stringMCP tool name (e.g. 'get_post_set_engagers') or stream type (e.g. 'external_profile')
paramsobjectThe params you plan to call the tool with. Examples: get_post_set_engagers { profile_id | collection_id | post_ids / post_urls, max_posts, max_pages_per_post, max_enrich, freshness_days } (with a scop…

create_stream Create Stream

[Act · writes · schedules paid runs] Create a new research stream (external profile, company, topic, person interests, hiring signals, or ad watch). Running the stream on its schedule costs credits (see get_cost_estimate for the per-type cost). own_profile streams are not created here — they come from subscription checkout.

ParameterTypeDescription
name *stringUser-facing label for this stream
type *stringStream type
history_daysintegerHow far back the first run should reach, in days. Bounds the walk by TIME where initial_max_pages bounds it by COST — the run stops at whichever limit it hits first, so pair a window with enough pag…
initial_max_pagesintegerOpt-in deep first-run for external_profile, company and person_interests streams (1-5, default 1). A budget, not a price — you are billed for pages actually walked. A page is ~50 posts for profile/c…
paramsobjectType-specific config: topic uses {query, authorsIndustryId?, contentType?, postedLimit?, sortBy?}; hiring_signals/ad_watch use {company?, keywords?, ...}
schedulestringRun schedule. Defaults to 'weekly'. 'monthly' runs every 30 days — the cheapest recurring cadence, and the usual choice for client profiles reported on monthly.
source_urlstringLinkedIn URL for external_profile / company / person_interests streams

list_streams List Streams

[Read · free] List all research streams for the authenticated user (external profiles, companies, topics, person interests, hiring signals, ad watches, and own_profile). Pass `type` to filter. Replaces list_profiles for the streams-first world, but list_profiles continues to work for V1-compatible callers.

ParameterTypeDescription
include_inactivebooleanInclude paused streams (active = false)
typestringFilter by stream type

get_stream_feed Get Stream Feed

[Read · free] Return the most recent posts a stream has collected into the library, newest first by published_at. Use this to browse what a topic / external profile / person_interests / company stream has surfaced on its schedule.

ParameterTypeDescription
stream_id *stringStream ID from list_streams
limitnumberMax posts to return

pause_stream Pause Stream

[Act · writes] Pause a stream so it stops running on its cron schedule. Existing posts remain in the library. Use resume_stream to re-enable it. own_profile streams are billing-managed and cannot be paused here.

ParameterTypeDescription
stream_id *stringStream ID from list_streams

resume_stream Resume Stream

[Act · writes] Resume a paused stream. Sets active=true and queues it to run on the next cron tick by clearing next_run_at. own_profile streams are billing-managed and cannot be resumed here.

ParameterTypeDescription
stream_id *stringStream ID from list_streams

delete_stream Delete Stream

[Act · writes · destructive] Delete a stream and its stream_runs. Posts collected by the stream stay in your library (stream_id is set to NULL via ON DELETE SET NULL) so historical data isn't lost. Auto-collection is deleted with the stream. own_profile streams cannot be deleted through this tool; the own profile is managed from Settings and billing.

ParameterTypeDescription
stream_id *stringStream ID from list_streams

run_stream_now Run Stream Now

[Acquire · stream price/page] Trigger an immediate run of an active stream, bypassing its schedule. The run is fire-and-forget — the response confirms the dispatch but post collection happens asynchronously. Credits are charged for pages actually walked, not pages requested: one page is taken upfront and the rest settled when the run finishes, so a run that stops early (or fails) costs less than max_pages implies. Paused streams must be resumed first. Use list_streams or get_stream_feed to see results once the run completes.

ParameterTypeDescription
stream_id *stringStream ID from list_streams
history_daysintegerHow far back this run should reach, in days. Bounds the walk by TIME where max_pages bounds it by COST — it stops at whichever limit it hits first, so pair a deep window with enough pages to reach i…
max_pagesintegerUpper bound on pages for this run (1-5, default 1) — a budget, not a price. Honoured for external_profile, company and person_interests. You are billed only for pages actually walked; a person_inter…
resumebooleanContinue a person_interests backfill from where the deepest previous run stopped, instead of re-walking the newest pages. Use this for 'pull more history' — without it you re-fetch and re-pay for co…

linkedin_profile_info LinkedIn Profile Info

[Acquire · 5 credits] Fetch a LinkedIn person profile (headline, current role, work history, education, location). Costs 5 credits per call. Results are upserted into `people` (structured fields) and `linkedin_profiles` (so profile-brief renders) — same enrichment side-effect as the other linkedin_profile_* tools.

ParameterTypeDescription
linkedin_url *stringLinkedIn profile URL (e.g. https://www.linkedin.com/in/username)
refreshbooleanBypass the cache and fetch a fresh copy from LinkedIn (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved.

linkedin_profile_posts LinkedIn Profile Posts

[Acquire · 5 credits/page] Fetch recent posts from a LinkedIn person profile. 5 credits per page of 50, up to 250 posts, charged only for pages actually fetched. Results are stored in the post library (source_type='external') and linked to a linkedin_profiles row so profile-brief can render research-only prospects.

ParameterTypeDescription
linkedin_url *stringLinkedIn profile URL (e.g. https://www.linkedin.com/in/username)
max_postsnumberMaximum posts to return (1-250). 5 credits per page of 50, charged only for pages actually fetched.
refreshbooleanBypass the cache and re-fetch from LinkedIn (5 credits per page of 50, charged only for pages actually fetched). Default false: a previously-fetched result is returned free, with how long ago it was r…

linkedin_company_posts LinkedIn Company Posts

[Acquire · 5 credits/page] Fetch recent posts from a LinkedIn company page. 5 credits per page of 50, up to 250 posts, charged only for pages actually fetched. Results are stored in the post library (source_type='external') and linked to a linkedin_profiles row (profile_type='company').

ParameterTypeDescription
linkedin_url *stringLinkedIn company URL (e.g. https://www.linkedin.com/company/acme)
max_postsnumberMaximum posts to return (1-250). 5 credits per page of 50, charged only for pages actually fetched.
refreshbooleanBypass the cache and re-fetch from LinkedIn (5 credits per page of 50, charged only for pages actually fetched). Default false: a previously-fetched result is returned free, with how long ago it was r…

linkedin_post_search LinkedIn Post Search

[Acquire · 5 credits] Search LinkedIn posts by keyword. Costs 5 credits per call. Returns a single page of matching posts, each with a post_id (stored as a stub, no extra credit) you can pass to get_post_set_engagers to pull who engaged; _meta.next_step has that call ready.

ParameterTypeDescription
query *stringSearch query / keywords
filtersobjectOptional filters
refreshbooleanBypass the cache and re-run the search live (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved.

linkedin_profile_reactions LinkedIn Profile Reactions

[Acquire · 5 credits] Fetch the recent posts a LinkedIn person has reacted to. Useful for inferring interests. Costs 5 credits per call.

ParameterTypeDescription
linkedin_url *stringLinkedIn profile URL of the person whose reactions you want
refreshbooleanBypass the cache and re-fetch from LinkedIn (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved.

linkedin_profile_comments LinkedIn Profile Comments

[Acquire · 5 credits] Fetch the recent posts a LinkedIn person has commented on. Useful for inferring interests and conversation partners. Costs 5 credits per call.

ParameterTypeDescription
linkedin_url *stringLinkedIn profile URL of the person whose comments you want
refreshbooleanBypass the cache and re-fetch from LinkedIn (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved.

linkedin_company_info LinkedIn Company Info

[Acquire · 1 credit] Fetch one LinkedIn company (numeric id, name, industry, size, location, website, description). Costs 1 credit per call. Use it to resolve a company to its numeric LinkedIn `id`, which linkedin_people_search (`company`) and linkedin_job_search (`companyId`) take for an exact company match. Look up by `linkedin_url` when you have it: a lookup by `name` returns the best match, which can be a different company with a similar name. The company is saved to `companies`.

ParameterTypeDescription
linkedin_urlstringLinkedIn company URL (e.g. https://www.linkedin.com/company/acme). Most reliable.
namestringCompany name (e.g. 'Acme Analytics'). Returns the best match; check the returned name and URL.
refreshbooleanBypass the cache and fetch a fresh copy from LinkedIn (costs 1 credit). Default false: a previously-fetched result is returned free, with how long ago it was retrieved.
universal_namestringThe slug from the company URL (e.g. 'acme' for linkedin.com/company/acme).

linkedin_post_reactions LinkedIn Post Reactions

[Acquire · 1 credit/page] Fetch the people who reacted to a single LinkedIn post. Costs 1 credit per page of up to 100 reactions, walking up to max_pages pages (default 10), so at most max_pages credits; cached pages are free. The output's fetched / total_available / truncated fields say when the post had more reactions than were fetched. Engagers (with reaction kind) are persisted to the post_engagements graph so subsequent queries about who-engages-with-whom are SQL, not API calls.

ParameterTypeDescription
post_url *stringPublic LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234)
max_pagesintegerMax pages of up to 100 reactions to fetch (1-20, default 10). Each page costs 1 credit.
refreshbooleanBypass the cache and re-fetch from LinkedIn (costs 1 credit per page). Default false: previously-fetched pages are returned free, with how long ago they were retrieved.

linkedin_post_comments LinkedIn Post Comments

[Acquire · 1 credit/page] Fetch the people who commented on a single LinkedIn post (and their comment text), including replies to comments. Costs 1 credit per page of up to 100 comments, walking up to max_pages pages (default 10), so at most max_pages credits; cached pages are free. The output's fetched / total_available / truncated fields say when the post had more comments than were fetched. Each comment and reply is persisted to post_engagements with the commenter and full comment text.

ParameterTypeDescription
post_url *stringPublic LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234)
max_pagesintegerMax pages of up to 100 comments to fetch (1-20, default 10). Each page costs 1 credit.
refreshbooleanBypass the cache and re-fetch from LinkedIn (costs 1 credit per page). Default false: previously-fetched pages are returned free, with how long ago they were retrieved.

find_similar_posts Find Similar Posts

[Read · free] Find persisted posts whose embeddings are nearest to a free-text query — pgvector cosine over the local post library, no LinkedIn pull, free. Use when you have a *block of text* (a draft, a paragraph, a competitor's post) and want similar posts you've already collected. For keyword search prefer `search_posts`; for fresh LinkedIn keyword pulls use `linkedin_post_search`. Pass `profile_id` to scope to a tracked profile, `collection_id` to scope to a collection, or neither to search the entire library.

ParameterTypeDescription
text *stringText to find similar posts for
collection_idstringOptional post_collections.id (scopes search to this collection's members)
limitnumberMax results to return (1-50, default 5)
profile_idstringOptional tracked profile ID from list_profiles (scopes search to this profile's posts)

score_draft Score Draft

[Read · free] Predict how a draft post will perform against the user's historical data. Uses an OLS regression model with detrending, ridge regularization, and recency weighting — the same model used on the /score page. Returns a predicted engagement percentile, projected engagement range, factor breakdown, similar past posts, and improvement suggestions. Free. Pass `profile_id` to scope to a tracked profile, `collection_id` to scope to a collection, or neither to score against the user's full library.

ParameterTypeDescription
day_of_week *numberPlanned day of week (0=Sunday, 6=Saturday, UTC)
hour *numberPlanned hour (0-23, UTC)
text *stringDraft post text
collection_idstringOptional post_collections.id (scopes the model to this collection)
formatstringPost format: text, image, video, document, article, or poll
profile_idstringOptional tracked profile ID (scopes the model to this profile's posts)

suggest_angles Suggest Angles

[Read · 5 credits] Given a topic, suggest distinct content angles informed by what performs well in the user's scoped data. Pulls top-performing historical posts as context and calls OpenAI to generate 5 concrete angles. Costs 5 credits per call. Pass `profile_id` to scope to a tracked profile, `collection_id` to scope to a collection, or neither to use the user's full library.

ParameterTypeDescription
topic *stringTopic or theme to generate angles for (e.g. 'onboarding new hires', 'pricing strategy')
collection_idstringOptional post_collections.id (scopes to this collection's members)
profile_idstringOptional tracked profile ID (scopes to this profile's posts)

list_segments List Audience Segments

[Read · free] List all audience segments for the authenticated user, with member counts. Audience segments are named groups of people (e.g. 'ICP — VPs of Marketing', 'Champions'). Free — costs 0 credits.

ParameterTypeDescription
typestringOptional filter by segment type ('manual', 'smart', or 'auto_stream')

create_segment Create Audience Segment

[Act · writes] Create a new audience segment (named group of people) for the authenticated user. Set type='manual' for a hand-curated list (use add_to_segment to populate it), type='smart' with a `config` predicate (e.g. {title_contains:['VP','Chief']}) to define a dynamic segment resolved on-demand by resolve_segment, or pass `template` to pre-fill `config` from a built-in template (type defaults to 'smart'). Smart segments only match people connected to you: people who engaged with posts you can see in Flux (your own profile, tracked/monitored profiles, and posts you collected) and people i…

ParameterTypeDescription
configobjectPredicate object for smart segments. Supported keys: title_contains, company_contains. Each takes a non-empty string or an array of 1-20 non-empty strings (case-insensitive substring match; an array m…
descriptionstringOptional longer description
namestringUser-facing segment name. Optional when `template` is supplied — the template's default name is used.
source_stream_idstringOptional stream that produced this segment (for traceability)
templatestringOptional pre-built template id. Available: 'vp_plus' (VP+ decision-makers), 'c_suite' (C-suite executives), 'heads_of' ('Head of' leaders), 'founders' (Founders & co-founders), 'fintech_leaders' (Fint…
typestringSegment type. 'manual' = hand-curated person list. 'smart' = dynamic predicate (requires `config`). 'auto_stream' = system-managed from a stream. Defaults to 'smart' when `template` is provided.

add_to_segment Add People to Audience Segment

[Act · writes] Add one or more people (by person_id) to a manual audience segment. Existing members are silently ignored. Smart segments are rejected: their membership is computed from `config` by resolve_segment. Unknown person_ids are rejected as a whole (nothing is added). Free — costs 0 credits.

ParameterTypeDescription
person_ids *arrayperson_ids to add (1-1000 per call)
segment_id *stringTarget segment id from list_segments

remove_from_segment Remove People from Audience Segment

[Act · writes · destructive] Remove one or more people (by person_id) from a manual audience segment. Missing members are silently ignored. Smart segments are rejected: their membership is computed from `config` by resolve_segment. Free — costs 0 credits.

ParameterTypeDescription
person_ids *arrayperson_ids to remove (1-1000 per call)
segment_id *stringTarget segment id from list_segments

resolve_segment Resolve Audience Segment

[Read · free] Resolve an audience segment into a concrete list of person_ids. For manual / auto_stream segments, returns stored members. For smart segments, evaluates the segment's `config` predicate (title_contains / company_contains) and returns matches ordered by engagement with your posts. Smart segments only match people connected to you: people who engaged with posts you can see in Flux (your own profile, tracked/monitored profiles, and posts you collected) and people in your campaigns' constellations. Free — costs 0 credits.

ParameterTypeDescription
segment_id *stringSegment id (from list_segments / create_segment)
limitintegerMax person_ids to return (default 1000)

list_segment_templates List Segment Templates

[Meta · free] List available smart-segment templates. Pass a template id to create_segment to pre-fill its `config` predicate without crafting one from scratch. Each template's description states exactly what its config matches; like every smart segment, it only matches people connected to you (engagers on your visible posts and people in your campaigns). Free — costs 0 credits.

get_alerts Get Stream Alerts

[Read · free] Return recent alerts for the authenticated user's streams. An alert is emitted whenever a scheduled stream run surfaces new items. Pass `unread_only=true` to skip alerts the user has already marked read. Free — costs 0 credits.

ParameterTypeDescription
limitintegerMax alerts to return (default 50)
unread_onlybooleanReturn only alerts that have not been marked read

create_collection Create Post Collection

[Act · writes] Create a new post collection for the authenticated user. Set type='manual' to hand-curate posts with add_to_collection, or type='smart' with a `config` predicate (e.g. {format:'video',min_likes:50}) to define a dynamic collection resolved on-demand by resolve_collection. Free — costs 0 credits.

ParameterTypeDescription
name *stringUser-facing collection name
type *string'manual' = hand-curated post list. 'smart' = dynamic predicate (requires `config`).
configobjectPredicate for smart collections. Supported keys: format, min_likes, min_comments, date_after, date_before, topic_contains, author_profile_id, profile_ids (array — posts whose profile_id is in the se…
descriptionstringOptional longer description

add_to_collection Add Posts to Collection

[Act · writes] Pin one or more posts (by post_id) into a collection you own — works on any collection type. On a 'manual' collection this is the only membership mechanism; on a 'smart' collection it adds the posts as extras alongside whatever the rule already matches (resolve_collection returns the union). Existing members are silently ignored. Free — costs 0 credits.

ParameterTypeDescription
collection_id *stringTarget collection id from list_collections
post_ids *arraypost_ids to add (1-1000 per call)

remove_from_collection Remove Posts from Collection

[Act · writes · destructive] Remove one or more posts (by post_id) from a collection. Missing members are silently ignored. Free — costs 0 credits.

ParameterTypeDescription
collection_id *stringTarget collection id from list_collections
post_ids *arraypost_ids to remove (1-1000 per call)

list_collections List Post Collections

[Read · free] List all post collections for the authenticated user, with member counts. Includes manual collections, smart collections (predicate-based), and auto_stream collections (system-managed). Free — costs 0 credits.

ParameterTypeDescription
typestringOptional filter by collection type

resolve_collection Resolve Post Collection

[Read · free] Resolve a post collection into a concrete list of post_ids. For manual / auto_stream collections, returns stored members. For smart collections, evaluates the collection's `config` predicate against the user's posts and returns matches. Free — costs 0 credits.

ParameterTypeDescription
collection_id *stringCollection id (from list_collections / create_collection)
limitintegerMax post_ids to return (default 1000)

create_campaign Create Campaign

[Act · writes] Create a Constellation outreach campaign. A campaign groups target accounts, the people you care about at those accounts, and the warm connections you could approach to reach them. Free — costs 0 credits.

ParameterTypeDescription
name *stringUser-facing campaign name
descriptionstringOptional longer description

add_campaign_accounts Add Campaign Accounts

[Act · writes] Add one or more target companies to a Constellation campaign. Each account is a company you want to reach; map_constellation is then run per-account. Accounts already in the campaign (same linkedin_company_id, or same case-insensitive trimmed company_name) and repeats within the same call are not re-added; they are returned under `skipped`. Free — costs 0 credits.

ParameterTypeDescription
accounts *arrayArray of companies to add (1-500 per call)
campaign_id *stringTarget campaign id

map_constellation Map Constellation

[Acquire · 1 + 3×targets credits] Map the professional graph around a target company. Finds senior decision-makers at the account, pulls each target's recent posts/reactions/comments to identify engagers, then scores every connection and produces a prioritized outreach queue. The response lists the selected `targets` (target_id, person_id, full_name, current_title, linkedin_url) and `_meta.next_step(s)`: get_outreach_queue for the scored queue, then get_outreach_path (free) to check warm paths to the top targets. Pools: coworker = other senior people at the same account from the lead search…

ParameterTypeDescription
campaign_account_id *stringcampaign_accounts.id — the company to map
max_targetsintegerMax targets to deep-map per account (1-20, default 5). Each target adds up to 3 credits.
title_keywordsarrayTitle keywords to filter targets. Default: ['VP','Director','Head of','Chief']

score_connections Score Connections

[Act · writes] Re-score all constellation entries in a campaign and rewrite queue positions from highest to lowest composite score. Use after new engagers or targets are added. Free — costs 0 credits. Note: this tool requires a `campaign_id` because it writes back to the `constellation_entries` table. Segment- and url-list-scoped scoring is not yet supported — use `get_outreach_queue({segment_id})` or `get_outreach_queue({linkedin_urls})` for engagement-count ordering on those scopes; full composite scoring will land alongside the unified person-positions schema in a later phase.

ParameterTypeDescription
campaign_id *stringCampaign id to re-score

get_outreach_queue Get Outreach Queue

[Read · free] Return a prioritized outreach queue. Provide *exactly one* of three scopes: • `campaign_id` — full Constellation queue, one row per person (their best entry's composite_score, pool, recommended_action), with `targets[]` listing every target they connect to ({target_id, entry_id, composite_score, pool, recommended_action, target_person: {person_id, full_name, current_title}}) and prior outreach_log entries. Pools: coworker = same company as the target (no relationship implied), engager = someone the target engages with, mutual = someone several targets engage with. Pass a tar…

ParameterTypeDescription
campaign_idstringCampaign id (full Constellation scoring)
limitintegerMax entries to return (1-200, default 50)
linkedin_urlsarrayAd-hoc LinkedIn URL list (engagement-count scoring); max 200
poolstringOptional filter: only return entries in this pool. Only meaningful for `campaign_id` scope; ignored for segment / urls.
segment_idstringAudience segment id (engagement-count scoring)

get_engagement_brief Get Engagement Brief

[Read · free] For one person, return their recent posts most relevant to what you post about — plus suggested talking points. Use before a warm comment or DM. Free — costs 0 credits. Identify the person via *exactly one* of: `target_id` (a Constellation target — original input), `person_id` (a row in `people`), or `linkedin_url` (any form). The non-campaign forms work even when no Constellation campaign exists.

ParameterTypeDescription
linkedin_urlstringLinkedIn profile URL (vanity or encoded form) — auto-resolved to a people row
person_idstringpeople.id — when you already have the canonical person row
target_idstringConstellation targets.id — for the original campaign-scoped flow

log_outcome Log Outcome

[Act · writes] Record an outcome by hand. Two kinds. • Outbound (campaign outreach): action sent_request | accepted | replied | no_response with campaign_id and exactly one of person_id or linkedin_url (any profile URL form). The person must be connected to you (in one of your campaigns or segments, engaged with posts you can see in Flux, or pulled by you); anyone else returns not-found with a next_step to pull their profile via linkedin_profile_info. A person outside this campaign's mapped constellation is still logged (with a `warning`) and get_campaign_stats counts it under `unattributed…

ParameterTypeDescription
action *stringOutbound: sent_request | accepted | replied | no_response. Inbound: inbound_dm | lead | client
campaign_idstringOutbound only, required there: campaign id
linkedin_urlstringLinkedIn profile URL of the person. Outbound: provide this or person_id. Inbound: optional (the sender)
message_textstringInbound: the DM or message text; paste the whole conversation if you have it
notestringOptional free-text note
occurred_atstringInbound: when it happened, ISO 8601 (for a pasted DM, the first message's date). Defaults to now
outcome_idstringInbound correction: the id of an inbound outcome you logged, with post_url
person_idstringpeople.id of the person. Outbound: provide this or linkedin_url. Inbound: optional
post_urlstringInbound: URL of your post that prompted it, when the user knows. With outcome_id, corrects an earlier inbound outcome
profile_idstringInbound only, required there: your tracked profile id from list_profiles

get_campaign_stats Get Campaign Stats

[Read · free] Summary stats for a Constellation campaign: target count, entry count, outreach volume, and acceptance / reply rates broken down by pool (coworker / engager / mutual) and composite-score tier. Outcomes logged for people who are not campaign entries are counted under an `unattributed` bucket in both by_pool and by_tier, so breakdowns always sum to the totals. Free — costs 0 credits.

ParameterTypeDescription
campaign_id *stringCampaign id

get_inbound_attribution Get Inbound Attribution

[Read · free] Which of your posts bring in DMs, leads and clients, next to which get engagement. Reads the inbound outcomes logged with log_outcome (inbound_dm | lead | client) for one of your tracked profiles over the last `days` (default 90). Returns totals, top_by_outcomes (posts credited with at least one outcome), top_by_engagement (your most-engaged posts in the window, with their outcome counts, so the two rankings can be compared), by_format, and the unattributed outcomes still waiting for a post (fix with log_outcome outcome_id + post_url). Engagement is not used to attribute: outcom…

ParameterTypeDescription
profile_id *stringYour tracked profile id from list_profiles
daysintegerLook-back window in days (default 90)

save_post Save LinkedIn Post

[Acquire · 1 credit · writes] Save a LinkedIn post to your library by its URL. Resolves the post and stores it with source_type='saved'. Optionally pins the post into any collection you own (manual or smart — pinning into a smart collection adds it as an extra alongside the rule's matches). Costs 1 credit per call. Failed lookups don't charge.

ParameterTypeDescription
url *stringPublic LinkedIn post URL. Accepts linkedin.com/posts/... permalinks and linkedin.com/feed/update/urn:li:activity:... feed URLs.
collection_idstringOptional collection UUID to pin the post into. Must be a collection you own — any type.

get_post_engagers_by_company Engagers Grouped by Company

[Read · free] Given a LinkedIn post URL or id, return the companies whose people engaged (reacted/commented), ranked by engager count. Joins through person_positions(is_current=true). Pure DB read — no LinkedIn pull, no credits charged. Engagers without a known current company are bucketed as `_unknown_company`. Optional industry_urn filter narrows to one industry.

ParameterTypeDescription
industry_urnstringOptional urn:li:fsd_industry:<id> filter (from companies.industry_urn)
limitintegerMax companies to return (1-100, default 20)
post_idstringposts.id UUID (use when you already know the local id)
post_urlstringPublic LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234)
top_engagers_per_companyintegerHow many sample engager names to attach per company row (0-10, default 3)

get_engagement_industry_breakdown Engagement Industry Breakdown

[Read · free] Histogram of engagers' companies grouped by industry. Pivots on companies.industry_hierarchy (e.g. 'Tech > Software Development'). Depth=1 buckets by top-level, =2 by top+mid, =3 by full hierarchy. Engagers with no current company / no industry hierarchy bucket as `_unknown`. Pure DB read — no LinkedIn pull, no credits charged. Needs engagers synced first: if the post(s) have no recorded engagements, run `get_post_set_engagers` (1 credit per page, works on a collection or profile) as the usual first step; `linkedin_post_reactions` / `linkedin_post_comments` (1 credit per page…

ParameterTypeDescription
depthinteger1=top-level industry, 2=mid, 3=leaf (full hierarchy)
post_idstringposts.id UUID
post_urlstringPublic LinkedIn post URL
sample_companies_per_bucketintegerHow many sample company names to attach per industry row (0-10, default 3)

get_alumni_engagers Alumni / Coworker Engagers for a Company

[Read · free] Given a company (company_url, LinkedIn's numeric linkedin_company_id as linkedin_company_info returns it, an exact company_name, or a companies.id UUID), return engagers (across your collected posts) who have a position at that company. Relation filter: 'coworker' = current employees, 'alumni' = any past or current position (most useful for page_type='SCHOOL' companies), 'any' = both. Matches need job history on file, and engagers collected from reactions/comments usually have none: `coverage` counts candidates (engagers whose headline or current company names the company) with…

ParameterTypeDescription
company_idstringcompanies.id UUID
company_namestringExact company name, case-insensitive. Several matches return candidates.
company_urlstringPublic LinkedIn company URL
limitintegerMax engagers to return (1-100, default 20)
linkedin_company_idstring | numberLinkedIn's numeric company id (the `id` linkedin_company_info returns)
relationstringcoworker = current employees only; alumni = any position (past or current); any = both

get_engager_position_history Engager Position History

[Read · free] Return a person's full employment timeline from the position graph. Only for people connected to you: they engaged with posts you can see in Flux, are in one of your campaigns or segments, or you pulled them (an engagement pull, or their profile via linkedin_profile_info / linkedin_profile_posts). Anyone else returns not-found with a next_step to pull their profile via linkedin_profile_info. Sorted current-first, then most-recent past by started_at desc. Pure DB read — no LinkedIn pull, no credits charged.

ParameterTypeDescription
linkedin_urlstringPerson's LinkedIn profile URL
person_idstringpeople.id UUID

get_target_warmth_brief Target Warmth Brief

[Read · free] For a target person, summarize all engagement evidence between them and your collected posts: posts they reacted to, posts they commented on, frequency, recency, reaction kinds, comment text snippets. Computes a v0 warmth score from engagement count, comment signal, and recency. Pure DB read — no LinkedIn pull, no credits charged.

ParameterTypeDescription
days_backintegerHow far back to look at engagements (default 90)
linkedin_urlstringTarget's LinkedIn profile URL
person_idstringpeople.id UUID

traverse_graph_help Engagement Graph Schema + Examples (for traverse_graph)

[Meta · free] Returns the schema, FK edges, and 5 canonical SQL examples needed to write your own SELECT against the engagement graph via traverse_graph. Also returns YOUR resolvable identities (caller_user_ids, caller_tracked_lp_ids) — substitute these into example SQL when you write your query. Pure DB read — 0 credits. Free.

traverse_graph Execute a SELECT against the Engagement Graph

[Read · free] Executes a TS-validated SELECT-only SQL query against the engagement graph and returns rows. Needs the schema and the caller_user_ids / caller_tracked_lp_ids that traverse_graph_help returns (it also has canonical examples). Required: SQL must start with SELECT or WITH, contain no DML/DDL keywords, and reference one of your caller_user_ids or caller_tracked_lp_ids verbatim. Cap: 1000 rows, 5s statement timeout. Pure DB read — 0 credits.

ParameterTypeDescription
sql *stringThe SELECT/WITH SQL to execute

get_company_engagement_overlap Company Engagement Overlap

[Read · free] Given two companies, return the people who engaged (reacted or commented) with posts published by BOTH companies' own LinkedIn pages, counting only company-page posts and engagers already collected in your library. Use it to find people interested in two target accounts at once. It does NOT compare which employees of each company engage with you (for that, use get_post_engagers_by_company). It needs data collected first: each company's page posts (a company stream, or linkedin_company_posts) and their engagers (get_post_set_engagers on those posts, or linkedin_post_reactions / l…

ParameterTypeDescription
company_a_idstringCompany A — companies.id UUID
company_a_linkedin_idstring | numberCompany A — LinkedIn's numeric company id (from linkedin_company_info)
company_a_namestringCompany A — exact company name, case-insensitive
company_a_urlstringCompany A — LinkedIn URL
company_b_idstringCompany B — companies.id UUID
company_b_linkedin_idstring | numberCompany B — LinkedIn's numeric company id (from linkedin_company_info)
company_b_namestringCompany B — exact company name, case-insensitive
company_b_urlstringCompany B — LinkedIn URL
limitintegerMax overlapping engagers to return (1-100, default 20)

get_outreach_path Outreach Path to Target

[Read · free] Given a target person, find the shortest warm-intro path through your engager network. Walks coworker (shared current company) + alumni (shared past company / school) edges. Up to 3 hops. Paths only exist where job history is on file, and engagers collected from reactions/comments usually have none: the response's `coverage` says how many candidates (the target, and engagers tied to the target's companies) have job history, and when missing data may hide paths `_meta.next_step` names enrich_people with the exact person_ids to pass and its credit cost. Pure DB read — no LinkedI…

ParameterTypeDescription
limitintegerMax paths to return (default 10)
max_hopsintegerMax path length (1=direct, 2=one intermediate, 3=two intermediates). Default 2.
target_linkedin_urlstringTarget — LinkedIn URL
target_person_idstringTarget — people.id UUID

get_post_set_engagers Get Post-Set Engagers

[Acquire · 1 credit/page + 3/person enriched] Pull from LinkedIn (costs credits) and return the consolidated, deduped people who reacted to or commented on a SET of posts — one tracked profile's posts (profile_id), a post collection (collection_id), or an explicit list of up to 50 posts (post_ids and/or post_urls, e.g. the post_ids linkedin_post_search returns; a URL not yet in Flux is stubbed for free, no save_post needed). Fetches only posts not synced within freshness_days, walks up to max_pages_per_post pages (100 people/page) of reactions and of comments per post, includes comment repl…

ParameterTypeDescription
collection_idstringpost_collections.id — engagers across this collection's posts
forcebooleanRe-sync posts even if within the freshness window
freshness_daysintegerSkip posts whose engagers were synced within this many days
max_enrichintegerMax never-seen engagers to enrich via /linkedin/profile (0-100, default 0)
max_pages_per_postintegerMax pages (100 people each) to walk per endpoint per post (1-20, default 10). Each page costs 1 credit.
max_postsintegerMax posts to sync this call (1-100). Default 25; with post_ids/post_urls the default is the list length.
post_idsarrayposts.id values (e.g. from linkedin_post_search results) — engagers across exactly these posts. Combine with post_urls; 50 total max. Each must be a post you can read.
post_urlsarrayLinkedIn post URLs — engagers across exactly these posts. URLs not yet in Flux get a stub row (no extra credit). Combine with post_ids; 50 total max.
profile_idstringTracked profile id — engagers across this profile's stored posts

enrich_people Enrich People (job history)

[Acquire · 3 credits/person enriched] Look up full LinkedIn profiles for up to 100 people and store their current title, company, headline and job history (every position). Job history is what get_outreach_path (coworker / alumni paths) and get_alumni_engagers search, and engagers collected from reactions/comments have none until enriched — when those tools report missing coverage they return a _meta.next_step with the exact person_ids to pass here. Pass person_ids (people.id from any engager / path tool) and/or linkedin_urls. Costs 3 credits per person successfully enriched. People you alr…

ParameterTypeDescription
linkedin_urlsarrayLinkedIn profile URLs to enrich; people not yet in the graph are added
max_creditsintegerSpend cap. At most floor(max_credits / 3) people are looked up; the rest come back skipped_budget.
person_idsarraypeople.id UUIDs to enrich (1-100)
refreshbooleanRe-enrich people enriched within the last 90 days (bypasses the cache)

resolve_people Resolve People

[Read · free] Resolve up to 200 LinkedIn profile URLs and/or person_ids to people in your Flux graph, free. Each result has person_id, the stored LinkedIn URL, matched_via (exact / canonical / member_id / public_identifier / none), name, current title and company, and coverage: has_positions (job history on file), enriched_at, engaged_with_you (engagements on your posts), in_campaigns (how many of your campaigns include them) and connected_via (engaged / campaign / segment / pulled). Only people connected to you resolve: someone who engaged with posts you can see, is in your campaigns or segm…

ParameterTypeDescription
linkedin_urlsarrayLinkedIn profile URLs, any form (vanity, /in/ACo…, trailing slash, utm params). 1-200.
person_idsarraypeople.id UUIDs. 1-200.

resolve_company Resolve Company

[Read · free] Look up a company saved in Flux by exactly one of name (case-insensitive exact match), linkedin_url, linkedin_company_id (LinkedIn's numeric id) or company_id, free. Returns company_id, linkedin_company_id, name, linkedin_url, page_type and coverage for you: connected_people_current (people connected to you, meaning they engaged with posts you can see, are in your campaigns or segments, or you pulled or enriched them, who hold a current position there) and engagers_current (those of them who engaged with your posts, with their engagement total). A name shared by several saved co…

ParameterTypeDescription
company_idstringcompanies.id UUID
linkedin_company_idstring | numberLinkedIn's numeric company id, as linkedin_company_info returns it
linkedin_urlstringCompany LinkedIn URL (linkedin.com/company/…)
namestringCompany name, exact and case-insensitive