Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

Server Details

LinkedIn MCP with 47 tools: post, comment, DM and run comment-to-DM automations inside your limits.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
ChatGPT
–
Claude
–

TDQS

A3.7/5.0

Scored across 58 tools

Disambiguation3/5

Many tools are distinct by resource and scope (personal vs Company Page variants, X vs LinkedIn scheduling, different post sources like feed / search_posts / list_person_posts / discover_lead_magnets), and the descriptions explicitly cross-reference each other. However there are real duplicates: send_connection_request vs manage_connections(action:'connect'), set_daily_dm_limit vs manage_activity_limits(action:'update'), comment_on_post vs engage_with_comment(action:'reply'), and three different paths to create automation settings (create_automation, manage_automation_templates, schedule_post_with_automation). An agent must read long descriptions carefully to pick correctly.

Naming Consistency3/5

Case style is uniformly snake_case, which helps, but verb conventions are mixed: verb_noun tools (create_automation, list_signals, edit_scheduled_post) sit alongside bare-noun tools (feed, search, enrich, icp_fit) and a large 'manage_*' family that multiplexes many actions behind an action parameter while sibling capabilities use dedicated verbs. The result is readable but not predictable.

Tool Count2/5

58 tools is far beyond a comfortable agent surface, even for a broad LinkedIn growth platform spanning discovery, enrichment, engagement, DMs, automations, scheduling, lead pages, X, email and multi-profile support. Several clusters could be collapsed (the manage_* action-multiplexed tools already show the pattern) to bring this into the 20-30 range.

Completeness4/5

Coverage is unusually deep: full lifecycle for posts, automations, templates, drafts, scheduled posts, lead pages/links, Company Page actions, X posting, limits and audit history, plus the discover/enrich/decide/act loop. Minor gaps remain (e.g. no deletion or editing of already-published LinkedIn posts, limited analytics beyond per-post engagement, no comment deletion), but core workflows have no dead ends.

Publisher details

Operator
https://leadshark.io/ · Publisher source
Vendor relationship
Unknown
Documentation
https://apex.new/
Trust center
Unknown
Restrictions
Unknown

Available Tools

58 tools
cancel_scheduled_postA
DestructiveIdempotent
Inspect

Cancel a scheduled post. DESTRUCTIVE: Requires confirm: true. Deletes post content and attachments permanently. Pre-automation templates are preserved and can be reused. Can only cancel pending posts.

Inputs: confirm (required), post_id (required), act_as.

comment_as_companyA
Destructive
Inspect

Apex only. Post a comment on a LinkedIn post in one of your Company Pages' voice (instead of your personal profile). Useful for amplifying a post as the brand. You must administer the target Company Page.

Inputs: text (required), post_id (required), organization_id (required), act_as.

comment_on_postA
Destructive
Inspect

Apex only. Post a comment on a LinkedIn post as yourself (your personal profile). This is the core "Act" primitive — use it to reply to a discovered lead-magnet post or a hot signal. To comment as a Company Page instead, use comment_as_company (Apex).

Inputs: text (required), post_id (required), act_as.

create_automationA
Destructive
Inspect

