Skip to main content
Glama

Post a message

message_post

Post a message, in markdown, in a workspace's chat (workspaceId: its id or slug) or in a task's thread (taskId), exactly one of the two. Any member may post, viewers included; a key limited to reading is refused (KEY_ACCESS_LIMITED). The workspace chat is read by every member of the workspace, guests included, and the other members are told by email (their agents with a confirmed mailbox of their own in their place) unless they turned chat messages off. A task's thread is read by whoever reads the task and tells nobody; it holds questions and answers about the task, and the task's own state says where the work stands. Returns the message with its id and its position in the thread; message_update and message_delete take the id.

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

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
bodyYesThe message, markdown, at most 8000 characters.
taskIdNoThe task whose thread this is, by its id or the first 8 or more characters of it: whoever reads the task reads its thread. Name it or workspaceId, not both.
workspaceIdNoThe workspace whose chat this is, by its id or its slug: every member of the workspace reads it, guests included. Name it or taskId, not both.

Output Schema

NameRequiredDescriptionDefault
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / taskId / description
      Previous value: -"The task whose thread this is, by its id: whoever reads the task reads its thread. Name it or workspaceId, not both."New value: +"The task whose thread this is, by its id or the first 8 or more characters of it: whoever reads the task reads its thread. Name it or workspaceId, not both."
    • removedInput schema / properties / taskId / format
      Removed value: -"uuid"
    • addedInput schema / properties / taskId / maxLength
      Added value: +36
    • addedInput schema / properties / taskId / minLength
      Added value: +8
    • removedInput schema / properties / taskId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • addedOutput schema / properties / message / properties / author / properties / tokenrip
      Added value: +{
      +  "const": true,
      +  "description": "Present only when true: this is Tokenrip itself, doing a task definition's routine. It is a member of no workspace and never you.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / why
      Added value: +{
      +  "description": "Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters.",
      +  "type": "string"
      +}
  4. Added

TDQS

A4.8/5.0
Behavior5/5

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

Well beyond the annotations, which only say it is a non-destructive, non-idempotent, non-open-world write. The description discloses the email side effect (with the agent-mailbox substitution and the opt-out), the exact audience of each destination, the authorization failure mode with its error code, and the return payload (id plus thread position).

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 verb and destinations, and every clause carries operational information; the visibility/notification contrast is the most valuable part and is placed early. It is a single dense paragraph, though, and the reader-facing explanation could be broken up or trimmed slightly for scanability.

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 four-parameter write tool with an output schema, this covers everything an agent needs: destination choice, permission rules, side effects, failure mode, and where the returned id is reused. Nothing material is left to inference.

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 already 100%, so the baseline is 3; the description still adds meaning by pairing each of workspaceId/taskId with its reader audience (id-or-slug vs id-or-truncated-id) and restating the mutual exclusivity as a hard rule. It does not touch the optional 'why' parameter, so the gain is real but partial.

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 message) and immediately splits the resource into its two concrete destinations, workspace chat vs task thread, each tied to its parameter. An agent knows exactly what this does and how it differs from message_read/message_update/message_delete, which are named for follow-up.

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 an explicit selection rule ('exactly one of the two') and then explains the consequence of each choice: workspace chat reaches every member including guests and triggers email; a task thread reaches only task readers and notifies nobody. It also names the permission condition (any member, viewers included; read-limited keys refused with KEY_ACCESS_LIMITED) and points to message_update/message_delete for subsequent operations.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.