Skip to main content
Glama

Send a message to a pane

send_message

Enqueues a structured message to a pane’s durable inbox for agent orchestration and at-least-once delivery; optionally nudges an idle org pane to read it.

Instructions

Enqueue a structured message to a pane's durable inbox (agent-orchestration E). Delivered at-least-once; the target reads it via read_messages or its messages resource. from should identify the sender (your paneId, or an orchestrator label). An org pane (role goals-orch/spec, or hp.nudge=on) also gets a one-line inbox nudge typed in when idle; pass nudge:false only when you wake the target yourself some other way, so one message does not cost it two turns.

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

Input Schema

NameRequiredDescriptionDefault
toYestarget paneId
bodyYes
fromNosender id; defaults to this bridge's HYPERPANES_PANE_ID or "orchestrator"
nudgeNofalse = store the message but do not type the inbox nudge into the target pane (default: the app nudges org panes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.25
    • addedInput schema / properties / nudge
      Added value: +{
      +  "description": "false = store the message but do not type the inbox nudge into the target pane (default: the app nudges org panes)",
      +  "type": "boolean"
      +}
  2. First observedv0.1.13

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does substantial work: durable inbox, at-least-once delivery (warning against duplicate processing), a nudge line typed into the target only when idle, and org-pane detection via role goals-orch/spec or hp.nudge=on. Gaps remain on failure behavior for an unknown paneId and on what enqueue returns, but the operational semantics are unusually well disclosed.

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?

Three dense sentences, front-loaded with the core action and delivery guarantee, then behavior, then the nudge caveat. Some phrasing is compressed to the point of jargon ("agent-orchestration E"), 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?

There is no output schema and no annotations, so the description must explain behavior and side effects, and it covers them: storage durable, delivery at-least-once, side channel for nudges, and conditions for suppression. Only error/edge-case behavior and the enqueue result are absent, which is acceptable but not exhaustive for a messaging primitive.

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 75%, so the baseline is 3, and the description adds real meaning beyond it: `from` should identify the sender (your paneId or an orchestrator label) and `nudge` is explained in terms of its side effect and when to disable it. `body` remains unelaborated in both schema and prose, which is the only shortfall.

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?

States a specific verb and resource: "Enqueue a structured message to a pane's durable inbox," plus names the counterpart read path (read_messages or the messages resource). It does not distinguish itself from siblings like send_input, send_keys, send_to_parent, or broadcast_subtree, so an agent must infer which send mechanism applies.

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

Usage Guidelines3/5

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

Usage guidance exists but is mostly parameter-level: pass nudge:false only when you wake the target another way, so one message does not cost two turns. It explains the delivery model (at-least-once, durable inbox) but never says when to prefer this tool over the other messaging siblings, leaving the choice implicit.

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