Skip to main content
Glama

Iridium: LinkedIn MCP Server

respond_connection_request

Respond Connection Request

Respond to ONE received connection request: accept it or decline it. Do not run this without first listing the connection requests to the user (list_connection_requests). Use only after the user has decided specifically what to do, and has named who clearly: a person ("accept Brenda") or a clearly defined group ("decline all the recruiters", "accept everyone from Gitforce"). Never respond on your own initiative, and never just because a request is labelled accept or decline.

For a group, work it out yourself from the list (name, headline, note, message), then call this once per person, one at a time, until you have covered them all. If any request doesn't clearly fit what the user described, skip that one, finish the rest, then ask the user about the skipped ones. If the user asks about something specific, call list_connection_requests once first, then confirm with them which people and which action, so both you and the user know the right operation was requested.

Takes one handle (from list_connection_requests) and action: accept or decline. Synonyms the user may use: accept / approve / add / connect with; decline / reject / ignore / dismiss / turn down; applied to connection requests, invites or invitations. "Ignore" means decline (there is no separate ignore action).

Not instant: each request is queued and answered in the background, spaced out and under a daily limit, to protect the LinkedIn account. After the last one, tell the user once that they'll get an email when it's done. It cannot be undone.

Do NOT use to send or withdraw your own connection requests, or to reply to messages.

Responses:

200: Successful Response (Success Response) Content-Type: application/json

Input Schema

NameRequiredDescriptionDefault
actionYes
handleYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that actions are queued and processed in the background, spaced out under a daily limit, that the user gets one email on completion, and that the operation cannot be undone. It also flags a semantic trap ('ignore' means decline, there is no separate ignore action).

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 core instruction is front-loaded in the first two sentences and every block carries real information (prerequisites, group procedure, queuing/irreversibility, exclusions). It is somewhat long and repeats the 'call list_connection_requests first' guidance in two separate paragraphs, which costs a point.

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 two-param, no-annotation, no-output-schema mutation tool, the definition covers everything an agent needs: prerequisites, decision authority, per-person iteration for groups, the ambiguous-case fallback, async completion feedback, irreversibility, and the sibling operations it is not. Only the 200-only response shape is left implicit.

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 0%, so the description must compensate, and it does for the key ambiguity: it tells the agent the `handle` comes from list_connection_requests, and that `action` is accept or decline, mapping user synonyms (approve/add/connect, reject/ignore/dismiss) onto the two enum values. It stops short of describing handle format or validation.

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 (respond: accept or decline) and a specific resource (one received connection request), and immediately scopes it to ONE request, which distinguishes it from list_connection_requests and from withdraw_connection_request named at the end. The agent can tell exactly what operation this performs without reading the 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?

Gives explicit preconditions (must call list_connection_requests first, must have a user decision naming who), explicit exclusions (never act on own initiative, not for sending/withdrawing own requests or replying to messages), and a procedure for the ambiguous group case (skip unclear ones, finish the rest, then ask). Alternatives are named outright.

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