Skip to main content
Glama
prakharagarwal-dev

LinkedIn MCP Server

List LinkedIn Invitations

linkedin.invitations.list
Read-onlyIdempotent

List LinkedIn received or sent invitations with filters for all, focused, verified, and more. Paginate through the inventory to reconcile counts and manage your network.

Instructions

Read one live cursor page from the current received or sent invitation inventory, including the deduplicated union of LinkedIn's current Focused, Other, Verified, Mutual Connections, Your Company, and Your School received views when invitation_filter is all. Continuations rescan a bounded live prefix, suppress stable identities already returned, and claim completion only after the selected visible counts reconcile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNo
directionNoreceived
page_sizeNoNumber of unique items to return in this page.
context_idYes
request_idYes
invitation_filterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNocompleted
sourcesYes
coverageYes
replayedNo
context_idYes
paginationYes
request_idYes
invitationsYes
Behavior5/5

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

Annotations already indicate read-only, open-world, idempotent, and non-destructive. The description adds valuable behavioral context about live pages, bounded rescanning, suppression of previously returned identities, and completion reconciliation—details that are not in the annotations and help the agent understand pagination consistency.

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 description is a single dense sentence that front-loads the main action. Although complex, every clause contributes useful information about pagination and deduplication. It is not overly long for the content, but could benefit from splitting into two sentences for readability.

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?

Given the tool's complexity (6 parameters, output schema, annotations), the description explains the core pagination and deduplication behavior well. The output schema fills in return structure, and the description covers the most important runtime semantics. Some parameter purpose is left implicit, but overall it is complete enough for an agent.

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?

The description adds meaning to the direction and invitation_filter parameters by referencing 'received or sent' and describing the union when filter is 'all'. While cursor and page_size already have schema descriptions, other parameters like context_id and request_id remain unexplained, so the description partially compensates for low schema coverage.

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 clearly states the action ('Read one live cursor page') and resource ('current received or sent invitation inventory'), and it distinguishes itself from sibling tools that send, accept, or ignore invitations. It also adds specific details about the 'deduplicated union' of views, making the purpose unmistakable.

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?

The description gives clear context for when to use this tool: to read received or sent invitations, and it explains the special behavior when invitation_filter is 'all'. However, it does not explicitly name alternatives or exclusions, though no sibling tool overlaps with listing invitations, so the guidance is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prakharagarwal-dev/linkedin-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server