Skip to main content
Glama

respond_to_linkedin_invitation

Destructive

Accept or decline a received LinkedIn connection invitation on the LinkedIn account that received it, which can be one a teammate shared with the user. It takes effect on LinkedIn right away: accepting connects that account with the inviter, and a decline cannot be undone. After an accept, a background sync adds the new connection to FuseAI's All LinkedIn Connections list, creating a contact or updating a matching saved contact's name and LinkedIn URL, where the user's 'Added to list' automations or an active campaign that targets that list can pick them up. Requires the accountId, id (pass it as invitationId), sharedSecret and provider of a received invitation from list_linkedin_invitations.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "invitationId": "<invitationId>",
      "accountId": "<accountId>",
      "sharedSecret": "<sharedSecret>",
      "provider": "<provider>",
      "action": "<action>"
    },
    "name": "respond_to_linkedin_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
providerYes
accountIdYes
invitationIdYes
sharedSecretYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the effect is immediate on LinkedIn, that a decline is irreversible, and that an accept triggers a background sync that creates or updates a contact and can feed list automations or campaigns. This is exactly the side-effect detail an agent needs for a destructive, open-world mutation.

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 core action and its immediacy, then layers consequences and prerequisites. It is a dense single paragraph with some run-on clauses, but nearly every sentence adds actionable information.

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 destructive, open-world mutation with no output schema, the description covers prerequisites, immediate effects, irreversibility, and downstream sync behavior. Nothing essential for correct invocation is missing.

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?

With 0% schema description coverage, the description carries the burden and mostly succeeds: it names accountId, sharedSecret, provider, and clarifies that the invitation 'id' must be passed as invitationId, and that action is accept/decline. It does not explain what sharedSecret is or the meaning of the provider enum values, leaving a small gap.

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 pair (accept/decline) and resource (a received LinkedIn connection invitation), plus the scope detail that the account may be one a teammate shared. This clearly separates it from list_linkedin_invitations (read) and send_linkedin_invitation (outbound).

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?

Explicitly directs the agent to obtain the required identifiers from list_linkedin_invitations, which is the key prerequisite. It does not spell out when to prefer accept vs decline or any exclusions, but the operational context is clear.

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.