Create a new automation for a LinkedIn post. It is created as Draft and has to be activated separately (except with automate_next_post, which creates it armed, status 'Next'). Supports keywords, DM templates, comment replies, repost-specific DM/replies, and settings like auto-connect and auto-like. keywords: [] is valid and means "reply to every commenter". To automate a post the user has not published yet, set automate_next_post: true and omit post_url: it waits and attaches to their next original post. To duplicate an existing automation, read it with get_automation and copy all its reply sets: dm_templates, comment_reply_templates and non_first_degree_reply_templates (the replies for commenters who aren't connected), plus repost_dm_template / repost_comment_reply_templates if set.

Inputs: post_url (required), act_as, keywords, settings, +8 more.

delete_automation_templateA
DestructiveIdempotent
Inspect

Permanently deletes one of your automation templates. Automations and scheduled posts already created from it keep working (they have their own copy). Ask the user to confirm before deleting.

Inputs: template_id (required), act_as.

discover_lead_magnetsA
Read-onlyIdempotent
Inspect

Fetch lead-magnet posts that work. platform "linkedin" (default): the LeadShark Lead Magnet Radar, a continuously refreshed feed of prospect-rich LinkedIn posts with the post (url/text/image), creator identity and engagement counts. platform "x": the X lead magnet library, public X posts that asked readers to reply with a keyword (the keyword, type, hook, text, image, and counts of replies with the keyword, all replies and views, from when the post was found, not live), with type / search / sort filters. Great as market signal for content (which lead magnets are working) and as the "Discover" step of the agent loop: borrow the structure and the hook, not the claims, then write your own post (for X, schedule_x_post with an automation runs the keyword-to-DM play). Available on Pro+ and Apex. Paginate with cursor (pass back next_cursor on X); since= for only-new items.

Inputs: sort, type, limit, since, +4 more.

edit_automationA
DestructiveIdempotent
Inspect

Update an automation. Can change its name, status (Running/Paused/Draft), keywords, DM templates, comment replies, repost DM / repost replies, and all settings. Only include fields you want to change — this is a partial update, so a keywords: [] automation stays keywords: [] unless you send keywords. Follow-ups: follow_up_enabled false pauses them (nothing sends, messages and times kept) and true resumes (ones that came due while paused go out now, paced); changing a follow-up delay moves that step's unsent follow-ups by the same amount (never earlier than now). The response reports follow_ups_rescheduled { moved, due_now, newly_scheduled } when any moved.

Inputs: updates (required), automation_id (required), act_as.

edit_scheduled_postA
DestructiveIdempotent
Inspect

Update a scheduled post's content, scheduled time, @mentions, auto-reposts, or pre-automation settings. Can edit post copy, reschedule, retag people/companies, or modify automation keywords, templates, and settings. Can only edit pending posts (not published/failed) — except an update containing ONLY repost_after_hours, which also works on a published post to cancel its pending reposts. Rescheduling a Company Page post follows the page limit (at most 20 posts in any 24 hours): a time that breaks it is refused with code page_post_limit and details.next_free_time.

Inputs: post_id (required), updates (required), act_as.

engage_with_commentAInspect

Apex only. Act on a comment: reply to it or like it — as yourself or, with organization_id, in a Company Page’s voice (you must administer the page). action="reply" needs post_id, comment_id and text; as yourself it counts against your daily reply budget (shared with automations). action="like" needs only comment_id and is unlimited. Provide author_provider_id when you have it so the do-not-engage (archived) list is honored. Get organization_id from list_companies.

Inputs: action (required), comment_id (required), text, act_as, +5 more.

enrichA
Read-onlyIdempotent
Inspect

Enrich a LinkedIn person into a structured profile — name, headline, location, current role & company, work history, links, follower/connection counts, and network distance. This is the "Decide" input: LeadShark supplies the data, your agent ranks fit and intent itself (combine with list_signals). Great as the second step of a pre-DM briefing (after get_lead_activity). Notice: profile enrichment runs through your OWN connected LinkedIn account — it’s a real lookup on your account, not a third-party database — and is limited to 250 a day per LinkedIn account (a hard limit: past it the call returns daily_limit_reached until midnight UTC), so reserve it for leads worth pursuing. Reads through a cache so repeat lookups are cheap (cache hits don’t count toward the daily limit). Set include_email:true (Apex only) to also find a work email — first from the LinkedIn profile (free), otherwise through your linked PersonEnrich wallet. PersonEnrich email discovery is async: the first call returns email.email_status:"pending"; call enrich again with include_email in ~30–60s to pick up the email.

Inputs: profile (required), act_as, include_email.

enrich_companyA
Read-onlyIdempotent
Inspect

Enrich a LinkedIn Company Page into a structured company profile — name, description, industry, website, employee count & range, follower count, founded date, organization type, and locations. The company-side "Decide" input: pair it with enrich (person) so your agent can judge account fit. Set include_employees:true (Apex only) to ALSO get current employees via a live people-search filtered to the company — name, headline, location, network distance, profile url per person — ready to feed into enrich (DECIDE) and the act tools. Notice: fresh lookups run through your OWN connected LinkedIn account and are limited to 100 company lookups a day per LinkedIn account — reserve them for accounts worth pursuing. The company profile reads through a cache so repeat lookups are cheap; employees are always fetched live.

Inputs: company (required), act_as, employees_limit, include_employees.

feedA
Read-onlyIdempotent
Inspect

Apex only. Read your own LinkedIn home feed (the posts from people and pages you follow), newest first, normalized into a clean shape: author, headline, post text, post URL, and engagement counts. Use it to find posts worth engaging with. For the lead-magnet discovery firehose instead, use discover_lead_magnets. Read-only. Paginate with cursor.

Inputs: count, start, act_as, cursor.

get_automationA
Read-onlyIdempotent
Inspect

Read back the full, current spec of a single live automation by id — keywords, every DM template, comment-reply, non-first-degree-reply and repost templates (repost_dm_template, repost_comment_reply_templates, settings.only_repost_dm), and all settings (auto-connect, follow-ups, etc.). Use this to verify exactly what an automation will say and do before it fires.

Inputs: automation_id (required), act_as.

get_lead_activityA
Read-onlyIdempotent
Inspect

Apex only. A briefing on one person, useful before send_message or send_connection_request. Returns a relationship summary (headline + booleans: has_history, engaged_your_content, checked_resource, submitted_email, we_dmed, we_replied_to_comment, we_sent_connection_request, connection_status, is_connected, do_not_engage) plus a newest-first activity timeline. connection_status is read LIVE from the graph on each call (connection_status_source: "live"; network_distance carries the raw degree) and falls back to the stored Signals value only if the live read is unavailable ; is_connected tells whether a DM, an InMail or a connection request applies. comment_reply rows include comment_id + post_id so you can send a second, focused reply on the same thread via engage_with_comment (e.g. after an automation template reply, answer their actual question). It shows whether there is already a history with this person and whether they opened what was sent. These first-party facts are more reliable than heat Signals. Pass the lead by id, provider id ("ACo…"), profile slug, or name. Read-only.

Inputs: lead (required), limit, act_as.

get_messages_with_personA
Read-onlyIdempotent
Inspect

Apex only. Return the DM conversation with one specific person so you have the context before replying. Find them like a human would: person can be just a NAME ("Jane Doe"), a provider id ("ACo…"), or a LinkedIn slug — names are matched against your inbox and your leads, and if several people match you get a short list to choose from. Each message includes the text, who sent it (from_me), and the timestamp, returned oldest → newest. PAGINATED for history mining: each response includes next_cursor — pass it back as cursor (with the same person) to read further back than the most recent messages, through the full thread history (null = exhausted). Read-only.

Inputs: person (required), limit, act_as, cursor.

get_page_leadsA
Read-onlyIdempotent
Inspect

Pro+. Pull the captured email leads for one LeadShark Page — the people who submitted their email through it (via the email gate or a quiz). Each lead comes back deduped and enriched: email, name, phone, country, engagement_score, the resolved LinkedIn profile (lead.linkedin_url / commenter_id) when known, capture source, originating lead-magnet link (link.id / link.slug / link.url) when known, and created_at. This is the bridge from a lead magnet to outreach — feed a lead's linkedin_url / commenter_id into enrich (DECIDE) and comment_on_post / send_connection_request / send_message (ACT). Get page_id from list_lead_pages.

Inputs: page_id (required), limit, act_as.

get_person_activityA
Read-onlyIdempotent
Inspect

Apex only. A LinkedIn person’s recent comments and reactions: the posts they engaged with. Pass a person (the id / public_identifier from search, enrich or list_signals). Each item has the engaged-with post (share_url + activity_urn) and its author; an activity_urn can be passed to comment_on_post / react_to_post, and the author to enrich. Reads through your own connected session; paginate per type with comments_cursor / reactions_cursor.

Inputs: profile (required), limit, types, act_as, +2 more.

get_playbookA
Read-onlyIdempotent
Inspect

Get one Loadout's full playbook (always the current version) so you can run it now, e.g. when the user says "run Rainmaker". Pass its slug, title or id from list_playbooks. The playbook lists its 'Before you run' questions, the tools each step uses, and an approval gate before any write. Loading runs nothing by itself; every step goes through the normal tools with their limits and approvals. A Loadout this account's plan can't run (Apex ones without Apex or an Apex trial) is refused with loadout_needs_apex. Read-only.

Inputs: slug (required), act_as.

get_scheduled_postA
Read-onlyIdempotent
Inspect

Read back a single scheduled post by id, including the full, CURRENT spec of its attached pre-automation — keywords, every DM template, comment-reply and non-first-degree-reply templates, and settings — read from the live template (reflects edits), not a stale snapshot. Use this to verify exactly what will publish and fire before it goes live. Also returns reposts: each auto-repost (after_hours, status waiting/pending/running/done/failed/cancelled, run_at, reposted_at, error). Each attachments entry has url, a signed link to the file valid about 1 hour (url_expires_at); call again for a fresh one. null when the file is gone (published posts may no longer have their files).

Inputs: post_id (required), act_as.

icp_fitA
Read-onlyIdempotent
Inspect

The DECIDE step, "who here is my ideal customer?". Judges people's name + headline against the account's one-line ICP (Settings → Ideal Customer) and labels each fit / adjacent / not with a 0-100 position and a confidence, the same judge the Leads page and the automation follow-up gate use. Two modes. (1) post_id (Apex): pass a post_id from list_person_posts / list_recent_posts and the server pulls everyone who commented or reacted, dedupes them and judges them all in ONE call , so "who engaged with this post, and who of them is my ICP?" is one call. Each person comes back with name, headline, network_distance, signals[] (how they engaged; comment signals carry the full comment text plus comment_id) and an id you can act with. (2) people[] (Pro+): judge up to 100 people you already have as { id, name, headline } (from search, list_signals, enrich); ids are echoed back untouched. Stateless, read-only. If the account has no ICP line you get code no_icp: ask the user for one sentence and pass it as icp, or point them to /dashboard/icp-settings to save it. Present people by name + headline, never by id. Act on fits via get_lead_activity → send_connection_request / send_message (writes, confirm first).

Inputs: icp, act_as, people, post_id.

list_actionsA
Read-onlyIdempotent
Inspect

Apex only. Your own action memory — the audit trail of governed writes (comment_on_post, react_to_post, send_connection_request, manage_invitations, and Company-Page actions) this account has run via MCP or REST, newest first. Use it to recall what you already did before acting again: dedupe ("did I already comment on / connect with this person?"), read why something was refused (result + refusal_code), see what is staged awaiting approval (status:'pending'), and check your current safety mode (active_mode is returned alongside the items). Scoped to your own account only — never anyone else’s. Read-only. Paginate with cursor (pass the created_at of the last item to get older actions).

Inputs: limit, act_as, cursor, result, +1 more.

list_automationsA
Read-onlyIdempotent
Inspect

List all your automations with status, settings, performance stats, and the full template contents (keywords, every DM and comment-reply template). Filter by status if needed. Use get_automation to read one automation by id.

Inputs: act_as, status.

list_companiesA
Read-onlyIdempotent
Inspect

List the LinkedIn Company Pages you administer (id + name). Step 0 for any company action: use the returned id as organization_id when posting, commenting, or reacting as a Company Page.

Inputs: act_as.

list_lead_pagesA
Read-onlyIdempotent
Inspect

Pro+. List your LeadShark Pages (lead-magnet / quiz pages) with per-page capture stats — each carries a stats block (total captured plus the ICP fit / maybe / not breakdown), status, and slug. This is the entry point for the captured-leads surface: pick a page id here, then call get_page_leads to pull the actual emails it captured. Paginate with page / limit; filter with status ('draft' | 'published').

Inputs: page, limit, act_as, status.

list_person_postsA
Read-onlyIdempotent
Inspect

Apex only. Pull recent posts from a LinkedIn person so you have something concrete to act on — this closes the loop: search (find them) → enrich (decide) → list_person_posts → comment_on_post / react_to_post (act). Pass the id or public_identifier from search or enrich (a provider id like "ACoAAB1cV…", a vanity slug, or a profile URL). Each post comes back with a post_id (urn:li:activity:…) that drops straight into comment_on_post / react_to_post, plus text, share_url, posted_at, and engagement metrics. Reads through your own connected session; paginate with next_cursor.

Inputs: profile (required), limit, act_as, cursor.

list_playbooksA
Read-onlyIdempotent
Inspect

List the Loadouts on this account: ready-made LeadShark playbooks for multi-step jobs (e.g. Rainmaker revives warm DM threads, Closer follows up captured leads, Connector sends warm connection requests, Doctor checks your automations). Includes the built-in ones and the account's own custom Loadouts. Each has a slug, title, one-line job, the plan it needs (tier, and available: whether this account can run it now) and the tools its steps use. Useful when the user asks what Loadouts or playbooks they have, or before planning a multi-step outreach, content or inbox job. Read-only.

Inputs: act_as.

list_post_engagersA
Read-onlyIdempotent
Inspect

Turn any LinkedIn post into a warm lead list: everyone who commented, reacted, and/or reposted it, deduped into one people list ranked warmest-first (more distinct engagements = warmer). Each engager carries a signals[] of HOW they engaged — comment signals include comment_id + post_id (for engage_with_comment follow-ups on the same thread), plus the full comment text, reaction type, or repost flag. Pass post_id from list_person_posts / list_recent_posts. Then enrich the people you like (DECIDE) and send_connection_request / comment_on_post / engage_with_comment (ACT). To read ONE comment’s reply thread instead, pass comment_id alongside post_id — you get the people who replied to that comment (comments-only). Reads through your own connected session; paginate each type with its own *_cursor. Repost signals cover plain reposts AND reposts with commentary; for the latter, detail carries the resharer’s full commentary ("with_commentary: ") — quote them, that person is usually the warmest on the post. LinkedIn indexes fresh reposts a few minutes after the counter increments, so the list can briefly trail the count.

Inputs: post_id (required), limit, types, act_as, +4 more.

list_profilesA
Read-onlyIdempotent
Inspect

APEX+ (or admin act_as enabled by LeadShark). Your multi-profile roster: every LinkedIn profile your key may operate via act_as — each managed profile's email, name, LinkedIn connection status, and coverage level (Apex vs Pro+; with admin act_as, the profile's own plan), plus your APEX+ capacity. Call this FIRST when working across profiles, then pass a roster email as act_as on other tools to act as that profile. Each profile keeps its OWN budgets, approval queue, and action log — acting as a profile spends that profile's limits, never anyone else's. With a Team key: no act_as needed here; it returns the key's accounts and the permission groups the key has on each (read, posts, automations, engagement, outreach, settings), and every other call must pass one of those emails as act_as.

