Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_connections

Destructive

Your own LinkedIn connections. action:'connect' sends a connection request to profile (optional note) — same limits and checks as send_connection_request. action:'remove' removes 1st-degree connections: pass profiles (up to 5 per call; provider ids "ACo…" or profile slugs, e.g. the id from search with network_distance [1]). Removal is irreversible (they also stop following you) and capped at 1000 per day (resets 00:00 UTC); removals in a call are spaced a few seconds apart, and the response reports each result plus daily_limit {used, limit, remaining}. Both are governed writes: in queue mode they are staged for your review, and every attempt is logged. Requests people send YOU are handled by manage_invitations.

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": {
      "action": "<action>"
    },
    "name": "manage_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoconnect: optional personalized note.
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.
actionYes'connect' (send a request) or 'remove' (remove 1st-degree connections).
profileNoconnect: the person to invite — a LinkedIn id ("ACo…") or profile slug.
profilesNoremove: up to 5 1st-degree connections (LinkedIn ids "ACo…" or profile slugs). Call again for more.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructive/openWorld/non-idempotent annotations, the description discloses irreversibility, the side effect that removed people stop following you, a 1000/day cap resetting at 00:00 UTC, a few-seconds spacing between removals, the per-result plus daily_limit response shape, queue-mode staging for review, and that every attempt is logged. That is exactly the extra context annotations cannot convey.

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?

Scope is stated first, then each action, then governing behavior, so it is well front-loaded and every clause carries information. It is dense with parentheticals and run-on clauses, which costs some readability but not correctness.

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 destructive two-mode write tool with no output schema, the description covers safety, rate limits, pacing, response contents, queue-mode behavior, and sibling routing. An agent has everything needed to call it correctly and predict the outcome.

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 real meaning: it explains the accepted id formats, the 5-item cap and re-call pattern for 'profiles', the note being optional on 'connect', and where to source ids (search with network_distance [1]). The act_as parameter is left entirely to the schema, which is the main remaining gap.

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 names the resource ('Your own LinkedIn connections') and both specific verbs it performs: action:'connect' sends a request, action:'remove' removes 1st-degree connections. It also explicitly separates itself from manage_invitations by noting requests people send you are handled there, so an agent can distinguish it from siblings without opening a 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?

It gives explicit when-to-use routing: use 'connect' to send a request (same limits/checks as send_connection_request), use 'remove' to drop 1st-degree connections, and use manage_invitations for inbound requests. It also states practical batching guidance ('up to 5 per call; call again for more' via the schema) and where to get the needed ids.

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