Skip to main content
Glama

Post to a staff chat group

post_to_chat_group

Posts one message to a staff chat group: subject opens the post, each point is a bullet in its thread. A link is written words and shows as the words. First call without confirm: a preview of the exact text and the group, nothing is sent. Show the preview to the owner word for word; only on the owner's yes to that text call again with the same values, confirm true and preview_id. Owner only. Needs the owner's sign-in.

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": "<group>",
      "subject": "<subject>"
    },
    "name": "post_to_chat_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYesThe group's name exactly as chat_groups lists it, e.g. Remote - HQ
pointsNoThe bullets, one point each, up to 300 characters each, posted as one reply in the post's thread; links as [words](https://address)
confirmNotrue to send the post shown in the preview
subjectYesThe post's one line: what it is about, up to 200 characters; may carry one [words](https://address) link
preview_idNopreview_id from the preview
mention_allNotrue tags everyone in the group (@all) on the post; only when the owner asked for it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only mark it non-read-only, non-destructive and open-world; the description adds substantial context beyond that – the dry-run preview behavior, the guarantee that nothing is sent on the first call, the requirement to show the preview verbatim to the owner, and the sign-in/ownership prerequisite. This is exactly the behavioral disclosure a write-to-external-system tool needs.

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?

The content is front-loaded and every sentence carries information – content mapping, link syntax, preview protocol, permissions. The telegraphic style makes a couple of sentences dense on first read, but nothing is filler.

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 six-parameter external write with no output schema, the definition covers the send protocol, permissions and content shaping well. The only gap is what the preview call returns (the description references a preview_id without saying the preview yields one), a minor omission against an otherwise complete definition.

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, but the description adds real meaning on top: it explains the confirm/preview_id pairing as a protocol rather than two independent flags, and constrains mention_all to an owner request. It doesn't restate the character limits, which the schema already handles.

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 ('Posts one message to a staff chat group') and immediately specifies how content maps: subject opens the post, points become bullets in the thread. That composition detail separates it from listing tools like chat_groups without needing to name a sibling.

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?

It lays out the exact two-step usage: a first call without confirm produces a preview and sends nothing, and the second call requires the same values plus confirm true and preview_id. It also gates mention_all ('only when the owner asked for it') and states the owner-only condition, so an agent knows both when and how to invoke it.

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.

Resources