Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_lead_magnet_links

Pro+. Your standalone lead-magnet links (leads.sh/): list, create, and edit them, so a full post → capture link → automation flow works without opening the app. 'list' returns each link's public url, destination_url, email-gate flag (requires_email), and any attached automation_id or Page (page_id). 'create' mints a new leads.sh link for a destination_url; attach a page_id to email-gate it; the link inherits that Page's gate settings (message, button text, name requirement) and quiz, exactly like the dashboard. 'edit' changes destination_url or requires_email, or attaches/detaches a Page (attaching re-inherits its gate settings). When the account has a connected custom domain, url is on that domain and leads_sh_url is the leads.sh form to put in DM templates (the DM goes out with the custom domain). To read the emails a link's Page captured, pass that page_id to get_page_leads.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_lead_magnet_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNolist: page number for pagination (default 1).
limitNolist: links per page (1-100, default 20).
act_asNoAPEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own.
actionNo'list' (default), 'create', or 'edit'.
link_idNoedit (required): the link's id, from the list action.
page_idNocreate/edit: attach a published Page (id from list_lead_pages) to email-gate the link with that Page's settings. On edit, pass null to detach.
automation_idNocreate: attach the link to one of your automations. list: only return links attached to this automation.
requires_emailNocreate/edit: gate the link on email capture without a Page (default false). Ignored when a page_id is attached — the Page decides.
destination_urlNocreate (required) / edit: where the leads.sh link redirects to. Cannot itself be a leads.sh URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=false with destructiveHint=false, and the description is consistent with that (create/edit are additive or attribute changes). Beyond the structured fields it discloses genuine side effects: attaching a page_id makes the link inherit that Page's gate settings and quiz 'exactly like the dashboard', and re-attaching on edit re-inherits them; it also explains the custom-domain/leads_sh_url dual-URL behavior. It stops short of saying what create/edit return or whether edits are reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the plan tier and the resource, then the three actions quoted inline so an agent can scan for the relevant clause. Despite its length, each sentence covers a distinct behavior (return fields, page inheritance, custom domains) with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating the fields 'list' returns (public url, destination_url, requires_email, automation_id, page_id). It is slightly thin on what create/edit return and on failure modes beyond the act_as rules already in the schema, but overall adequate for a 9-parameter multi-action tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning: automation_id serves two different roles depending on action (attach on create, filter on list), page_id attachment overrides requires_email, and destination_url may not itself be a leads.sh URL. That interaction logic is what an agent needs to choose values correctly, going beyond per-parameter docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete resource ('your standalone lead-magnet links (leads.sh/<slug>)') and the exact operations ('list, create, and edit'), then unpacks what each operation does. It is easy to separate from get_page_leads and manage_lead_pages, which deal with Pages rather than the links themselves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a motivating use-case (post → capture link → automation flow) and explicitly routes a related need elsewhere: 'To read the emails a link's Page captured, pass that page_id to get_page_leads.' It does not spell out when to use this versus manage_lead_pages (creating the Page first), so the guidance is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources