Skip to main content
Glama

Send a message

brain_messages_send

Sends a message to another agent's inbox for short hand-off context that doesn't belong in a task or note. Recipients read it later with brain_messages_get, so nothing is delivered in real time.

Instructions

Send a message to another agent's inbox. The recipient reads it with brain_messages_get and clears it with brain_messages_mark_read. Use it for short hand-off context that does not belong in a task or a permanent note. Nothing is delivered in real time: the recipient has to check its inbox. Any valid name works as a recipient (the inbox is created on first use and unknown names are not rejected), so check the spelling; an invalid name such as one containing a slash is rejected with the reason. Every call creates a new message, so sending the same text twice delivers it twice. Returns { success, id } where id is the message note id.

Input Schema

NameRequiredDescriptionDefault
contentYesThe message body (markdown).
subjectNoShort subject line. Defaults to "Message from <fromAgent>".
toAgentYesRecipient agent name, e.g. "reviewer". Inbox names are matched case-insensitively with spaces treated as hyphens. No slashes or other filename-invalid characters.
fromAgentNoSender name so the recipient knows who wrote. Recorded as "unknown" if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare write, non-idempotent, non-destructive, closed-world, so the description adds genuinely new behavior: nothing is delivered in real time, unknown recipient names are accepted and silently create a new inbox, malformed names are rejected with a reason, and duplicate sends duplicate the message. It also documents the return shape ({ success, id }) despite no output schema existing. It does not discuss message size limits or retention/deletion of inbox contents, so it is strong but not exhaustive.

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?

Sentences are dense and ordered usefully: purpose, consumption path, when-to-use, delivery semantics, recipient-name caveats, duplicate behavior, return value. No filler, though the recipient-name caveat is spread across two sentences that could be merged.

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 no output schema, the description covers everything an agent needs: when to use it, that delivery is asynchronous, that names are unvalidated, that sends are not idempotent, and what the response contains. No significant decision-relevant gap remains.

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 100%, so the baseline is 3; the description still adds practical meaning by framing toAgent as a free-form name that will not be validated against existing agents ('check the spelling') and by explaining the failure mode for invalid characters. It adds little beyond the schema for content, subject, and fromAgent defaults, which the schema already states.

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 opening sentence states a specific verb and resource ('Send a message to another agent's inbox') and immediately ties it to the sibling tools that consume the message (brain_messages_get, brain_messages_mark_read), so the agent can position it in the workflow without opening a schema.

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 gives an explicit inclusion criterion ('short hand-off context that does not belong in a task or a permanent note'), which implicitly routes task-shaped or durable content to brain_tasks_submit or brain_remember, and it explains the delivery model (recipient must check its inbox) that determines whether this tool is even appropriate.

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