Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

search_posts

Read-onlyIdempotent

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keywords": "<keywords>"
    },
    "name": "search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-50, default 25).
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.
cursorNoPagination token (next_cursor from a previous search_posts call).
sort_byNoSort order (default: relevance).
keywordsYesWhat to search for in posts, e.g. LeadShark or hiring SDR. Required.
date_postedNoRecency filter (default: past_month). Pass "all" (or null) for no date filter.

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 already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-annotated context: the implicit recency/sort defaults, next_cursor pagination, plan gating ("Apex only"), and that returned post_id values chain directly into comment_on_post / react_to_post / list_post_engagers. It does not describe result volume limits or rate-limit behavior, which keeps it below a 5.

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?

The scope qualifier and sibling disambiguation are front-loaded, and the result-shape sentence is compactly enumerated. It is dense and long in a single paragraph, and the one-word gating phrase "Apex only." is terse enough to be slightly ambiguous on first read.

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?

With six parameters, no output schema, and a plan-gated open-world search at stake, the description covers routing, defaults, pagination, plan requirement, and the fields each result returns. An agent has everything needed to call it correctly and to use its output.

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

Parameters3/5

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

Schema description coverage is 100%, including the long act_as delegation explanation, so the schema carries the parameter burden. The description restates the past_month and relevance defaults and mentions cursor pagination, but adds little semantic detail beyond what the schema already documents; baseline 3 applies.

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?

"Find LinkedIn posts matching a keyword — by anyone" gives a specific verb (find/search) and resource (LinkedIn posts) with an explicit scope qualifier ("by anyone"). It immediately differentiates from search (people/companies) and list_person_posts (one profile), so an agent can select it without opening any schema.

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

Usage Guidelines5/5

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

Names four sibling tools and the exact scope each covers (people/companies, single profile, follow feed, curated lead-magnet radar), making the selection decision explicit. It also states defaults (past month, relevance) and the pagination mechanism, so both choosing and calling are guided.

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