Skip to main content
Glama

LinkMCP: hosted LinkedIn MCP server

Get Shared Connections

linkedin_get_shared_connections
Read-onlyIdempotent

List the mutual (shared) connections between you and a target LinkedIn profile - the people in your 1st-degree network who are also connected to the target. Useful for finding who can give a warm introduction. Accepts a profile URL, public ID (slug), or URN. Results are paginated via cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoPagination cursor from a previous response. Pass this (together with the same identifier) to fetch the next page.
identifierYesTarget LinkedIn profile: URL (e.g. https://www.linkedin.com/in/john-doe), public ID / slug (e.g. "john-doe"), or URN (e.g. "urn:li:fsd_profile:ABC123").

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 declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: it clarifies the result set is a mutual-connection intersection and states results are paginated via cursor, which tells the agent to expect multi-page reads.

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?

Three sentences, front-loaded with the core action and scope, followed by use case and pagination note. Each sentence carries information and none is padding.

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 two-parameter, read-only, no-output-schema tool, the description covers scope, accepted identifier forms, and pagination — enough to invoke correctly. It could still note behavior when no mutual connections exist or when the target is unreachable, which leaves a small gap.

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 both the identifier formats and the cursor semantics are already fully documented in the schema. The description's mention of URL/public ID/URN duplicates that content without adding syntax or constraint detail, so baseline 3 applies.

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 ("List the mutual (shared) connections") and immediately scopes it as being between you and a target profile, which is exactly what separates it from the sibling linkedin_get_connections. The parenthetical definition of shared connections removes any ambiguity about the returned set.

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 gives a concrete reason to reach for this tool ("finding who can give a warm introduction"), which is real usage context. It stops short of naming alternatives or exclusions — e.g. that linkedin_get_connections returns your full network, or that target-network-only data comes from a different sibling — so an agent must infer the boundary.

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.