Skip to main content
Glama
SocialDesk MCP Server

SocialDesk MCP Server

Official

Send a direct message

send_a_direct_message
Destructive

Reply to an existing direct-message conversation as the connected account using conversation, account, and recipient IDs. Confirm text before sending; delivery is immediate and cannot be unsent.

Instructions

Reply in an existing direct-message conversation as the connected account. Pass conversationId, accountId and recipientId (the conversation's participant id). Platforms only accept replies within their messaging window (on Instagram and Facebook, 24 hours after the person's last message), and Instagram group threads can't be replied to. The message is delivered immediately and can't be unsent: confirm the exact text with the user first.

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": {
      "conversationId": "<conversationId>",
      "message": "<message>",
      "recipientId": "<recipientId>",
      "accountId": "<accountId>"
    },
    "name": "send_a_direct_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
accountIdYes
recipientIdYes
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/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 adds real substance on top: delivery is immediate, the message cannot be unsent, and platform messaging-window/group-thread restrictions apply. This tells the agent exactly what irreversible side effect it is triggering and under which conditions the call will be rejected.

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?

Three tight sentences: purpose first, parameter explanation second, constraints and the irreversibility warning last. No filler, and the destructive warning is placed where it will be read before committing to the call.

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 4-required-parameter mutation with no output schema and no schema descriptions, the definition covers identity, target, platform gating, and irreversibility. The main gap is the return value (does it yield a message id or just success?) and any rate-limit behavior, which an agent may want before calling.

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 description coverage, the description carries the full burden and largely does: it clarifies recipientId as 'the conversation's participant id' (non-obvious and distinct from accountId), and frames conversationId as an existing conversation and accountId as the connected account. It adds nothing about the message body beyond the schema's own maxLength=2000 constraint.

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 description opens with a specific verb and resource: 'Reply in an existing direct-message conversation as the connected account.' The phrase 'existing direct-message conversation' plus 'reply' cleanly separates it from siblings like comment_on_a_post_or_reply_to_a_comment and get_messages_in_a_conversation, and the 'as the connected account' qualifier pins the acting identity.

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?

It gives concrete when-not conditions: replies only inside the platform messaging window (24h on Instagram/Facebook) and no replies to Instagram group threads. It also prescribes a pre-call behavior (confirm exact text with the user). It stops short of naming an alternative for discovering a valid conversationId, which is why it is not a 5.

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