Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

manage_invitations

Destructive

Triage the inbound LinkedIn connection-request queue. action:'list' (read) returns pending invites with the inviter’s identity so you can judge fit; action:'accept' or 'ignore' bulk-responds to the invitation_id(s) you choose. This is a governed write: if your account is set to approve first, responses are staged for your review; otherwise they run, and every response is logged. The ACT arm for relationship management — the other half of send_connection_request.

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

Input Schema

NameRequiredDescriptionDefault
limitNoFor action:list only — max invitations to return (1-100, default 50).
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.
actionNoWhat to do (default: list). 'list' returns pending invitations; 'accept' connects; 'ignore' declines.
cursorNoFor action:list only — pass the previous call's next_cursor to get the next page.
invitation_idsNoRequired for accept/ignore: the invitation_id(s) to act on (from action:'list'). Up to 50 per call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark this as destructive, non-idempotent, and open-world. The description adds meaningful governance details beyond annotations: approval-first staging, otherwise direct execution, and logging of every response. It does not describe partial-failure behavior, but the main behavioral context is supplied.

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

Conciseness5/5

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

The description is front-loaded, progresses logically from purpose to action semantics to governed-write behavior to sibling context, and contains no redundant or wasted sentences.

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?

For a destructive write tool with no output schema, the description explains the key read return (pending invites with inviter identity) and governed execution behavior. It does not detail accept/ignore response formats or partial failures, but schema coverage is complete for parameters and pagination, so the definition is sufficient for selection and 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 description coverage is 100%, so the schema already documents limit, cursor, act_as, action, and invitation_ids. The description adds modest meaning by noting that list returns inviter identity for fit judgment and that accept/ignore are bulk responses over chosen invitation_id(s). It does not add details for the remaining parameters, which the schema handles well.

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 and resource: triage the inbound LinkedIn connection-request queue. It names the supported actions (list, accept, ignore) and explicitly distinguishes the tool from send_connection_request as the inbound/ACT counterpart.

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?

It clearly explains when to use list versus accept/ignore and positions the tool relative to send_connection_request. It does not give explicit when-not guidance or distinguish from other connection-management siblings, but the usage context is clear.

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