Skip to main content
Glama

post_group_dm_message

Send a text message into a group DM you belong to, with @handle mentions recorded and notified. Use it to post to group conversations; callers who aren't participants are refused.

Instructions

Post a text message as the caller into a group DM they take part in, and return the stored message. @handle mentions in the body are recorded and notified, and a message from a human clears the thread's declared agent status. It is for group DMs only: use post_dm_message for a 1:1 DM, post_message for a channel thread, and open_group_dm or list_group_dms to get the conversation id. A caller who is not a participant is refused. Requires message:post.

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": {
      "group_dm_conversation_id": "<group_dm_conversation_id>",
      "body": "<body>"
    },
    "name": "post_group_dm_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesPlain-text message body, required. A group DM takes text only, with no typed content blocks.
metadataNoOptional JSON object stored with the message and returned with it. Defaults to an empty object.
group_dm_conversation_idYesUUID of the group DM conversation to post into, from open_group_dm or list_group_dms. The caller must be a participant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv479.0.2
    • addedInput schema / properties / body / description
      Added value: +"Plain-text message body, required. A group DM takes text only, with no typed content blocks."
    • addedInput schema / properties / group_dm_conversation_id / description
      Added value: +"UUID of the group DM conversation to post into, from open_group_dm or list_group_dms. The caller must be a participant."
    • addedInput schema / properties / metadata / description
      Added value: +"Optional JSON object stored with the message and returned with it. Defaults to an empty object."
  2. First observedv479.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safe-write profile (readOnly=false, destructive=false, non-idempotent, closed-world). The description adds real behavior beyond that: @handle mentions are recorded and notified, a human-authored message clears the thread's declared agent status, the return value is the stored message, and non-participants are refused.

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 return value, then side effects, then sibling routing, then auth. Every sentence carries information, though the density is high enough that a reader must parse several distinct clauses in one short paragraph.

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 3-parameter mutation with no output schema, the definition covers purpose, side effects, authorization, error condition, and the return value. The only unaddressed area is what metadata is used for at retrieval time, which the task surface largely implies.

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 all three parameters are already documented, including the UUID source and the metadata passthrough. The description reinforces that the body is plain text with no typed content blocks but adds no format, length, or mention-syntax detail beyond the schema.

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 (post) and resource (a text message into a group DM the caller participates in) plus the return (the stored message). It explicitly carves itself out from post_dm_message (1:1) and post_message (channel thread), so an agent can route without opening sibling schemas.

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 explicit when-to-use (group DMs only), names the correct alternatives for the adjacent cases, points to open_group_dm/list_group_dms to obtain the conversation id, and states the prerequisite (caller must be a participant) and required scope (message:post). Nothing about selection is left to inference.

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

Deploy Server

Other Tools