Skip to main content
Glama

Reach MCP — LinkedIn for AI agents

salesnav_send_inmail

Start a new Sales Navigator InMail, with a subject, to someone the account is not connected to (salesApiMessageActions). LinkedIn takes one InMail credit from the Sales Navigator seat; an Open Profile member is free. Requires a Sales Navigator subscription. Returns the new thread_id: follow up there with salesnav_send_message once the person has answered (LinkedIn refuses a second message before). On a refusal, error carries LinkedIn's reason. Use to reach someone outside the network from Sales Navigator; spends one of the seat's InMail credits (free for an Open Profile: is_open_profile in search results), so show the user the subject and text first. Not for 1st-degree connections (send_message) or an existing thread (salesnav_send_message). Replies land in salesnav_list_messaging_threads, not in list_conversations, and do not fire message.received. Counts against the daily messages quota.

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": {
      "account_id": "<account_id>",
      "recipient": "<recipient>",
      "subject": "<subject>",
      "text": "<text>"
    },
    "name": "salesnav_send_inmail"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesInMail body, plain text (1,900 characters at most).
subjectYesInMail subject line (200 characters at most).
recipientYesWho to write to. Best: the salesnavigator_url from scrape_search on a Sales Navigator search or from scrape_profile (no extra lookup). Also accepted: a Sales Navigator lead URL, a profile id (ACoA…/ACwA…), a public profile URL or vanity name (one or two lookups).
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
copy_to_crmNoCopy the InMail to the CRM synced with Sales Navigator.
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.

Output Schema

NameRequiredDescriptionDefault
errorNoLinkedIn's reason when it refused the message (absent on success, or when LinkedIn gave none).
successNo
thread_idNo
message_idNo
status_codeNoHTTP status from LinkedIn.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the generic profile (not read-only, open-world, non-idempotent, non-destructive); the description adds the economically critical behavior: one InMail credit is consumed, free for Open Profile members, and it counts against the daily messages quota. It further discloses the follow-up constraint (LinkedIn refuses a second message until the person answers), the return value (thread_id), that errors carry LinkedIn's refusal reason, and that replies land in salesnav_list_messaging_threads rather than list_conversations and do not fire message.received.

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-loaded with the action and the cost consequence, and nearly every clause carries operational value. The credit cost is stated twice ('takes one InMail credit' and 'spends one of the seat's InMail credits'), and the dense parenthetical chaining slightly hurts scanability, but there is no filler.

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 side-effecting, credit-spending send tool the description covers cost, prerequisites, the two-step messaging flow, error behavior, and where replies surface. With an output schema present it needn't explain return payloads, and the annotations already carry the safety profile, so nothing an agent needs before calling is missing.

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%, so the schema already documents recipient formats, subject/text limits, copy_to_crm, and idempotency_key semantics. The description only reinforces subject/text ('show the user the subject and text first') and says nothing beyond the schema about recipient resolution or the optional CRM-copy and idempotency parameters, so the baseline of 3 applies.

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 and resource ('Start a new Sales Navigator InMail, with a subject') and immediately bounds the audience ('to someone the account is not connected to'). It explicitly separates itself from send_message (1st-degree) and salesnav_send_message (existing thread), so an agent can choose without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives when-to-use ('reach someone outside the network from Sales Navigator'), when-not ('Not for 1st-degree connections... or an existing thread'), the alternative tool for each exclusion, and a prerequisite ('Requires a Sales Navigator subscription'). It also mandates showing the user the subject and text before sending, which is actionable routing guidance.

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