Inputs: no named parameters.

list_profile_viewersA
Read-onlyIdempotent
Inspect

Apex only. Who viewed your LinkedIn profile, newest first — the same list LinkedIn shows under "Who viewed your profile" (and the same data as GET /api/v1/profile-viewers). Each viewer has name, headline, profile_url, profile_picture_url, network_distance and viewed (LinkedIn's relative time, e.g. "2 days ago"). Anonymous viewers come back with is_anonymous: true and only a description in name (e.g. "Founder in the Consulting industry"). LinkedIn only shows viewers to Premium accounts: without Premium on the connected LinkedIn account you get premium_required. Pages of 10; pass pagination.cursor to get the next page. A profile view is a warm signal: run get_lead_activity on a named viewer before you DM or connect. Read-only.

Inputs: act_as, cursor.

list_recent_connectionsA
Read-onlyIdempotent
Inspect

Apex only. "Who did I just connect to?" Lists your most recent LinkedIn connections, newest first: name, headline, profile_url, public_identifier, provider_id, and connected_at. Each provider_id chains straight into enrich (and get_lead_activity / send_message), so you can research and open a conversation with a new connection in one go. Read-only. Paginate with cursor for older connections.

Inputs: limit, act_as, cursor.

list_recent_messagesA
Read-onlyIdempotent
Inspect

Apex only. List your LinkedIn DM threads (conversations), newest first — each with the other person’s name, headline, and profile url, last-message preview, last_message_from_me (true = you sent the last message / they went quiet; false = they wrote last / you never answered), when it was sent, unread count, chat_id, provider id, and icp_fit (fit | maybe = Adjacent | not | null — from your saved ICP line; null if none is saved). Use it to triage who to reply to or revive. Optional filters (applied to the fetched page; over-fetches up to 50 then returns up to limit): last_from ("me"|"them"), quiet_for_days (e.g. 7 = last message older than 7 days), icp (fit|maybe|not|none). Response includes scanned (threads checked on this page) and notes (e.g. no ICP line saved). PAGINATED: pass next_cursor back as cursor for older threads (null = nothing older) — a weekly revival sweep pages until it has enough. Read-only.

Inputs: icp, limit, act_as, cursor, +2 more.

list_recent_postsA
Read-onlyIdempotent
Inspect

Fetch your latest LinkedIn posts with engagement stats (impressions / views, comments, reactions, reposts). Each post includes the complete post body (full_text), a short text_preview, an edited flag, and whether an automation already exists for it. Pass organization_id (from list_companies) to read a Company Page's posts instead — company posts carry has_reply_automation (the reply-only automation) rather than has_automation. LinkedIn does not expose impressions for Company Page posts, so engagement.impressions is 0 on that scope.

Inputs: limit, act_as, organization_id.

list_scheduled_postsA
Read-onlyIdempotent
Inspect

List all your scheduled posts with full content, status, timing, author (personal or Company Page), and whether an automation is attached (has_automation + automation_template_id). To read the attached automation's full template contents, call get_scheduled_post with the post id. Each post also carries reposts (its auto-reposts and their status).

Inputs: act_as, status.

list_signalsA
Read-onlyIdempotent
Inspect

Apex only. List your heat-scored intent signals (hot leads) — who is engaging with you, how hot they are, and why. Each signal includes actor identity, heat_score, signal_count, a signal_breakdown, and top_signals. Use actor_linkedin_id / actor_linkedin_url to act on a lead. This is the "Signals" step of the agent loop.

Inputs: sort, limit, act_as, min_score.

manage_activity_limitsA
Idempotent
Inspect

Apex only. The account's activity limits for each channel. action "get" (read-only) returns every channel (DMs, connected & non-connected comment replies, daily & weekly connection requests, and your InMail credit balance) with its limit, how much is used, how much remains, and a can_act flag, plus any active cooldown and the seconds until the next action is paced in. These caps are SHARED with your automations and are set by the account owner. The inmail channel is read-only (those are paid LinkedIn credits from your plan, not a cap we set). action "pause" sets a channel to 0 (emergency brake). action "update" changes a cap: LOWERING a cap takes effect immediately; RAISING a cap requires admin authority and is staged for the owner to approve, an agent can never widen its own budget on its own. "get" shows whether an action is allowed right now without using up a try.

Inputs: limit, act_as, action, channel.

manage_automation_templatesA
Destructive
Inspect

Reusable automation templates (Automate → Templates in the app): list, get, create, and edit them. A template bundles trigger keywords, many comment-reply variations (comment_reply_template for 1st-degree commenters, non_first_degree_reply_template for the rest), DM variations (dm_templates, rotated; more than one is Pro+), follow-ups, and options like auto_connect and the ICP gate. Use a template's id as template_id when scheduling a post with an automation, or copy its fields into create_automation. Text supports {{firstName}}, {{lastName}}, {{fullName}}, {{linkedinUsername}}, {{linkedinUrl}}, and {{link}}: a per-post resource link filled in when you schedule a post with schedule_post_with_automation (automation.template + keyword + resource_link), so one template serves many posts; comment replies can also @mention with {{firstNameMention}} / {{fullNameMention}} (not in DMs). 'edit' changes only the fields you send; arrays you send replace the whole list. Editing never changes automations or scheduled posts already created from the template (they keep their own copy). Limits: name 100 chars, up to 20 variations per list and 20 keywords, 1000 chars per DM / follow-up, 1250 per comment reply. Apex-only options (send_if_liked, send_basedon_dm) are switched off with a warning on lower plans. To delete a template use delete_automation_template.

Inputs: name, page, limit, act_as, +26 more.

manage_company_reply_automationsA
Destructive
Inspect

Apex only. Reply-only automations for Company Page posts: the page auto-replies to comments on its own post (there is no comment-to-DM flow for pages). action 'list' shows your automations plus today's usage vs. the daily reply cap; 'create' needs organization_id (from list_companies), post_id (from list_recent_posts with that organization_id), and at least one reply template — optional name labels the automation in the dashboard; keywords optionally filter which comments trigger a reply (omit to reply to all); 'pause' / 'resume' / 'edit' / 'delete' act on an automation_id. Automations on posts older than 7 days pause automatically; 'resume' keeps one running (that older post is then checked every 6 hours). Up to 25 new automations per day per account (resets 00:00 UTC; over the limit 'create' returns code company_automation_daily_limit).

Inputs: name, act_as, action, post_id, +5 more.

manage_connectionsA
Destructive
Inspect

Your own LinkedIn connections. action:'connect' sends a connection request to profile (optional note) — same limits and checks as send_connection_request. action:'remove' removes 1st-degree connections: pass profiles (up to 5 per call; provider ids "ACo…" or profile slugs, e.g. the id from search with network_distance [1]). Removal is irreversible (they also stop following you) and capped at 1000 per day (resets 00:00 UTC); removals in a call are spaced a few seconds apart, and the response reports each result plus daily_limit {used, limit, remaining}. Both are governed writes: in queue mode they are staged for your review, and every attempt is logged. Requests people send YOU are handled by manage_invitations.

Inputs: action (required), note, act_as, profile, +1 more.

manage_draftsA
Destructive
Inspect

Pro+ (any paid plan). The account's post board: post ideas and drafts in columns draft → needs_approval → approved → scheduled → posted (failed if publishing failed). Use it as a Kanban for post ideas, or for an approval flow on accounts someone manages. 'list' (newest first; filter by column), 'get' one card with its activity history, 'create' a card (content, optional title, kind 'post' or 'lead_magnet' with an automation {template_id, keywords, resource_link}, optional planned_for), 'edit' its fields and/or move it with column (draft, needs_approval, approved), 'schedule' it (scheduled_for, or the next free 15-minute slot), 'unschedule' a still-waiting post back to approved, or 'delete' a card that isn't scheduled. Roles: the account owner does everything and, on an account nobody manages, can schedule straight from draft. On a managed account the manager and the co-admins they mark as approvers approve and schedule; other co-admins draft and submit, and their edit on an approved card sends it back to needs_approval. Scheduling uses the same pipeline as schedule_post_with_automation (plan, LinkedIn connection, automation template) and never creates a second post for the same card. Scheduled and posted cards are read-only here: change them with edit_scheduled_post. Files are added in the dashboard.

Inputs: kind, limit, title, act_as, +9 more.

manage_icp_lineA
DestructiveIdempotent
Inspect

Read or set the account's one-line ICP (Settings → Ideal Customer): one plain-language sentence about who it sells to, max 280 characters, e.g. "Founders and heads of sales at B2B SaaS companies with 10-200 people". Every lead's name + headline is judged against it (fit / adjacent / not), icp_fit uses it, and automations can gate follow-ups on it (icp_gate). Setting a new line re-scores recent leads within minutes; an empty string clears it. Works with act_as for a managed profile.

Inputs: act_as, action, icp_line.

manage_invitationsA
Destructive
Inspect

Triage the inbound LinkedIn connection-request queue. action:'list' (read) returns pending invites with the inviter’s identity so you can judge fit; action:'accept' or 'ignore' bulk-responds to the invitation_id(s) you choose. This is a governed write: if your account is set to approve first, responses are staged for your review; otherwise they run, and every response is logged. The ACT arm for relationship management — the other half of send_connection_request.

Inputs: limit, act_as, action, cursor, +1 more.

manage_lead_pagesA
Destructive
Inspect

Pro+. Create, edit, and publish LeadShark Pages (lead-magnet / quiz pages) so an agent can spin up a guide's capture page and take it live without opening the app. 'create' makes a new draft (or published) Page from a title, with an optional email gate (require_email + gate_message / gate_button_text). 'publish' takes an existing draft live (subject to your plan's published-page limit). 'edit' updates the title, on-page copy (page_title / page_description), the optional opt-in hero (hero_eyebrow / hero_headline / hero_qualifier / hero_subheadline / hero image / hero_body / hero_layout), the content sections under the form (page_sections: a "what you get" checklist, proof numbers, image, testimonial, a second button, small print — for long-form pages), status, or gate settings of an existing page_id. page_sections replaces the whole list when sent; read the current list from list_lead_pages first. Page creation does NOT mint a leads.sh link: after a Page is published, call manage_lead_magnet_links (action:create, page_id) to mint its capture link, then attach that link to a post automation. Use list_lead_pages to read pages and get a page_id.

