Skip to main content
Glama

send

Posts a message to a shared bus for direct session, topic channel, or default project-channel delivery; supports urgency flags and reply_to answers for role questions.

Instructions

Send a message to the bus.

Provide EITHER to (a session id or @handle for a direct message) OR topic (a channel name). If you give neither, it posts to your project's channel (#proj:) so agents on the same repo see it. Set urgent=True to flag it. Messages are delivered as unread; recipients must call read.

To answer a question that was asked of your role, pass reply_to with the question's guid (the question field of the inbox item). The answer is a direct message to the asker, so to is optional. Only a session that holds the question's role may answer it; the first answer removes the question from the other holders' inboxes.

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": "send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
bodyYes
topicNo
urgentNo
reply_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden, and it does disclose key consequences: messages arrive as unread and require a `read` call, and answering via `reply_to` removes the question from other role holders' inboxes. It leaves out permission requirements for posting to topics, whether joining a topic is a prerequisite, and rate/error behavior.

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 core action, then split into routing and reply paragraphs that each add distinct information. Slightly prose-heavy for what it conveys, but no sentence 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 five-parameter, annotation-free mutation tool this covers routing, delivery state, and the role-gated reply flow. The main gap is the return value — with no output schema, the description never says what a successful send yields (e.g. a message guid).

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 0% for five parameters, so the description is doing the work: it defines `to` (session id or @handle), `topic` (channel name), `urgent` (flag it), and `reply_to` (the question's guid). `body` is never described, and default behaviors for `to`/`topic` are only covered via the fallback sentence.

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

Purpose4/5

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

The first line states a specific verb and resource ('Send a message to the bus') and the rest elaborates the three routing modes. It does not name sibling tools such as `send_to_role` or `read` as contrasting alternatives, so differentiation from siblings is implied by routing semantics rather than stated.

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?

Offers explicit conditional guidance on the mutually exclusive routing parameters: 'Provide EITHER `to` ... OR `topic`', with the fallback to #proj:<name> when neither is given. It also prescribes `reply_to` for answering questions addressed to your role. It stops short of stating when to prefer a different tool over this one.

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