Skip to main content
Glama

LinkedIn: Accept invitation

linkedin_accept_invitation
Destructive

Accept a received LinkedIn connection request. Requires request_id from linkedin_list_invitations(type='received').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoOptional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here.
request_idYesExact pending invitation request ID returned by linkedin_list_invitations. Never pass the other person's user ID. Relation request ID: ID of a pending sent/received invitation request. Obtain with: linkedin_list_invitations(type=received|sent) -> request.id Never pass: LinkedIn user ID, profile URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=false and destructiveHint=true, so the mutation/destructive nature is covered. The description adds the useful constraint that only pending received requests should be accepted, but does not disclose further behavioral details such as irreversibility or effects on the connection state. This is adequate but not rich.

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?

One short sentence states the action first and the prerequisite second, with no filler. Every word earns its place, making it easy for an agent to parse quickly.

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 simple two-parameter tool with rich schema descriptions and annotations covering destructive behavior, the description provides enough context to call the tool correctly. No output schema exists, but the operation is straightforward and return format is not critical for correct 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%, and both parameters already have detailed schema descriptions, especially request_id with explicit instructions on what to pass and what never to pass. The description repeats the source instruction for request_id without adding significant new meaning beyond the schema.

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 ('Accept') and a specific resource ('received LinkedIn connection request'). It also names the exact source of the required ID, linkedin_list_invitations(type='received'), which clearly distinguishes this from sibling tools like linkedin_cancel_or_refuse_invitation or linkedin_send_invitation.

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 explicitly instructs the agent to obtain the request_id from linkedin_list_invitations(type='received'), giving a clear precondition and data source. It does not explicitly name alternatives or say when not to use this tool, but the context makes the intended use unambiguous.

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.