Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

list_recent_connections

Read-onlyIdempotent

Apex only. "Who did I just connect to?" Lists your most recent LinkedIn connections, newest first: name, headline, profile_url, public_identifier, provider_id, and connected_at. Each provider_id chains straight into enrich (and get_lead_activity / send_message), so you can research and open a conversation with a new connection in one go. Read-only. Paginate with cursor for older connections.

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_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoConnections to return (1-50, default 10).
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 returned as pagination.cursor from a previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so 'Read-only' largely repeats structured data. The description does add real context beyond annotations: the Apex-only tier gate, newest-first ordering, and cursor-based pagination for older pages. Rate limits and per-profile budget behavior are left to the act_as schema rather than described here.

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?

Front-loads the gating constraint and a memorable framing question, then returns fields, chaining, and pagination in short ordered sentences. Minor waste in restating 'Read-only' when annotations already cover it.

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?

With no output schema, listing the returned fields and ordering is exactly the right compensation, and the chaining hint gives the agent a next step. Gaps are small: no guidance on empty results or on when to raise limit versus paginating.

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 limit, act_as, and cursor are already fully documented. The description adds only the behavioral note that cursor walks toward older connections, which is a modest increment over the schema's own cursor text. 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?

States a specific verb and resource ('Lists your most recent LinkedIn connections'), names the ordering ('newest first'), and enumerates the returned fields (name, headline, profile_url, public_identifier, provider_id, connected_at). This clearly separates it from siblings like list_recent_messages or list_profile_viewers.

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?

Frames the use case with 'Who did I just connect to?' and tells the agent to chain provider_id into enrich, get_lead_activity, or send_message for follow-up. The 'Apex only' gate is stated up front. It lacks explicit when-not guidance, but no sibling appears to duplicate this resource.

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