Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

discover_lead_magnets

Read-onlyIdempotent

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.

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": "discover_lead_magnets"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoX only: order of results (default most_replies).
typeNoX only: one lead magnet type (the response lists the available types, e.g. "Templates", "Guides and playbooks", "AI prompts and workflows").
limitNoNumber of discoveries to fetch (1-100, default: 25)
sinceNoISO 8601 datetime floor. LinkedIn: only discoveries first detected after this instant (the "new since my last poll" feed). X: only posts posted after it.
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.
cursorNoNext page. LinkedIn: the first_detected_at of the last item from the previous page. X: the next_cursor from the previous response.
searchNoX only: text to find in the hook, post text, creator or keyword.
platformNoWhich feed: "linkedin" (default, the Lead Magnet Radar) or "x" (the X lead magnet library).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Keyset cursor (the first_detected_at of the last item from the previous page). Pass it back to get the next page."New value: +"Next page. LinkedIn: the first_detected_at of the last item from the previous page. X: the next_cursor from the previous response."
    • addedInput schema / properties / platform
      Added value: +{
      +  "description": "Which feed: \"linkedin\" (default, the Lead Magnet Radar) or \"x\" (the X lead magnet library).",
      +  "enum": [
      +    "linkedin",
      +    "x"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / search
      Added value: +{
      +  "description": "X only: text to find in the hook, post text, creator or keyword.",
      +  "type": "string"
      +}
    • changedInput schema / properties / since / description
      Previous value: -"ISO 8601 datetime floor — return only discoveries first detected after this instant (the \"new since my last poll\" feed)."New value: +"ISO 8601 datetime floor. LinkedIn: only discoveries first detected after this instant (the \"new since my last poll\" feed). X: only posts posted after it."
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "X only: order of results (default most_replies).",
      +  "enum": [
      +    "most_replies",
      +    "newest",
      +    "most_views"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "X only: one lead magnet type (the response lists the available types, e.g. \"Templates\", \"Guides and playbooks\", \"AI prompts and workflows\").",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely useful behavioral context: Pro+/Apex entitlement and, importantly, that X data is a snapshot 'from when the post was found, not live'. It does not discuss rate limits, refresh cadence of the LinkedIn Radar, or what an empty result means.

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

Conciseness4/5

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

Front-loaded with the purpose, then a per-platform breakdown, then usage, then plan and pagination notes — a sensible order. Some sentences are long and clause-dense (the X feed enumeration and the agent-loop sentence), but no sentence is filler.

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

Completeness5/5

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

Eight optional parameters and no output schema, yet the description compensates by naming the exact fields each platform returns, the plan requirement, pagination mechanics, and freshness semantics. An agent has everything needed to choose a platform, filter correctly, and page through results.

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 coordination the schema states only per-field: cursor is passed back as next_cursor on X, since uses ISO and means 'only-new items' on LinkedIn versus posted-after on X, and type/search/sort are X-only filters. That per-platform framing meaningfully reduces misuse across the two feeds.

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?

Opens with a specific verb+resource ('Fetch lead-magnet posts') and immediately splits the resource into two distinct feeds: the LinkedIn Lead Magnet Radar and the X lead magnet library. It enumerates what each feed returns (post url/text/image, creator identity, engagement counts vs. keyword, type, hook, reply/view counts), so an agent can tell this apart from siblings like feed or search without opening the schema.

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 concrete usage context — market signal for content, and the 'Discover' step of the agent loop, with the explicit follow-on path of schedule_x_post plus an automation for the keyword-to-DM play. It also states the plan gate (Pro+ and Apex). It stops short of explicit when-not guidance, e.g. when to prefer feed or search instead of this tool.

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