Inputs: title, act_as, action, status, +23 more.

manage_x_postsA
Destructive
Inspect

The user's X-only posts (made with schedule_x_post or in the dashboard): 'list' (newest first; filter by status), 'get' one, 'edit' a scheduled one (text, images, scheduled_for and/or its automation), or 'cancel' a scheduled one, or 'delete' a published one on X (destructive: needs confirm: true, ask the user first; it also ends that post's X automation and cancels its pending first comment / repost). Only posts with status 'scheduled' can be edited or cancelled; once sending has started the reply is a 409. Statuses: scheduled, sending, published (has x_post_url), failed (error_category / error_message say why), unknown (X didn't confirm it; never retried), cancelled. Cross-posts made with crosspost_x on a LinkedIn post are not listed here; they show on the LinkedIn post (list_scheduled_posts).

Inputs: text, limit, act_as, action, +17 more.

react_as_companyA
Idempotent
Inspect

Apex only. Like (or react to) a LinkedIn post in one of your Company Pages' voice instead of your personal profile. You must administer the target Company Page.

Inputs: post_id (required), organization_id (required), act_as, reaction_type.

react_to_postA
Idempotent
Inspect

Apex only. Like (or react to) a LinkedIn post as yourself (your personal profile). A lightweight "Act" primitive for warming up a lead before commenting or connecting. To react as a Company Page instead, use react_as_company (Apex).

Inputs: post_id (required), act_as, reaction_type.

repost_postA
Destructive
Inspect

Repost a LinkedIn post from your personal profile right now: a native repost with no added text, the same as LinkedIn's Repost button. Works on any post, e.g. your own Company Page's (find it with list_companies, then list_recent_posts with organization_id) or a teammate's. undo: true removes your repost of that post (the original is never touched). Once per post: refused with already_reposted if you already reposted it. It shares the LinkedIn safety cooldown and Emergency Stop with your other actions. To repost your own posts automatically after they go live, use repost_after_hours on schedule_post_with_automation instead.

Inputs: post (required), undo, act_as.

schedule_post_with_automationA
Destructive
Inspect

Schedule a LinkedIn post for future publishing, or publish it right away with publish_now: true, with optional automation, @mentions, and media. The automation activates automatically when the post goes live. Attach media by URL, matching the dashboard/REST API: one OR multiple images (a carousel), OR a single PDF document, OR a single MP4 video. PDF/video cannot be combined with images or each other. Tag people/companies with the mentions array (works for personal and Company Page posts). Pass organization_id to publish as a Company Page you administer (call list_companies first). A Company Page can post at most 20 times in any 24 hours (LinkedIn throttles pages that post far more); a post that breaks that is refused with code page_post_limit and details.next_free_time, so schedule it at that time instead. If LinkedIn refuses two page posts in a row, that page's posts due in the next 6 hours are moved back; spread page posts over the day.

Inputs: post_content (required), act_as, pdf_url, mentions, +18 more.

schedule_x_postA
Destructive
Inspect

Posts to X (Twitter) only, with nothing going to LinkedIn: right away (publish_now: true) or at scheduled_for. Over MCP this needs Pro+ or Apex (posting to X itself is on Pro and up in the dashboard and REST API), and the user's X account must be connected in LeadShark (Settings → My accounts). Up to 20 images by URL (image_urls): JPEG, PNG, WebP or one GIF on its own, the same as the dashboard. Long text on a free X account (280 characters per post) goes out as a thread of up to 8 posts; with X Premium the full post goes out. Up to 10 posts to X per account per UTC calendar day, counted together with LinkedIn cross-posts: a post for a full day (or an edit moving it to one) is refused with code x_daily_limit, so pick another day. A post is never sent twice: if X doesn't confirm it, its status is 'unknown' and it isn't retried (ask the user to check their X profile). A time without an offset is read in timezone, else the user's Settings timezone, else UTC, and the reply says which zone was used. To post the same text to LinkedIn and X together, use schedule_post_with_automation with crosspost_x: true instead. Add automation to run a comment-to-DM lead magnet on the post (keyword → DM with your resource), set up in the same call. List, edit or cancel X posts with manage_x_posts.

Inputs: text (required), act_as, timezone, image_url, +11 more.

search_postsA
Read-onlyIdempotent
Inspect

Apex only. Find LinkedIn posts matching a keyword — by anyone. Unlike search (people/companies), list_person_posts (one profile), feed (who you follow), or discover_lead_magnets (curated lead-magnet radar), this searches posts across LinkedIn. Each result includes post_id (pass straight to comment_on_post / react_to_post / list_post_engagers), share_url, text, engagement counts, and author. Defaults to posts from the past month sorted by relevance. Paginate with next_cursor.

Inputs: keywords (required), limit, act_as, cursor, +2 more.

send_connection_requestAInspect

Send a LinkedIn connection request (invite) to a person as yourself (same as manage_connections action:"connect"). The "Act" primitive for turning a hot signal or discovered prospect into a connection. Tip: call get_lead_activity first — if you already have a history (they engaged your content or checked a resource you sent), reference it in the note to lift accept rates. Respects your configured daily/weekly connection limits — if outgoing is disabled or a limit is reached, the request is rejected.

Inputs: profile (required), note, act_as.

send_emailAInspect

Apex only. Send an email through YOUR OWN connected Resend account (connect a key in Settings → Email Integrations). This is real outbound email off LinkedIn: great for following up on a warm LinkedIn thread once you have a work email (see enrich with include_email). The from address must be a sender on a domain you have verified inside your Resend account, e.g. "Jane jane@yourdomain.com", or Resend will reject it. Provide html and/or text for the body. Every send is logged to your Apex activity. Deliverability and sending reputation live on your own Resend domain, so keep volume sane and personalized.

Inputs: to (required), from (required), subject (required), cc, +5 more.

send_messageAInspect

Apex only. Send a LinkedIn message to a person as yourself. BEFORE you DM, call get_lead_activity on the recipient — the single biggest signal is whether you already have a history (they engaged your content, checked a resource you sent, you’ve DM’d/replied/connected before). Use that to open specifically, and skip anyone flagged do_not_engage. By default sends a direct message, which requires you to be connected (1st-degree). To reach someone you are NOT connected to, set as_inmail: true to send an InMail, which spends one of your LinkedIn plan’s paid InMail credits (checked first; refused if you have none). Either way it counts against your daily DM limit (the SAME budget your automations use). Archived leads are do-not-engage: the send is hard-refused at the chokepoint (same block as the in-app Drawer Agent and Loadout runs). Pass a provider id ("ACo…") or a public profile slug as the recipient. Returns the channel used and your remaining DM budget. Check your InMail credit balance via manage_activity_limits (action:"get" → channels.inmail).

Inputs: text (required), recipient (required), act_as, subject, +1 more.

set_automations_statusA
Idempotent
Inspect

Pause or resume many automations in ONE call (up to 100): pass automation_ids (from list_automations) and status "Paused" or "Running". Use this in one call rather than one edit_automation call per automation, e.g. "pause all my automations on posts older than 30 days". Resuming follows the same rules as one automation: the resumed set must fit the plan's running-automation limit on its own (otherwise code over_running_limit, nothing changes), and the oldest OTHER running automations are paused to make room (listed in paused_to_make_room). An automation whose text still contains {{link}} is not started (needs_link). Only Running and Paused automations are switched; drafts and ones waiting for the next post are skipped. Returns updated, unchanged (already in that status), not_found, skipped, needs_link and paused_to_make_room. Confirm with the user before resuming many automations: resuming starts DMs again.

Inputs: status (required), automation_ids (required), act_as.

set_daily_dm_limitA
DestructiveIdempotent
Inspect

Set your daily DM sending limit. Setting to 0 is an emergency stop - all DM sending pauses immediately. Requires confirm: true for destructive changes.

Inputs: limit (required), act_as, confirm.

shift_scheduled_postsAInspect

Move many scheduled posts at once: every pending post at or after from (optionally before to) moves by by_days / by_hours / by_minutes, in ONE call (counts as one API request; much cheaper than editing posts one by one). Posts keep their spacing. Posts publishing now or due within 15 minutes are never moved. Fails without moving anything if a post would land on another post's 15-minute slot, less than 15 minutes from now, or more than 90 days ahead. Use dry_run: true to preview. To add one post and push the rest back, use schedule_post_with_automation with on_conflict: "push" instead.

Inputs: from (required), to, act_as, by_days, +3 more.

suggest_automation_settingsA
Read-onlyIdempotent
Inspect

AI-powered tool that analyzes a LinkedIn post and generates suggested automation settings — name, trigger keyword, DM template, comment replies, and non-connected replies. Returns suggestions only; nothing is created. Use this before create_automation or schedule_post_with_automation to get AI-recommended settings based on the post content. For a COMPANY PAGE post, set for_company: true — you get reply-only suggestions suitable for manage_company_reply_automations (no DM template; pages cannot DM).

Inputs: post_text (required), act_as, post_url, for_company.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources