Skip to main content
Glama

share_linkedin_account

Destructive

Share a LinkedIn account the user owns with a teammate: providerId, sharedWithUserId (from the team-members list), permissions[] of "USE_IN_CAMPAIGN" and/or "USE_AND_READ_INBOX". If the teammate already has access, their permissions are replaced by this list, so any permission left out is revoked: dropping USE_IN_CAMPAIGN makes their campaign LinkedIn steps on this account fail, including queued steps and non-InMail follow-ups to leads already contacted from it, and a campaign of theirs left with no other usable LinkedIn account is paused. Either permission lets the teammate send LinkedIn messages and invitations from the account and change its sending settings (active status, title, signature and usage limits), replacing the values for everyone who uses it, the owner included. USE_IN_CAMPAIGN also lets their active campaigns that do not restrict LinkedIn senders start sending invitations, messages, InMails, profile visits and reactions from it to their leads, using the account's daily and weekly limits; USE_AND_READ_INBOX lets them read its LinkedIn inbox, invitations and connections.

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": {
      "providerId": "<providerId>",
      "sharedWithUserId": "<sharedWithUserId>",
      "permissions": "<permissions>"
    },
    "name": "share_linkedin_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerIdYes
permissionsYes
sharedWithUserIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations flag destructiveHint=true and openWorldHint=true, and the description goes well beyond that by explaining destructive mechanics: permissions are REPLACED, so any omitted permission is revoked, dropping USE_IN_CAMPAIGN breaks queued and non-InMail campaign steps, and a campaign left without another usable account is paused. It also discloses a non-obvious side effect — that either permission lets the teammate edit sending settings for everyone including the owner. This is exactly the behavioral context annotations cannot convey.

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-loading is strong — the action and actor appear in the first clause, before any consequences. No sentence is filler, but the description is one dense paragraph with a long chained consequence sentence; splitting the revocation cascade from the permission-capability explanation would make it scannable without losing content.

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 destructive, open-world mutation with no output schema, the definition covers the effects, the preconditions, and the per-permission capabilities thoroughly. Remaining minor gaps are how to obtain providerId and whether the call returns or updates an existing share record, neither of which would block a correct invocation.

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 coverage, the description carries the full burden and mostly succeeds: sharedWithUserId is sourced ('from the team-members list') and both enum values are given operational meaning (USE_IN_CAMPAIGN drives outbound campaigns; USE_AND_READ_INBOX adds inbox/invitation/connection reading). The gap is providerId, which is never explained beyond 'a LinkedIn account the user owns' — no ID format and no pointer to get_linkedin_account or list_linkedin_accounts as the source, unlike the explicit sourcing given for sharedWithUserId.

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 definition names a specific verb and resource — 'Share a LinkedIn account the user owns with a teammate' — which distinguishes it from unshare_linkedin_account and the bulk variants by making clear it acts on one account for one teammate. It immediately enumerates the three inputs (providerId, sharedWithUserId, permissions[]), so an agent can tell within the first clause what operation is being performed and on what.

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 phrase 'a LinkedIn account the user owns' establishes the precondition of ownership, and the replacement clause tells the agent exactly what happens if sharing is invoked for a teammate who already has access. What's absent is explicit routing guidance — nothing says to use bulk_share_linkedin_accounts for multiple teammates or unshare_linkedin_account to remove access. Clear context, but no named alternatives or exclusions.

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.