Skip to main content
Glama
postproxy

PostProxy MCP Server

Official
by postproxy

dm_message_send

Send a direct message using text or a single media attachment. Supports human agent tagging for messaging outside the 24-hour window on Facebook/Instagram.

Instructions

Send an outbound direct message. Provide EITHER body (text) OR media (a single attachment), not both. The message is queued and delivered asynchronously (returns status: pending). Outside Meta's 24h messaging window, pass tag: HUMAN_AGENT (Facebook/Instagram only). reply_to_external_id and reply_markup are Telegram-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoMessage tag for sending outside the 24h window. Facebook/Instagram only — ignored on Telegram and Bluesky.
bodyNoMessage text. Required when media is empty (provide body OR media, not both).
mediaNoUp to one media attachment as a URL or local file path (absolute /path/to/file.jpg, relative ./image.png, or ~/Pictures/photo.jpg). Max 1 attachment. Not supported on Bluesky.
chat_idYesChat hashid OR external_conversation_id
reply_markupNoTelegram only. reply_markup payload — inline keyboard, custom reply keyboard, force-reply, or remove-keyboard.
reply_to_external_idNoTelegram only. Platform message_id of the message to thread under.
Behavior5/5

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

Adds key behavior beyond annotations: 'The message is queued and delivered asynchronously (returns status: pending).' Also clarifies platform-specific behaviors (tag for Facebook/Instagram, reply fields for Telegram). No contradiction with annotations.

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 sentences, front-loaded with the main action, each sentence serves a purpose: stating the action, giving key constraint, explaining async and platform details. No wasted words.

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?

Covers all major aspects: parameter constraints, async behavior, platform differences, and required tag. Without an output schema, it mentions the pending status. Could be enhanced with error handling details, but is adequate for a messaging tool.

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 100%, so baseline is 3. The description adds value by making the exclusivity of body and media explicit ('not both') and reinforcing platform restrictions, which improves clarity beyond the schema's individual descriptions.

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 starts with 'Send an outbound direct message,' providing a specific verb and resource. It distinguishes this tool from siblings like dm_message_edit by emphasizing outbound sending and async delivery.

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?

Clearly states when to use body vs media, tag requirement for 24h window, and platform-specific parameters. While it doesn't explicitly name sibling tools, the constraints are clear enough for an agent to decide when to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/postproxy/postproxy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server