Skip to main content
Glama

Send a message

send_message
Read-onlyIdempotent

Prepare a LinkedIn message for an existing thread or connection, then return a preview and confirmation token so the user can approve it before anything is sent.

Instructions

Prepare a LinkedIn message to an existing conversation (thread URL) or a connection (profile URL or username). Counts against the daily message limit. This tool does not send anything to LinkedIn. It returns a preview and a confirmation_token. Show the preview to the user word for word and call confirm_action only after the user explicitly approves it.

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": {
      "profile_or_thread": "<profile_or_thread>",
      "text": "<text>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
profile_or_threadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: it clarifies that despite the name nothing is transmitted to LinkedIn (consistent with readOnlyHint=true and destructiveHint=false), that the call consumes the daily message limit, and that the response contains a preview plus a confirmation_token. It also prescribes the user-facing ritual of showing the preview verbatim, which no structured field conveys.

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?

Four short sentences, front-loaded with the 'prepare, not send' correction, then the limit cost, then the return shape, then the approval protocol. No filler and no repetition of the title.

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 two-parameter tool with no output schema and read-only annotations, everything an agent needs is present: target formats, the limit cost, the return payload, and the required confirmation handoff to confirm_action.

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 description coverage is 0%, so the description must carry the load; it does explain that profile_or_thread accepts a thread URL, a profile URL, or a username, which is genuine meaning beyond the bare string type. It says nothing about the text parameter's length bounds or content expectations, leaving a gap on the second parameter.

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?

Uses a specific verb (prepare) and resource (LinkedIn message) and resolves the ambiguity baked into its own name by stating it targets either an existing conversation (thread URL) or a connection (profile URL or username). It also pre-empts the misleading 'send' name by declaring it does not send anything to LinkedIn.

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?

Explicitly defines the two input modes, names the downstream tool (confirm_action), and states the gating condition: only call it after the user explicitly approves the preview. An agent knows both when to invoke this and what sequence to follow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.