Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

repost_post

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.

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": {
      "post": "<post>"
    },
    "name": "repost_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYesThe post to repost: a LinkedIn post URL, a numeric activity id, or an urn:li:activity / ugcPost URN (post_id from list_recent_posts works).
undoNotrue: remove your repost of this post instead (default false).
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations only supply the generic mutation profile (readOnlyHint false, idempotentHint false, openWorldHint true); the description adds the operationally important behaviors: one repost per post with an already_reposted refusal, shared LinkedIn safety cooldown and Emergency Stop, and the guarantee that undo never touches the original post. These details are consistent with, and go well beyond, the annotation set.

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 core action and its scope are front-loaded in the first clause, and each subsequent sentence carries distinct information (reversal, idempotency refusal, safety systems, scheduling alternative). It is dense with parentheticals and error-code names, which slightly slows scanning, 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?

For a mutating, non-idempotent, open-world tool with no output schema, the description covers the failure mode that matters (already_reposted), the reversal path, the safety guardrails, and the impersonation path via act_as in the schema. An agent has everything needed to decide whether to call it and how to recover from a refusal.

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%, so all three parameters — including the accepted post identifier formats and the act_as delegation rules — are already fully documented in the schema itself. The description's brief mention of undo and post_id retrieval adds nothing beyond that, and act_as is not discussed in the description at all. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb (repost), the resource (a LinkedIn post), the acting identity (your personal profile), and the timing (right now, not scheduled). It also pins down the exact behavior — a native repost with no added text, equivalent to LinkedIn's Repost button — which separates it from comment_on_post and from the automation route without requiring the schema to be opened.

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?

It says when to use this tool (immediate repost), how to find the target (list_companies then list_recent_posts with organization_id), how to reverse it (undo: true), and explicitly routes the scheduled case elsewhere (repost_after_hours on schedule_post_with_automation). Both an alternative and an exclusion are named, not implied.

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