Skip to main content
Glama

Reach MCP — LinkedIn for AI agents

send_message

Send a LinkedIn DM via Voyager createMessage: use conversation_linkedin_id for an existing thread or recipient_linkedin_id for a new DM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoPlain text to send or post.
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
idempotency_keyNoOptional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours.
in_mail_premiumNoSend as InMail to someone outside the network (premium accounts); requires recipient_linkedin_id.
recipient_linkedin_idNoRecipient profile id (fsd_profile id) to start a new conversation; from list_conversations or scrape_profile. Omit when replying in an existing conversation.
conversation_linkedin_idNoConversation (thread) id, as returned by list_conversations.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successNo
status_codeNoHTTP status from LinkedIn (e.g. 201 on success).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations indicate no read-only, no idempotency, not destructive; description adds key behavioral details: uses an internal API (createMessage), and the idempotency_key parameter (though in schema) is described to clarify retry semantics. Does not mention rate limits or error behavior, but the description covers the mutation nature implicitly.

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?

The description is a single, information-dense sentence that front-loads the core purpose and routing rules. It wastes no words and is immediately actionable.

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?

With a comprehensive schema and a clear description, the tool is well-covered. A minor gap is lack of explicit mention of limitations (e.g., character limits) or when salesnav_send_message is preferred, but given the rich schema and annotations, this is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are well-documented. The description adds critical guidance on how to choose between recipient_linkedin_id and conversation_linkedin_id, and clarifies that in_mail_premium requires recipient id. This goes beyond the schema descriptions and is essential for correct usage.

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?

Description clearly states the verb (send), resource (LinkedIn DM), and mechanism (Voyager createMessage), distinguishing between new DMs and replies. It does not explicitly differentiate from the sibling salesnav_send_message, but the internal routing (conversation vs recipient IDs) is clear.

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 explains the two modes of usage (existing thread vs new DM) and which parameter to use for each. It does not explicitly mention when not to use this tool (e.g., for sales navigator messaging), but the context provided is sufficient for most cases.

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