Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

list_recent_posts

Read-onlyIdempotent

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.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of posts to fetch (1-20, default: 5)
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.
organization_idNoOptional. Numeric id of a Company Page you administer (from list_companies) — lists that page's posts instead of your personal posts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered. The description adds genuine value beyond that: which fields come back, that Company Page posts carry has_reply_automation instead of has_automation, and the notable caveat that impressions is always 0 for Company Page posts. That edge-case disclosure is a real behavioral contribution, though the field inventory is somewhat descriptive padding.

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?

Three sentences, front-loaded with the core action and followed by return fields and the org-scope caveat. Dense but every sentence carries information, with no filler or restatement of the name.

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?

No output schema exists, so the description usefully compensates by enumerating the returned fields and the has_automation vs has_reply_automation split. Remaining minor gap: it says nothing about how the limit interacts with recency or whether results are truncated, but nothing critical is missing for correct invocation.

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 coverage is 100%, so the schema already documents limit, act_as, and organization_id, making 3 the baseline. The description adds only light meaning beyond the schema, mainly the list_companies source for organization_id and its downstream effect on which automation flag appears; act_as is left entirely to the schema.

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

Purpose4/5

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

Specific verb and resource: 'Fetch your latest LinkedIn posts with engagement stats', followed by the exact fields returned. It distinguishes personal scope from Company Page scope via organization_id, though it never explicitly contrasts with siblings like list_person_posts, which an agent would have to infer.

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 concrete conditional: 'Pass organization_id (from list_companies) to read a Company Page's posts instead', which tells the agent when to switch scope and where the id comes from. It does not say when to prefer search_posts or list_person_posts instead, so alternatives remain unaddressed.

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