Skip to main content
Glama

send_linkedin_message

Destructive

Send a message in an existing LinkedIn conversation. chatId is the LinkedIn conversation's id; accountId is the id of the connected LinkedIn account that sends the message. The message reaches the contact right away and cannot be unsent: in a chat with the user, send only text they have seen and agreed to send. Sending also stops the pending campaign sequence steps and discards the pending AI reply drafts (with their approval cards and follow-up tasks) of the contact if they are in a campaign of this account's owner or of a teammate the owner shares LinkedIn accounts with for campaigns. Each message counts against the account's daily and weekly LinkedIn message limits.

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": {
      "chatId": "<chatId>",
      "accountId": "<accountId>",
      "messageText": "<messageText>"
    },
    "name": "send_linkedin_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatIdYes
accountIdYes
messageTextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description goes well beyond them: it states the message cannot be unsent, that it stops pending campaign sequence steps, that it discards pending AI reply drafts along with approval cards and follow-up tasks, and that each send counts against daily and weekly message limits. Those are non-obvious side effects an agent could not derive from any structured field.

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?

Purpose is front-loaded, followed by parameter meanings, then risk and side effects — a sensible order with no filler sentences. The campaign-scope clause ('a campaign of this account's owner or of a teammate the owner shares LinkedIn accounts with for campaigns') is dense and hard to parse in one pass.

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, no-output-schema mutation tool, the definition covers irreversibility, cascading effects on campaign state, and rate limits, which is most of what an agent needs before calling. It is silent on failure modes such as an invalid chatId or accountId that is not connected, and on any return value.

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 carries the burden, and it defines chatId as the LinkedIn conversation id and accountId as the connected account that sends, which disambiguates two similarly named ids. messageText is only implied by 'send only text they have seen and agreed to send' and never explicitly described.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ('Send a message in an existing LinkedIn conversation') and the word 'existing' implicitly separates it from chat-creation siblings like start_linkedin_chat. It does not name any alternative explicitly, so an agent must infer the boundary rather than being told it.

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?

Usage context is clear: the conversation must already exist, and the message must be text the user has seen and agreed to send. What is missing is explicit routing to alternatives (invitations, starting a new chat, email) when no conversation exists.

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