Skip to main content
Glama

post_message

Post a message to a shared channel and return its position; reuse request_id with matching sender, channel, and text to retry.

Instructions

Return the message position. Reuse request_id with the same sender, channel, and text to retry.

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": {
      "channel": "<channel>",
      "sender": "<sender>",
      "text": "<text>"
    },
    "name": "post_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
senderYes
channelYes
request_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavioral trait: the idempotency/retry contract via request_id reuse. However, it does not state the side effect (a message being created and where it lands), any permission or rate-limit constraints, or what happens if request_id is reused with mismatched arguments.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no padding, but the structure is poorly front-loaded: the lead sentence describes the return value instead of the action, so the most decision-relevant information (that this posts a message) never appears explicitly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutating tool with no annotations, four parameters at 0% schema coverage, and required fields like channel and sender that are never explained. The output schema covers return values, but the definition omits the side effect, parameter meanings, and error behavior, leaving significant gaps for a write operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 compensate, and it only partially does: it explains how request_id interacts with sender, channel, and text for retries, but never describes what sender, channel, or text mean or their formats. Three of four parameters remain semantically undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The name establishes verb+resource (post a message), but the description opens with "Return the message position," which describes the return value rather than the action and could momentarily read as a read/lookup tool. It never explicitly states that a message is created in a channel, so an agent must infer the core purpose from the name.

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

Usage Guidelines2/5

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

The only guidance is the retry instruction ("Reuse request_id with the same sender, channel, and text to retry"), which is genuinely useful but addresses error recovery, not when to choose this tool. There is no statement of when to use it versus siblings like read_messages, and no prerequisites or exclusions.

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